An adaptive multi-source imaging device, system and method for cable wrapping detection
By using an adaptive multi-source imaging device and a deep learning model, the detection challenges caused by changes in lighting and cable specifications in cable wrapping inspection have been solved, achieving high-precision overlap rate and surface defect identification, and improving the accuracy and automation level of inspection.
Patent Information
- Application Number
- CN202611038180.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-11-27
Smart Images

Figure CN123175973A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of cable inspection, specifically to an adaptive multi-source imaging device, system, and method for cable wrapping inspection. Background Technology
[0002] In cable manufacturing, the quality of the wrapping tape directly affects the cable's operational reliability. Overlap ratio is a crucial parameter for evaluating wrapping quality; too small an overlap ratio can easily lead to problems such as flash gaps, discontinuous shielding, or weak local insulation, while too large an overlap ratio results in wasted wrapping tape material and affects cable flexibility. Simultaneously, surface defects such as curling edges, wrinkles, scratches, abrasions, bubbles, oxidation spots, and misaligned tape joints may occur during the wrapping process. Current production sites still largely rely on manual sampling, offline instrument testing, or simple online sensor detection, which is insufficient to meet the real-time monitoring requirements for wrapping quality in high-speed, continuous production.
[0003] Existing inspection equipment uses cameras to acquire images of the cable surface, and then uses image processing algorithms to identify overlap rates or surface defects. In the image acquisition stage, interference from strong ambient light, strobe light, and stray reflected light in the production workshop, coupled with the specular reflection from the surfaces of metal wrapping tapes such as copper and aluminum foil tapes, often results in overexposure, underexposure, brightness fluctuations, and localized glare in the acquired images, obscuring subtle defects and overlap edge features. Furthermore, the significant differences in core diameter between different specifications mean that the camera's field of view cannot completely cover the cable's circumference, leaving some areas uncaptured and prone to blind spots, blurred edges, and measurement errors. In the image processing and inspection control stages, existing solutions typically use manual measurement, template matching, or simple threshold segmentation to identify overlap edges. These methods are sensitive to changes in lighting, tape texture, surface stains, and cable vibration, making it difficult to consistently obtain high-precision overlap rate detection results. Summary of the Invention
[0004] To address the aforementioned problems, this invention proposes an adaptive multi-source imaging device, system, and method for cable wrapping detection. It provides an adaptive multi-source imaging device suitable for complex workshop lighting environments and multi-specification cable production conditions, thereby improving the stability, integrity, and clarity of wrapping image acquisition and providing a reliable image foundation for real-time detection of overlap rate and identification of surface defects.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: One or more embodiments provide an adaptive multi-source imaging device for detecting cable wrapping, including a hinged housing, an image acquisition unit, an illumination unit, and an adaptive adjustment unit; When the hinged housing is closed, it forms an optical cavity for accommodating the cable inspection area. The inner wall of the optical cavity is provided with a matte light-absorbing layer. The image acquisition unit includes multiple industrial cameras, which are arranged circumferentially along the inner wall of the sealed optical cavity to acquire images of the circumferential surface of the cable. The lighting unit includes a ring-shaped composite polarization diffuse reflection light source corresponding to the industrial camera. The ring-shaped composite polarization diffuse reflection light source is used to provide diffuse polarization illumination to the cable surface. The lighting unit includes a ring-shaped composite polarization diffuse reflection light source corresponding to the industrial camera. The light-emitting surface of the ring-shaped composite polarization diffuse reflection light source is provided with a microstructure diffuser plate and a polarization filter layer. The microstructure diffuser plate is used to convert the light emitted by the light source into diffuse light, and the polarization filter layer is used to suppress specular reflection light from the surface of the cable wrapping tape. The adaptive adjustment unit connects to the hinged housing and / or the industrial camera to adjust the imaging position of the industrial camera relative to the cable based on the cable diameter parameters.
[0006] A further technical solution includes an adaptive adjustment unit comprising a vertical lifting adjustment mechanism, a horizontal movement adjustment mechanism, a camera radial distance adjustment mechanism, and a cooperative controller; The vertical lifting adjustment mechanism is connected to the opening and closing housing and is used to drive the opening and closing housing to move in the vertical direction; The horizontal movement adjustment mechanism is connected to the opening and closing housing and is used to drive the opening and closing housing to move horizontally; The camera radial adjustment mechanism is connected to the industrial camera and is used to drive the industrial camera radially closer to or further away from the cable; The collaborative controller is connected to the vertical lifting adjustment mechanism, the horizontal movement adjustment mechanism, and the camera radial distance adjustment mechanism respectively. It is used to control the vertical lifting adjustment mechanism and the horizontal movement adjustment mechanism to adjust the position of the opening and closing housing according to the cable diameter parameters so that the central axis of the sealed optical cavity is aligned with the central axis of the cable, and to control the camera radial distance adjustment mechanism to adjust the object distance between the industrial camera and the cable.
[0007] A further technical solution is that the vertical lifting adjustment mechanism includes a platform, a lifting seat, a servo motor, a lead screw, a lead sleeve, and a guide assembly; The lifting base is fixedly connected to the bottom end of the opening and closing housing, so that the opening and closing housing can rise and fall synchronously with the lifting base; The power output end of the servo motor is connected to a lead screw, which is connected to the lower end of the lifting seat through a screw sleeve. The lead screw and the screw sleeve work together to raise and lower the lifting seat. The guide assembly adopts a structure of a movable guide rod and a guide rod sleeve that corresponds to and cooperates with the movable guide rod, and is used to guide the lifting platform during its up and down movement.
[0008] A further technical solution includes a guide assembly comprising multiple movable light rods and light rod sleeves that correspond to and cooperate with the movable light rods.
[0009] A further technical solution is that the horizontal movement adjustment mechanism includes a support frame, a sliding component, a support, a servo motor, and a horizontal transmission assembly; A sliding component is fixedly installed on the support, and the support frame is slidably installed on the sliding component. The platform for supporting the vertical lifting adjustment mechanism is fixed on the support frame. Servo motor 2 is installed on one side of the support and is connected to the support frame through a horizontal transmission component. Servo motor 2 is used to drive the horizontal transmission component to move, thereby driving the support frame to move horizontally on the support.
[0010] A further technical solution is to provide guide wheel assemblies at both ends of the hinged housing, with the guide wheel assemblies symmetrically arranged on both sides of the inlet and outlet of the hinged housing. The guide wheel assembly includes a guide wheel bracket, an upper guide wheel, a lower guide wheel, a side guide wheel, and a guide wheel drive mechanism. The guide wheel bracket is fixed to the outer end face of the openable housing. The upper guide wheel, the lower guide wheel, and the side guide wheel are fixed inside the guide wheel bracket, so that the rolling direction of each guide wheel is the same as the moving direction of the cable, thereby assisting the cable to pass through the openable housing.
[0011] A further technical solution includes an image acquisition unit comprising multiple camera mounting plates mounted on the inner wall, an industrial camera mounted on the camera mounting plate, an industrial lens corresponding to the industrial camera, a synchronization triggering device, and an autofocus module. The synchronous triggering device is connected to each industrial camera to synchronously trigger the operation of each industrial camera; Each industrial camera is equipped with an autofocus module for adjusting the focal length of the industrial lens; Multiple industrial cameras are arranged circumferentially along the inner wall of the optical cavity, with the lens of each camera facing the central area of the optical cavity to acquire images of the cable's circumferential surface from different directions.
[0012] One or more embodiments provide a cable wrapping detection method based on the above-described adaptive multi-source imaging device for cable wrapping detection, comprising the following steps: Based on the above, an adaptive multi-source imaging device for cable wrapping detection acquires cable detection images and performs preprocessing. For the preprocessed cable detection image, the trained U-Net semantic segmentation model is used to perform pixel-level classification of the overlapping area of the cable tape in the wrapping image to obtain the overlapping area mask image. The overlapping edges of the straps are extracted from the mask image of the overlapping area, and the distance between adjacent strap edges is calculated based on the edge fitting algorithm. The actual overlap rate is obtained by combining the pixel space transformation relationship. The pre-processed cable inspection image is input into the trained YOLOv8 defect detection model to identify defects on the cable wrapping surface. Based on the obtained overlap rate and defect identification results, a cable wrapping quality judgment result is generated.
[0013] A further technical solution involves using a trained U-Net semantic segmentation model to perform pixel-level classification of the bag strap overlap region in a bag wrapping image, thereby obtaining a mask image of the overlap region. This method includes the following steps: The preprocessed cable detection image is input into the trained U-Net semantic segmentation model. The encoder performs multi-scale feature extraction on the cable wrapping image to obtain a feature map containing the wrapping texture, overlap edge and spatial position relationship. The image spatial resolution is restored step by step by the decoder, and shallow edge features and deep semantic features are fused by skip connections. Perform class prediction for each pixel in the image and output the class probability value corresponding to each pixel.
[0014] The classification is determined based on the probability value of the pixel category. When the probability of a pixel corresponding to the overlapping area category is greater than a preset threshold, the pixel is marked as an overlapping area pixel; otherwise, the pixel is marked as a non-overlapping area pixel.
[0015] A binary overlay mask image is generated based on the classification results of all pixels, where the overlay area corresponds to the first pixel value and the non-overlay area corresponds to the second pixel value, thus obtaining an overlay mask image that represents the position and contour of the overlay area of the bag strap. Alternatively, the overlap edge of the strap can be extracted from the mask image of the overlap area, and the distance between adjacent strap edges can be calculated based on the edge fitting algorithm. The actual overlap rate can then be obtained by combining the pixel space transformation relationship. The specific steps include the following: Boundary detection is performed based on the mask image of the overlapping area to extract the overlapping edge of the strap and the set of pixels at the overlapping edge. Subpixel fitting is performed on the set of pixels at the overlapping edge to obtain the edge curve of the wrapping band; Calculate the pixel distance between adjacent packet edges; Based on the obtained pixel distance between adjacent bag edges, the actual overlap width is calculated through pixel space transformation relationship, and then the overlap rate is calculated.
[0016] One or more embodiments provide a cable wrapping inspection system, including a management and decision-making layer, a production site layer, and an inspection control layer; The detection and control layer is equipped with a data processing and calculation unit, which is configured to perform the steps of the cable wrapping detection method described above.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention utilizes a closing shell to form an optical cavity, with a matte light-absorbing layer on the inner wall of the cavity. This isolates strong ambient light, stroboscopic light, and stray light from the production workshop, while absorbing reflected light from within the cavity, reducing image brightness fluctuations and improving the stability of the imaging environment. By arranging multiple industrial cameras circumferentially along the inner wall of the sealed optical cavity, images of the cable's circumferential surface can be acquired from multiple perspectives, reducing blind spots caused by single-viewpoint detection. By setting a ring-shaped composite polarized diffuse reflection light source corresponding to the industrial cameras, and placing a microstructure diffuser plate and polarization filter layer on the light-emitting surface, the light emitted by the light source can be converted into uniform diffuse light, suppressing specular reflection from highly reflective surfaces such as copper strips and aluminum foil strips, thereby reducing the impact of local glare, overexposure, and shadows on imaging of minute defects and overlapping edges. Through an adaptive adjustment unit, the imaging position of the industrial cameras relative to the cable is adjusted according to the cable diameter parameters, adapting to the imaging distance and field of view of different cable specifications, reducing edge blurring, field of view shift, and measurement errors caused by changes in cable diameter.
[0018] The detection method of this invention combines a deep learning semantic segmentation model and a target detection model to achieve automated detection of cable wrapping coverage rate and surface defects. It solves the problem that existing manual measurement and traditional image processing methods are easily affected by lighting, wrapping texture, surface contamination and cable movement, resulting in unstable detection accuracy. This improves the accuracy, stability and automation level of cable wrapping quality detection.
[0019] The advantages of the present invention, as well as its additional advantages, will be described in detail in the following specific embodiments. Attached Figure Description
[0020] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute a limitation thereof.
[0021] Figure 1 This is a front view of the adaptive multi-source imaging device according to Embodiment 1 of the present invention; Figure 2 This is a left view of the adaptive multi-source imaging device of Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of an industrial camera capturing cable images according to Embodiment 1 of the present invention; Figure 4 This is a schematic diagram of the component movement relationships of the adaptive multi-source imaging device according to Embodiment 1 of the present invention; Figure 5 This is a schematic diagram of the detection system of Embodiment 3 of the present invention; The components include: 1. Openable housing; 2. Upper housing; 3. Lower housing; 4. Hinge; 5. Servo motor one; 6. Lead screw; 7. Inner wall; 8. Servo motor two; 11. Optical cavity; 12. Rotary encoder; 13. Bolt 1; 14. Bolt 2; 15. Lifting base; 16. Movable optical rod 1; 17. Bolt 3; 18. Optical rod sleeve 1; 19. Bolt 4; 20. Platform; 21. Support frame; 22. Sliding component; 23. Output shaft; 24. Coupling; 25. Threaded sleeve; 26. Threaded sleeve seat; 27. Bolt five; 28. Support; 29. Device mounting bolt holes; 30. Vertical support frame; 31. Electric telescopic rod; 32. Lead screw two; 33. Movable bolt; 34. Guide wheel bracket; 35. Vertical guide wheel shaft; 36. Bolt six; 37. Connector; 38. Movable smooth rod two; 39. Bolt seven; 40. Polished rod sleeve two; 41. Bolt eight; 42. Movable polished rod three; 43. Bolt nine; 44. Polished rod sleeve three; 45. Bolt ten; 46. Movable polished rod four; 47. Bolt eleven; 48. Polished rod sleeve four; 49. Bolt twelve; 52. Lead screw sleeve mounting plate; 53. Servo motor two mounting plate; 54. Bolt twelve; 55. Lead screw three; 56. Bolt thirteen; 57. Bolt fourteen; 58. Slider; 101. Packaging tape; 102. Cable; 202. Second industrial camera; 203. Third industrial camera; 204. Synchronization triggering device; 205. Industrial lens; 302. Circular LED diffuse reflection light source one; 303. Circular LED diffuse reflection light source two; 304. Circular LED diffuse reflection light source three; 501. Servo motor; 504. Gearbox; 505. Gear one; 506. Gear two; 507. Lower guide wheel; 508. Upper guide wheel; 509. Side guide wheel. Detailed Implementation
[0022] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0023] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0024] It should be noted that the terminology used herein is for describing particular embodiments only and is not intended to limit the exemplary embodiments of the present invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof. It should be noted that, without conflict, the various embodiments and features within those embodiments can be combined with each other. The embodiments will now be described in detail with reference to the accompanying drawings.
[0025] Example 1 In one or more of the technical solutions disclosed in the embodiments, such as Figures 1 to 4 As shown, an adaptive multi-source imaging device for cable wrapping detection includes: a hinged housing, an image acquisition unit, an illumination unit, and an adaptive adjustment unit; When the hinged housing is closed, it forms an optical cavity for accommodating the cable inspection area. The inner wall of the optical cavity is provided with a matte light-absorbing layer. The image acquisition unit includes multiple industrial cameras, which are arranged circumferentially along the inner wall of the sealed optical cavity to acquire images of the circumferential surface of the cable. The lighting unit includes a ring-shaped composite polarization diffuse reflection light source corresponding to the industrial camera. The ring-shaped composite polarization diffuse reflection light source is used to provide diffuse polarization illumination to the cable surface. The lighting unit includes a ring-shaped composite polarization diffuse reflection light source corresponding to the industrial camera. The light-emitting surface of the ring-shaped composite polarization diffuse reflection light source is provided with a microstructure diffuser plate and a polarization filter layer. The microstructure diffuser plate is used to convert the light emitted by the light source into diffuse light, and the polarization filter layer is used to suppress specular reflection light from the surface of the cable wrapping tape. The adaptive adjustment unit connects to the hinged housing and / or the industrial camera to adjust the imaging position of the industrial camera relative to the cable based on the cable diameter parameters.
[0026] This embodiment forms an optical cavity through a closing shell, and a matte light-absorbing layer is set on the inner wall of the optical cavity. This can isolate strong ambient light, strobe light, and external stray light in the production workshop, while absorbing reflected light inside the cavity, reducing image brightness fluctuations and improving the stability of the imaging environment. By arranging multiple industrial cameras circumferentially along the inner wall of the sealed optical cavity, images of the cable circumferential surface can be acquired from multiple perspectives, reducing the detection blind zone caused by a single perspective. By setting a ring-shaped composite polarized diffuse reflection light source corresponding to the industrial camera, and setting a microstructure diffuser plate and polarization filter layer on the light-emitting surface of the light source, the light emitted by the light source can be converted into uniform diffuse light, and the specular reflection light from highly reflective wrapping surfaces such as copper strips and aluminum foil strips can be suppressed, thereby reducing the impact of local glare, overexposure, and shadows on the imaging of minor defects and overlapping edges. By adjusting the imaging position of the industrial camera relative to the cable according to the cable diameter parameters through an adaptive adjustment unit, the imaging distance and field of view of different cable specifications can be adapted to reduce edge blurring, field of view offset, and measurement errors caused by changes in cable diameter. The multi-source imaging device of the present invention can obtain clear, stable and fully covered cable wrapping images under complex workshop lighting and multi-specification cable production conditions, providing a reliable image basis for subsequent overlap rate measurement and surface defect identification.
[0027] In some embodiments, the hinged housing 1 includes an upper housing 2 and a lower housing 3, with one end of the upper housing 2 and the lower housing 3 hinged together and the other end connected by a hinged assembly; when the upper housing 2 and the lower housing 3 are closed, they form an optical cavity 11 for the cable 102 to pass through, and the inner wall 7 of the optical cavity 11 is provided with a black matte light-absorbing layer to absorb stray light and reflected light in the optical cavity 11.
[0028] In this embodiment, the cable 102 passes through the optical cavity 11, wherein the cavity provides a nearly sealed light-shielding space; Optionally, the upper housing 2 and the lower housing 3 are hinged at one end and can be connected by a hinge 4; the hinge 4 is fixed to the hinge end of the upper housing 2 and the lower housing 3 by bolt 13; In some embodiments, such as Figure 1 As shown, the opening and closing assembly adopts a linkage telescopic structure, including a vertical support frame 30 and an electric telescopic rod 31. The vertical support frame 30 is located on the outside of the lower housing 3, with one end connected to the lower housing 3 via a movable bolt 33, and the other end extending upward to the outside of the upper housing 2. One end of the electric telescopic rod 31 is hinged to the vertical support frame 30, and the telescopic end of the electric telescopic rod 31 is connected to the upper housing 2 via a movable bolt 33 and is located near the openable end of the opening and closing housing 1. Furthermore, guide wheel assemblies are provided at both ends of the hinged housing 1. The guide wheel assemblies are symmetrically arranged on both sides of the inlet and outlet of the hinged housing 1, and are used to guide, limit and suppress jitter of the cable 102 before and after it enters the optical cavity 11. The guide wheel assembly includes a guide wheel bracket 34, an upper guide wheel 508, a lower guide wheel 507, a side guide wheel 509, and a guide wheel drive mechanism. The guide wheel bracket 34 is fixed to the outer end face of the openable housing 1. The upper guide wheel 508, the lower guide wheel 507, and the side guide wheel 509 are fixed inside the guide wheel bracket 34, so that the rolling direction of each guide wheel is the same as the moving direction of the cable 102, thereby assisting the cable 102 to pass through the openable housing 1. Optionally, the guide wheel bracket 34 is fixed to the outer side of the end face of the hinged housing 1 via a connector 37. One end of the connector 37 is connected to the hinged housing 1, and the other end is connected to the guide wheel bracket 34, so that the guide wheel bracket 34 remains in a fixed position relative to the hinged housing 1.
[0029] Optionally, the guide wheel bracket 34 has a U-shaped frame structure, and elongated guide grooves extending vertically are provided on both sides of the guide wheel bracket 34. The upper guide wheel 508 and the lower guide wheel 507 are respectively disposed within the guide wheel bracket 34, and are located above and below the cable 102 respectively. The wheel surfaces of the upper guide wheel 508 and the lower guide wheel 507 can be configured as U-shaped grooves or arc-shaped grooves to adapt to the outer circular surface of the cable 102, thereby clamping and guiding the cable 102 without damaging the outer surface of the cable 102.
[0030] In some embodiments, the guide wheel drive mechanism includes a servo motor 501, a gearbox 504, a first gear 505, a second gear 506, a second lead screw 32, a first threaded sleeve, and a second threaded sleeve. The servo motor 501 is connected to the gearbox 504, and the output end of the gearbox 504 is connected to the second gear 506, which meshes with the first gear 505. The first gear 505 is fixedly sleeved on the second lead screw 32 and is used to drive the second lead screw 32 to rotate. The second lead screw 32 is arranged along the vertical direction of the guide wheel bracket 34, and its two ends are respectively provided with threads in opposite directions. The first threaded sleeve and the second threaded sleeve are respectively threaded to the two ends of the second lead screw 32 and are respectively connected to the rotating shafts of the lower guide wheel 507 and the upper guide wheel 508.
[0031] When the servo motor 501 rotates, it drives the second gear 506 to rotate via the gearbox 504. The second gear 506 drives the first gear 505 to rotate, and the first gear 505 further drives the second lead screw 32 to rotate synchronously. Since the threads at both ends of the second lead screw 32 rotate in opposite directions, when the second lead screw 32 rotates, the first and second threaded sleeves move towards or away from each other along the guide groove, thereby causing the lower guide wheel 507 and the upper guide wheel 508 to move synchronously closer to or away from the cable 102. Through the above structure, the distance between the upper guide wheel 508 and the lower guide wheel 507 can be automatically adjusted.
[0032] Specifically, in one configuration of the lateral guide wheel 509, a vertical guide wheel shaft 35 is disposed through the guide wheel 509. The vertical guide wheel shaft 35 is fixed to the inner side of the guide wheel bracket 34 by bolts 6 and 36. In this embodiment, two sets of vertical lateral guide wheels 509 are fixedly installed by the vertical guide wheel shaft 35 and bolts 6 and 36 respectively. The wheel surface of the lateral guide wheel 509 can be configured as an arc-shaped groove, which is adapted to the outer circular surface of the cable 102. The rolling direction of the lateral guide wheel 509 is consistent with the moving direction of the cable 102, which is used to limit the horizontal deviation of the cable 102 and assist the cable 102 to pass smoothly through the opening and closing housing 1.
[0033] In this embodiment, each guide wheel bracket 34 is provided with a set of upper guide wheels 508 and a set of lower guide wheels 507 for clamping the cable 102 from the vertical direction; at least one set of lateral guide wheels 509 is provided for limiting the lateral displacement of the cable 102 from the side. Through the cooperation of the upper guide wheels 508, lower guide wheels 507 and lateral guide wheels 509, the cable 102 can be limited in multiple directions, so that the cable 102 is kept near the central area of the optical cavity 11 during high-speed operation, reducing the possibility of the cable 102 deviating from the imaging area of the image acquisition unit.
[0034] During the test, before the device is started, the co-controller sends a pre-adjustment command to the servo motor 501 or the servo motor controller. The servo motor 501 drives the lead screw 32 to rotate, causing the upper guide wheel 508 and the lower guide wheel 507 to move in opposite directions, adjusting the distance between them to be greater than the outer diameter of the cable 102 to be tested, so that the cable 102 can pass smoothly through the guide wheel assembly and the optical cavity 11. After the cable 102 is inserted, the co-controller sends a clamping command to the servo motor 501 or the servo motor controller. The servo motor 501 rotates in the opposite direction and drives the upper guide wheel 508 and the lower guide wheel 507 to move towards each other through the gearbox 504, gear 506, gear 505, and lead screw 32, so that the upper guide wheel 508 and the lower guide wheel 507 are close to the cable 102 and in contact with the outer surface of the cable 102. The upper guide wheel 508 and lower guide wheel 507 flexibly clamp the cable 102 through their own U-shaped or arc-shaped grooves, while the lateral guide wheel 509 restricts the cable 102 from deflection, thus allowing the cable 102 to enter the optical cavity 11 along a predetermined path. During the operation of the cable 102, the upper guide wheel 508, lower guide wheel 507, and lateral guide wheel 509 roll along with the cable 102 to reduce friction between the cable 102 and the guide wheels. The upper guide wheel 508 and lower guide wheel 507 are used to suppress the vertical jump of the cable 102, while the lateral guide wheel 509 is used to limit the lateral deviation of the cable 102. Through the limiting and guiding effect of the guide wheel assembly, the radial jitter of the cable 102 during high-speed operation can be reduced, allowing the cable 102 to pass stably through the imaging area of the image acquisition unit, thereby reducing image blurring, field of view shift, and measurement errors caused by cable 102 jitter.
[0035] Furthermore, the upper guide wheel 508, lower guide wheel 507, and side guide wheel 509 can be made of polyurethane material. Polyurethane material has a certain degree of elasticity, which can reduce the crushing damage to the surface of the copper strip, semi-conductive strip, non-woven fabric strip, or aluminum foil strip when clamping the cable 102. The surface of the guide wheel can also be frosted to improve the contact stability between the guide wheel and the cable 102 and reduce slippage during high-speed operation.
[0036] In some embodiments, an elastic gasket may be provided between the vertical guide wheel shaft 35 and the guide wheel bracket 34. The elastic gasket is used to absorb the slight vibrations generated during the operation of the cable 102. The transmission components of the guide wheel drive mechanism may be coated with high-temperature resistant grease to adapt to the high temperature, high dust and continuous operation environment of the cable production site.
[0037] Specifically, both the upper housing 2 and the lower housing 3 are arc-shaped cover structures. The upper housing 2 is located above the cable 102, and the lower housing 3 is located below the cable 102. After the upper housing 2 and the lower housing 3 are fastened together, their inner walls 7 together define an optical cavity 11 surrounding the outer periphery of the cable 102. The cable 102 passes through the optical cavity 11 along its axial direction, and the surface of the cable 102 to be tested is located within the imaging area of the image acquisition unit.
[0038] When the electric telescopic rod 31 extends or retracts, it drives the upper housing 2 to rotate relative to the lower housing 3 around the hinge 4, thereby opening or closing the hinged housing 1. When the hinged housing 1 is open, an operating space is formed between the upper housing 2 and the lower housing 3 for the cable 102 to enter or exit, facilitating production line wiring, equipment inspection and maintenance; when the hinged housing 1 is closed, the upper housing 2 and the lower housing 3 interlock, isolating the imaging area from the ambient light of the external workshop.
[0039] When inspecting the cable, the cable 102 of the production line passes through the optical cavity 11 formed by the openable housing 1. During the movement of the cable 102, the image acquisition unit acquires images of the wrapping tape 101 outside the cable. Since the gap between the optical cavity 11 and the cable can be set to be small, and the width of the upper housing 2 and the lower housing 3 can be large, the image acquisition area can be covered. Furthermore, the black matte light-absorbing layer can be a black matte paint layer sprayed on the inner wall 7, or a matte light-absorbing film layer attached to the inner wall 7. By absorbing the secondary reflected light inside the optical cavity 11 through the black matte light-absorbing layer, the interference of light spots formed by the repeated reflection of highly reflective wrapping surfaces such as copper strips and aluminum foil strips inside the cavity can be reduced, thereby improving the brightness stability and edge recognition clarity of the cable 102 surface image.
[0040] In some embodiments, the adaptive adjustment unit includes a vertical lifting adjustment mechanism, a horizontal movement adjustment mechanism, a camera radial distance adjustment mechanism, and a cooperative controller; The vertical lifting adjustment mechanism is connected to the opening and closing housing 1 and is used to drive the opening and closing housing 1 to move in the vertical direction; The horizontal movement adjustment mechanism is connected to the opening and closing housing 1 and is used to drive the opening and closing housing 1 to move in the horizontal direction; The camera radial adjustment mechanism is connected to the industrial camera and is used to drive the industrial camera radially closer to or further away from cable 102. The collaborative controller is connected to the vertical lifting adjustment mechanism, the horizontal movement adjustment mechanism, and the camera radial distance adjustment mechanism respectively. It is used to control the vertical lifting adjustment mechanism and the horizontal movement adjustment mechanism to adjust the position of the opening and closing housing 1 according to the cable diameter parameters so that the central axis of the sealed optical cavity is aligned with the central axis of the cable, and to control the camera radial distance adjustment mechanism to adjust the object distance between the industrial camera and the cable.
[0041] In some embodiments, such as Figure 1 As shown, the vertical lifting adjustment mechanism includes a platform 20, a lifting seat 15, a servo motor 5, a lead screw 6, a lead sleeve 25, and a guide assembly; The lifting seat 15 is fixedly connected to the bottom end of the opening and closing housing 1, so that the opening and closing housing 1 can rise and fall synchronously with the lifting seat 15; The power output end of the servo motor 5 is connected to the lead screw 6. The lead screw 6 is connected to the lower end of the lifting seat 15 through the lead sleeve 25. When the servo motor 5 is working, the lead screw 6 rotates. The lead screw 6 cooperates with the lead sleeve 25 to realize the lifting of the lifting seat 15. The guide assembly adopts a structure of a movable guide rod and a guide rod sleeve that corresponds to and cooperates with the movable guide rod, which is used to guide the lifting seat 15 during its up and down movement. Optionally, the threaded sleeve 25 is connected to the lifting seat 15 via the threaded sleeve seat 26; In one specific embodiment, the lower housing 3 is fixedly mounted on the lifting seat 15 by bolt 2 14, so that the opening and closing housing 1 can rise and fall synchronously with the lifting seat 15. Servo motor 1 5 is mounted on the platform 20, and the output shaft 23 of servo motor 1 5 is connected to lead screw 6 through coupling 24. Lead screw 6 is threadedly engaged with lead sleeve 25, and lead sleeve 25 is mounted on lead sleeve seat 26. Lead sleeve seat 26 is fixed to the lifting seat 15 by bolt 5 27.
[0042] Optionally, the lower housing 3 and the lifting seat 15 can be connected by a threaded connection, and the lower housing 3 is fixedly installed on the lifting seat 15 by bolt 2 14; When servo motor 5 rotates, it drives lead screw 6 to rotate. Lead screw 6, through its threaded engagement with lead sleeve 25, drives lead sleeve seat 26 to move axially along lead screw 6. Lead sleeve seat 26 further drives lifting seat 15 and the opening / closing housing 1 fixed on lifting seat 15 to move vertically. Thus, the vertical lifting adjustment mechanism can adjust the vertical position of optical cavity 11 relative to cable 102, so that the center height of optical cavity 11 matches the center height of cable 102.
[0043] One specific structure includes a guide assembly comprising multiple movable light rods and light rod sleeves that correspond to and cooperate with the movable light rods.
[0044] Specifically, the lifting seat 15 is equipped with movable light rod one 16, movable light rod two 38, movable light rod three 42, and movable light rod four 46; The movable light rod 16 is fixed to the lifting seat 15 by bolt 3 17. The movable light rod 16 passes through the light rod sleeve 18. The light rod sleeve 18 is installed on the platform 20 by bolt 4 19. The movable light rod 2 38 is fixed to the lifting seat 15 by bolt 7 39. The movable light rod 2 38 passes through the light rod sleeve 2 40. The light rod sleeve 2 40 is installed on the platform 20 by bolt 8 41. The movable light rod 3 42 is fixed to the lifting seat 15 by bolt 9 43. A light rod sleeve 3 44 is provided on the movable light rod 3 42. The light rod sleeve 3 44 is installed on the platform 20 by bolt 10 45. The movable light rod 46 is fixed to the lifting seat 15 by bolt 11 47. A light rod sleeve 48 is provided on the movable light rod 46. The light rod sleeve 48 is installed on the platform 20 by bolt 12 49. In some embodiments, such as Figure 1 As shown, the horizontal movement adjustment mechanism includes a support frame 21, a sliding component 22, a support 28, a servo motor 8, and a horizontal transmission assembly. The sliding component 22 is fixedly mounted on the support 28, and the support frame 21 is slidably mounted on the sliding component 22. The platform 20, which supports the vertical lifting adjustment mechanism, is fixed on the support frame 21. The servo motor 8 is mounted on one side of the support 28 and connected to the support frame 21 through the horizontal transmission assembly. The servo motor 8 is used to drive the horizontal transmission assembly to move, thereby causing the support frame 21 to move horizontally on the support 28.
[0045] When the servo motor 8 rotates in the forward or reverse direction, the horizontal transmission assembly drives the support frame 21 to move along the sliding component 22. The support frame 21 further drives the platform 20, the lifting seat 15, and the opening and closing housing 1 to move horizontally as a whole. As a result, the horizontal movement adjustment mechanism can adjust the horizontal position of the optical cavity 11 relative to the cable 102, so that the central axis of the optical cavity 11 is aligned with the central axis of the cable 102 in the horizontal direction.
[0046] Optionally, the bottom of the support 28 is provided with device mounting bolt holes 29, and the support 28 can be fixed to the production line or equipment frame through the device mounting bolt holes 29.
[0047] Specifically, a lead screw sleeve mounting plate can be installed at the bottom of the support frame 21. The horizontal transmission assembly includes a horizontal lead screw 55 connected to the servo motor 28 and a lead screw sleeve that cooperates with the horizontal lead screw 55. When the servo motor 28 drives the horizontal lead screw to rotate, the lead screw sleeve drives the support frame 21 to move linearly along the sliding component 22, thereby realizing the horizontal fine adjustment of the opening and closing housing 1. Through the cooperation of the vertical lifting adjustment mechanism and the horizontal movement adjustment mechanism, when detecting cables 102 of different diameters, the cable 102 can be located as close as possible to the central area of the optical cavity 11, reducing the field of view offset and edge imaging error caused by the cable 102 deviating from the imaging center.
[0048] Specifically, the lower half of the two sets of sliding parts 22 are mounted on the slider 58 by bolt fourteen 57, and the slider 58 is slidably set in the slide rail on the support 28; the upper half of the sliding parts 22 are mounted on the support frame 21 by bolt thirteen 56. A servo motor mounting plate 53 is installed on the support 28 by bolt 12 54, and a servo motor 8 is installed on the servo motor mounting plate 53; a lead screw sleeve mounting plate 52 is installed at the bottom of the support frame 21, which is connected to the lead screw 3 55; the lead screw 3 55 is connected to the servo motor 8, and the forward and reverse rotation of the servo motor 8 drives the support frame 21 to move horizontally along the slide rail, so as to realize the horizontal fine adjustment of the opening and closing shell 1 along the center position of the cable 102.
[0049] In some embodiments, a rotary encoder detachably mounted on the production line is also included. The roller of the rotary encoder 12 rests on the cable 102 to acquire the running length information of the wire core in real time, providing data support for defect location.
[0050] In some embodiments, the camera radial adjustment mechanism includes a miniature servo linear module corresponding to the industrial camera. A miniature servo linear module is disposed behind each camera mounting plate, and the miniature servo linear module is fixed to the inner wall 7 of the hinged housing 1. The output end of the miniature servo linear module is connected to the corresponding camera mounting plate. The industrial camera is mounted on the camera mounting plate; therefore, when the miniature servo linear module operates, it can drive the camera mounting plate and the industrial camera mounted on it to move radially. The miniature servo linear module is a slide module KK8610P-200A1-F0, which can be driven by a servo motor. Specifically, the radial movement direction can be understood as the direction in which the industrial camera moves closer to or further away from the cable, or as the movement of the industrial camera along its lens optical axis. After receiving the cable diameter parameters of cable 102, the co-controller calculates the required radial movement of the industrial camera based on these parameters and sends control commands to the micro servo linear module. The micro servo linear module then drives the industrial camera to move radially according to the control commands, thereby adjusting the object distance between the industrial camera and the outer surface of cable 102.
[0051] During the testing process, the collaborative controller controls the vertical lifting adjustment mechanism, the horizontal movement adjustment mechanism, and the camera radial distance adjustment mechanism according to the input or received cable diameter parameters of the cable 102. The vertical lifting adjustment mechanism is used to adjust the vertical position of the opening and closing housing 1, and the horizontal movement adjustment mechanism is used to adjust the horizontal position of the opening and closing housing 1, so that the central axis of the optical cavity 11 is aligned with the central axis of the cable 102; the camera radial distance adjustment mechanism is used to adjust the object distance between the industrial camera and the outer peripheral surface of the cable 102; the autofocus module connected to each industrial lens of the image acquisition unit is used to perform focus compensation after the object distance is adjusted. Through the coordinated action of the above multiple mechanisms, cables 102 of different diameters can be adapted, so that the cable 102 maintains a suitable imaging position within the optical cavity 11, and the industrial camera obtains a clear, stable, and appropriately proportioned image.
[0052] In some embodiments, the image acquisition unit is disposed within the optical cavity 11 formed by the openable housing 1, and is used to acquire images of the wrapping of the outer periphery of the cable 102 with the wrapping tape 101 on the cable 102 online; the image acquisition unit includes a plurality of camera mounting plates disposed on the inner wall 7, an industrial camera disposed on the camera mounting plate, an industrial lens 205 disposed corresponding to the industrial camera, a synchronous triggering device 204, and an autofocus module. The synchronous triggering device 204 is connected to each industrial camera to synchronously trigger the operation of each industrial camera; Each industrial camera is equipped with an autofocus module for adjusting the focal length of the industrial lens 205; Multiple industrial cameras are arranged at intervals along the inner wall 7 of the optical cavity 11, and each industrial lens 205 is facing the central area of the optical cavity 11 to acquire images of the circumferential surface of the cable 102 from different directions. In one specific configuration, the image acquisition unit includes three industrial cameras: a first industrial camera, a second industrial camera 202, and a third industrial camera 203. Three camera mounting plates are mounted on the inner wall 7 of the hinged housing 1, spaced circumferentially along the optical cavity 11, with an included angle of 120° between adjacent mounting plates. One mounting plate is located in the central area of the inner wall of the upper housing 2, while the other two are located on the inner walls of the lower housing 3 on either side. The first, second, and third industrial cameras are mounted on their respective mounting plates. This circumferential arrangement allows the three industrial cameras to acquire images of the cable 102 surface from different angles, thus covering the outer circumference of the cable 102 and reducing blind spots caused by a single camera's viewpoint.
[0053] Optionally, the camera mounting plate can be fixed to the inner wall 7 of the hinged housing 1 by welding, bolting, or integral molding. Each industrial camera can be mounted on its corresponding camera mounting plate using fasteners. The camera mounting plate can be equipped with elongated adjustment holes through which the industrial cameras are mounted, allowing for fine-tuning of the camera's mounting angle and position during assembly or debugging. After debugging, the position of the industrial camera is secured by locking fasteners, ensuring a stable imaging posture during equipment operation.
[0054] During inspection, the industrial lenses 205 of each industrial camera are all oriented towards the area along the axial direction of the cable 102, and the optical axes of each industrial lens 205 point towards the center area of the optical cavity 11. When the cable 102 passes through the optical cavity 11 along its axial direction, the surface of the cable 102 to be inspected, the wrapping tape 101, is within the imaging range of each industrial lens 205. By arranging the industrial cameras circumferentially, different industrial cameras can acquire images of the wrapping tape from above, the lower left side, and the lower right side of the cable 102, thereby obtaining multi-view image data of the cable 102 in the circumferential direction.
[0055] Specifically, the exposure time of the industrial camera can be set according to the running speed of the cable 102 to reduce motion blur caused by the high-speed movement of the cable 102.
[0056] In some embodiments, the synchronization triggering device 204 is electrically connected to the first industrial camera, the second industrial camera 202, and the third industrial camera 203, respectively, and is used to simultaneously output trigger signals to the three industrial cameras, so that the three industrial cameras can be exposed and acquire images synchronously. The synchronization triggering device 204 can be disposed on the inner wall 7 of the optical cavity 11, or it can be disposed on the outer side of the openable housing 1 and connected to each industrial camera via signal lines.
[0057] Optionally, the synchronous triggering device 204 can be an industrial-grade synchronous trigger, such as the KEYENCEGT2-71N. The synchronous triggering device 20 is fixed to the inner wall of the optical cavity 11 near the inlet by a bracket, and is connected to the three industrial cameras through trigger signal lines to ensure that the three cameras trigger to take pictures synchronously. The synchronous triggering device 204 is electrically connected to the co-controller and can receive trigger commands issued by the co-controller to adjust the triggering frequency.
[0058] During operation, when cable 102 passes through optical cavity 11 under the drive of the production line, synchronous triggering device 204 simultaneously sends trigger signals to the first industrial camera, second industrial camera 202, and third industrial camera 203. The three industrial cameras simultaneously acquire images of the outer wrapping tape 101 of cable 102. By synchronously triggering acquisition, it is possible to avoid defect position misalignment, overlap edge misalignment, or image stitching errors caused by inconsistent shooting times of different industrial cameras, thereby improving the consistency between multi-view images.
[0059] In some embodiments, the image acquisition unit further includes a signal transmission module and an image processing and computing unit. Each industrial camera is connected to the image processing and computing unit via the signal transmission module to transmit the acquired cable wrapping images to the image processing and computing unit in real time.
[0060] The signal transmission module can use industrial Ethernet cables, shielded signal cables, or other industrial communication lines. When the signal transmission line passes through the openable housing 1, it can be connected to the housing through a sealed joint to reduce the entry of external dust, moisture, or stray light into the optical cavity 11.
[0061] In some embodiments, a transparent protective cover is provided on the outer side of the industrial lens 205. The transparent protective cover is located on the side of the industrial lens 205 facing the cable 102, and is used to block dust, debris, or moisture from contaminating the industrial lens 205, while also preventing obstruction of the imaging optical path of the industrial lens 205. The transparent protective cover can be made of quartz glass, optical glass, or a transparent abrasion-resistant material to ensure light transmittance and meet the requirements of industrial field use.
[0062] In some embodiments, each industrial camera is equipped with an autofocus module. The autofocus module can employ a stepper motor-driven focusing structure for the industrial lens, or other actuators capable of adjusting the focal length of the industrial lens 205. A co-controller is connected to the autofocus module. After the camera's radial distance adjustment mechanism adjusts the object distance of the industrial camera, the co-controller controls the autofocus module to adjust the focal length of the industrial lens 205, ensuring that cables 102 of different diameters can all obtain clear images of their wrapping.
[0063] When the diameter of the cable 102 changes or the object distance of the industrial camera relative to the cable 102 changes, the autofocus module adjusts the focal length of the industrial lens 205 to keep the image of the cable 102 wrapped with tape 101 clear.
[0064] It is feasible to integrate the autofocus module with the industrial lens 205. The autofocus module is connected to the camera body through the mounting threads on the lens. The autofocus module has a built-in micro stepper motor and is connected to the co-controller through a control line. It can receive focusing commands from the co-controller and execute the focusing process. Optionally, the imaging parameters of the first industrial camera, the second industrial camera 202, and the third industrial camera 203 are kept consistent. Imaging parameters may include resolution, exposure time, gain, frame rate, and lens focal length. By using consistent or substantially consistent imaging parameters for the three industrial cameras, brightness and scale differences between images from different viewpoints can be reduced, facilitating subsequent edge extraction, defect identification, and multi-view result fusion.
[0065] The system allows for the calibration of three industrial cameras during the commissioning phase. Camera calibration yields the intrinsic, extrinsic, and distortion parameters of each camera, which are then stored in the image processing and computing unit or the collaborative controller. After image acquisition, distortion correction can be applied to the acquired images based on the calibration parameters to reduce the impact of lens distortion on overlap width measurement and defect location determination.
[0066] During the inspection process, the cable 102 moves continuously along the axial direction of the optical cavity 11. Under the control of the synchronous triggering device 204, the first industrial camera, the second industrial camera 202, and the third industrial camera 203 synchronously acquire images of the outer circumferential wrapping tape 101 of the cable 102 and send the acquired multi-channel images to the image processing and computing unit. Since multiple industrial cameras are arranged circumferentially along the optical cavity 11 and each industrial lens 205 is facing the outer circumferential surface of the cable 102, multi-source images in the circumferential direction of the cable 102 can be obtained, providing a complete image data basis for subsequent overlap rate measurement and surface defect identification.
[0067] One possible implementation is that each light source of the lighting unit is mounted on a corresponding industrial lens 205, including a ring-shaped LED diffuse reflection light source one 302, a ring-shaped LED diffuse reflection light source two 303, and a ring-shaped LED diffuse reflection light source three 304. The light-emitting surface of the light source adopts a microstructure diffuser plate to convert the LED point light source into uniform diffuse light and eliminate glare from the highly reflective packaging surface; the inner diameter of the light source is larger than the 205 outer diameter of the industrial lens to avoid obstructing the imaging optical path and ensure the integrity of the imaging field of view.
[0068] The method of using the above device is as follows: Step S1: Parameter Input and Initial Device Positioning: Initialize the adaptive multi-source imaging device according to the specifications of the cable core to be tested. The operator inputs the nominal diameter parameter of the core to be tested through the system software interface, or receives the wire diameter parameter and corresponding process parameters issued by the production management system through the MES system interface; the co-controller calls the preset wire diameter-adjustment mapping relationship according to the received wire diameter parameter to generate the device adjustment parameters.
[0069] The guide wheel assembly is initially adjusted by the co-controller, and the guide wheel is driven by the servo motor to adjust the distance between the upper guide wheel 508 and the lower guide wheel 507 to a position greater than the diameter of the wire core to be tested, so that the cable core can pass into the testing area. After the cable core passes in, the co-controller further controls the guide wheel assembly to adjust to the preset working distance, so that the guide wheel provides limiting support for the wire core and reduces radial vibration during cable operation.
[0070] The position of the opening and closing housing 1, which is equipped with the imaging component, is adjusted by the collaborative controller, the vertical lifting adjustment mechanism and the horizontal moving adjustment mechanism, so that the center of the detection area corresponds to the axis of the cable core. After initial positioning is completed, the co-controller controls the camera radial distance adjustment mechanism and the autofocus module to adjust the industrial camera. The autofocus module drives the industrial camera to move along the optical axis to adjust the object distance between the camera and the cable surface. At the same time, the autofocus module adjusts the lens focal length according to the clarity of the acquired image to keep the cable wrapping surface in a clear imaging state.
[0071] When the cable enters the detection area, the electric telescopic rod is controlled to drive the upper housing to close, so that the upper housing 2 and the lower housing 3 form an optical cavity 11. The light-absorbing structure set inside the housing reduces the interference of external ambient light, and the ring LED diffuse reflection light source is activated to provide uniform illumination to the cable wrapping surface, so as to reduce the image interference caused by the reflection of the wrapping material.
[0072] During online inspection, multiple industrial cameras are controlled by a synchronous triggering device 204 to simultaneously acquire images of the cable wrapping surface. These cameras are distributed along the circumference of the cable, simultaneously acquiring images of the wrapping surface from different directions, and transmitting the acquired cable inspection images to the image processing and computing unit.
[0073] Example 2 Based on Embodiment 1, this embodiment provides a cable wrapping detection method using an adaptive multi-source imaging device for cable wrapping detection, which can be configured to be implemented in an image processing and computing unit, and includes the following steps: Step 1: Based on the adaptive multi-source imaging device for cable wrapping detection according to Embodiment 1, acquire cable detection images and perform preprocessing; Step 2: For the preprocessed cable detection image, the trained U-Net semantic segmentation model is used to perform pixel-level classification of the overlapping area of the cable tape in the wrapping image to obtain the overlapping area mask image. Step 3, Overlap Rate Identification: Extract the overlap edge of the strap based on the mask image of the overlap area, calculate the distance between adjacent strap edges based on the edge fitting algorithm, and obtain the actual overlap rate by combining the pixel space transformation relationship; Step 4, Defect Identification and Classification: Input the preprocessed cable inspection image into the trained YOLOv8 defect detection model to identify defects on the cable wrapping surface; Step 5: Based on the obtained overlap rate and defect identification results, generate the cable wrapping quality judgment result; This embodiment combines a deep learning semantic segmentation model and a target detection model to achieve automated detection of cable wrapping coverage rate and surface defects. It solves the problem that existing manual measurement and traditional image processing methods are easily affected by lighting, wrapping texture, surface contamination and cable movement, resulting in unstable detection accuracy. This improves the accuracy, stability and automation level of cable wrapping quality detection.
[0074] In step 1, after receiving the cable detection image, the image processing and calculation unit preprocesses the detection image, including: Step 11: Obtain camera distortion parameters using Zhang Zhengyou's camera calibration method, and perform distortion correction on the detected image based on the distortion parameters; distortion correction can reduce image size deviation caused by lens distortion. Step 12: Use the median filtering algorithm to denoise the corrected image; Specifically, image pixels are processed through a preset filtering window to reduce the impact of random noise on the identification of tape edges and defect areas; Step 13: The image grayscale distribution is adjusted using an adaptive histogram equalization algorithm to improve the contrast between the banded area and the defect area under different lighting conditions. Step 14: Use an edge enhancement algorithm to enhance the edge information of the bag strap in the image to highlight the features of the bag strap overlap boundary and surface defects.
[0075] In step 2, the U-Net semantic segmentation network includes an encoder, a decoder, and a skip connection structure; The encoder includes multiple sequentially connected convolutional modules and downsampling modules for feature extraction from the input wrapping image; The decoder includes multiple upsampling modules and convolutional fusion modules for progressively restoring the spatial dimensions of the feature maps; The skip connection structure is used to transfer shallow spatial features of different scales in the encoder to the corresponding scale decoder, so that the decoder can simultaneously acquire deep semantic information and shallow edge position information, thereby improving the segmentation accuracy of overlapping edge regions.
[0076] Specifically, in the encoder, each convolutional module includes a series of convolutional layers, batch normalization layers, and activation function layers. Through multi-scale convolution operations, texture features, edge features, and spatial structure features in the wrapping image are extracted. The downsampling module is used to reduce the feature map size and expand the receptive field to extract deep semantic information of the wrapping area. Specifically, the upsampling module of the decoder improves the resolution of the feature map through deconvolution or interpolation, and the convolutional fusion module fuses the recovered feature information to obtain refined pixel-level classification results. During the model training phase of the U-Net semantic segmentation network, cable wrapping image samples of different specifications, wrapping materials, and wrapping states were collected. Wrapping materials included metal wrapping tape, semi-conductive tape, and non-woven fabric wrapping tape. Image samples included wrapping images with different overlap rates, lighting conditions, and surface conditions. The collected wrapping image samples were annotated. Pixel-level labels were manually applied to the overlap areas in the images, classifying each pixel into background, wrapping, and overlap regions, generating an overlap region annotation mask image corresponding to the input image. The annotated wrapping image samples were then input into the U-Net semantic segmentation network for training.
[0077] Furthermore, during the training of the U-Net semantic segmentation network, the input image is processed by the encoder and decoder to output a predicted mask image. The predicted mask image is compared with the manually annotated real mask image, and the difference between the two is calculated through a loss function. The network parameters are adjusted according to the loss function result until the prediction result meets the preset accuracy requirements, thus obtaining the trained U-Net semantic segmentation model.
[0078] Furthermore, the method for obtaining the mask image of the overlay region by performing pixel-level classification of the overlay region in the bag image using the trained U-Net semantic segmentation model includes the following steps: Step 21: Input the preprocessed cable detection image obtained in Step 1 into the trained U-Net semantic segmentation model. The encoder performs multi-scale feature extraction on the cable wrapping image to obtain a feature map containing the wrapping texture, overlap edge and spatial position relationship. Step 22: The image spatial resolution is restored step by step through the decoder, and shallow edge features and deep semantic features are fused using skip connections; Step 23: Perform class prediction on each pixel in the image through the output layer, and output the class probability value corresponding to each pixel.
[0079] Step 24: Classify the pixels according to their probability values. If the probability of a pixel corresponding to the overlapping area category is greater than a preset threshold, mark the pixel as an overlapping area pixel; otherwise, mark the pixel as a non-overlapping area pixel.
[0080] Step 25: Generate a binary overlapping region mask image based on the classification results of all pixels, where the overlapping region corresponds to the first pixel value and the non-overlapping region corresponds to the second pixel value, thereby obtaining an overlapping region mask image that represents the position and contour of the bag strap overlapping region.
[0081] This embodiment uses the trained U-Net semantic segmentation model to perform pixel-level classification of the bag wrapping image, which can accurately extract the bag strap overlap area and its edge contour, reduce the detection error caused by differences in bag strap material, lighting changes and surface texture interference, improve the recognition accuracy of the overlap area, and provide a reliable data foundation for automatic measurement of overlap rate.
[0082] In step 3, the overlay edges of the strap are extracted from the mask image of the overlay area, and the distance between adjacent strap edges is calculated based on the edge fitting algorithm. The actual overlay rate is obtained by combining the pixel space transformation relationship. Specifically, the steps are as follows: Step 31: Perform boundary detection based on the mask image of the overlapping area, extract the overlapping edge of the strap, and extract the set of pixels at the overlapping edge; Specifically, based on the grayscale difference between pixels in the covered area and pixels in the non-covered area, the positions of pixel changes in the mask image are searched to determine the boundary position between the covered area and the non-covered area, thereby obtaining the set of pixels at the edge of the tape cover. Furthermore, morphological processing is performed on the obtained set of edge pixels, including isolated noise point removal, edge continuity processing, and broken edge connection processing, to obtain a continuous overlapping edge curve. Step 32: Perform sub-pixel fitting on the set of pixels at the overlapping edge to obtain the edge curve of the wrapping band; Since the overlapping edges in the acquired images are composed of discrete pixels, directly using pixel distance calculation will produce quantization errors. Therefore, sub-pixel fitting is performed on the extracted overlapping edge pixel set. Specifically, an edge fitting model is established based on the distribution direction of edge pixels. The fitting parameters are solved by performing least-squares curve fitting on the set of edge pixels, thereby obtaining the continuous curve equation of the overlapping edge. The fitting process includes: Step 321: Determine the normal direction of the overlapping edge based on the gradient direction of the edge pixels; Step 322: In a local region perpendicular to the edge direction, i.e., the normal direction, perform interpolation calculations on the edge grayscale changes; Step 323: Correct the original edge pixel coordinates based on the sub-pixel positions obtained by interpolation, so that the overlapping edge positions are converted from integer pixel coordinates to sub-pixel coordinates, and obtain the fitting curves of two adjacent wrapping edges: Step 33: Calculate the pixel distance between adjacent packet edges; Based on the adjacent wrapping edge fitting curves obtained in step 32, calculate the distance between the two edge curves, extract the corresponding points on the adjacent wrapping edges, and calculate the Euclidean distance between the two points; perform statistical processing on the Euclidean distance values obtained from multiple measurement sections, and use the average value calculation or the minimum bounding rectangle method to obtain the pixel distance corresponding to the overlapping area. Step 34: Based on the obtained pixel distance between adjacent bag edges, calculate the actual overlap width through pixel space transformation relationship, and then calculate the overlap rate; Specifically, the pixel space conversion relationship is to establish a conversion ratio based on the actual size parameters of the cable and the corresponding pixel size in the image: ; Where: K represents the actual size corresponding to a unit pixel; S represents the actual spatial size of the cable; P represents the corresponding pixel size.
[0083] Based on the pixel space conversion ratio, the pixel distance of the overlapping area is converted into the actual overlapping width: ; Where: W represents the actual overlap width. Pixel distance; The overlap rate is calculated based on the ratio between the actual overlap width and the strap width: C = W / B × 100% Where: C represents the overlap rate; W represents the actual overlap width; and B represents the preset strap width.
[0084] The calculated overlap rate is compared with the preset process threshold: When the overlap rate is within the preset range, a qualified result is output; When the overlap rate exceeds the upper limit, the output overlap rate result is too large; When the overlap rate is lower than the lower limit, the output overlap rate result is too small.
[0085] The above steps enable automatic detection of the overlap width and overlap rate of the cable wrapping process.
[0086] Step 4, Defect Identification and Classification: Input the preprocessed cable inspection image into the trained YOLOv8 defect detection model to identify defects on the cable wrapping surface; In step 4, a YOLOv8 defect detection model is constructed and trained. The YOLOv8 defect detection model includes an input layer, a feature extraction network, a feature fusion network, and a detection output network, wherein: The input layer is used to receive the preprocessed cable wrapping image and perform size normalization on the input image so that the input image meets the model calculation requirements; Feature extraction networks are used to perform multi-layer convolution calculations on input images to extract image features at different scales. Image features include defect edge features, texture features, and spatial location information. The feature extraction network adopts a multi-layer convolutional structure, encodes image features through convolutional kernels of different sizes, and expands the receptive field through downsampling operations, enabling the network to extract features of small defects and large defect areas at the same time. Feature fusion networks are used to fuse feature maps at different scales. Through the feature pyramid structure, shallow high-resolution features are fused with deep semantic features to improve the model's ability to detect defect targets of different sizes. The detection output network includes a defect category prediction branch, a target location prediction branch, and a tape material recognition branch; Among them, the defect category prediction branch is used to output the probability of the defect category corresponding to the detection target; The target location prediction branch is used to output the position coordinates and size information of the defect target in the image; The tape material recognition branch is used to identify the type of tape material corresponding to the current detection area and to assist in defect identification based on the image features corresponding to different materials.
[0087] During the model training phase, image samples of different types of cable wrapping tape were collected. The image samples included images of different wrapping tape materials and corresponding surface defects. The wrapping tape materials included metal wrapping tape, semi-conductive tape and non-woven fabric wrapping tape. The defect types included flash seams, curled edges, wrinkles, scratches, dents, bubbles, wrapping tape joints and oxide spots. The acquired wrapping images are labeled to indicate the location of the defective target, the defect type, and the corresponding wrapping material label, thus forming a defect detection training dataset.
[0088] The improved YOLOv8 defect detection model is trained by inputting the training dataset. During training, the network parameters are continuously adjusted to reduce the error between the model's output and the labeled data, resulting in the trained YOLOv8 defect detection model.
[0089] Furthermore, the defect detection results are correlated with the cable running length data collected by the rotary encoder. The cable running length is obtained in real time through the rotary encoder. Based on the position of the defect target in the detection image and the current cable running length, the actual position of the defect in the cable length direction is calculated to achieve defect localization.
[0090] Based on defect type, defect size, and preset quality standards, the detected defects are classified into different levels: When the defect size is below the first threshold, it is judged as a minor defect and only data is recorded; When the defect size reaches the second threshold, it is determined to be a general defect, and the defect information is sent to the management system for reminder. When the defect size reaches the critical defect threshold, an alarm is triggered and an abnormal signal is sent to the control system.
[0091] Through the above steps, the automatic detection, classification, location, and quality grade judgment of surface defects during the cable wrapping process can be achieved.
[0092] Step 5: Based on the obtained overlap rate and defect identification results, generate the cable wrapping quality judgment result; Specifically, the actual overlap rate is compared with the preset overlap rate range. When the actual overlap rate is within the preset process range, the current cable wrapping process is judged to meet the process requirements. When the actual overlap rate is higher than the preset range, it is judged to be a state of excessive overlap rate. When the actual overlap rate is lower than the preset range, it is judged to be a state of excessive overlap rate. The corresponding judgment results are used as the basis for evaluating the wrapping process status. The quality of the cable wrapping surface is judged based on the defect identification results. The detected defect type and size are matched with the preset defect judgment standard, and the defect level is determined according to the matching result. When there are no defects exceeding the preset standard in the detection results, the current wrapping surface quality is judged to meet the requirements. When a minor defect is detected, the defect information is recorded. When a general defect is detected, a quality reminder message is generated. When a serious defect is detected, a quality anomaly message is generated.
[0093] Furthermore, a comprehensive evaluation is conducted based on the overlap rate judgment results and defect identification results. When the overlap rate meets the preset process range and no defects affecting cable performance are detected, a qualified cable wrapping quality result is generated. When the overlap rate deviates or a general defect is detected, a quality result to be processed is generated. When the overlap rate exceeds the safe range or a serious defect is detected, an abnormal wrapping quality result is generated.
[0094] Based on the generated cable wrapping quality judgment results, the corresponding quality status information is output, and the quality status information, overlap rate detection data, and defect detection data are uploaded to the MES system for storage and traceability. When the overlap rate deviation exceeds the preset threshold, a process adjustment instruction is generated based on the overlap rate deviation and sent to the wrapping equipment control terminal to adjust the wrapping speed and / or traction speed. When a serious defect is detected, an alarm signal is output, the alarm device is controlled to provide an abnormality prompt, and the abnormality information is sent to the production management personnel.
[0095] Through the above steps, a comprehensive judgment on the cable wrapping quality is achieved based on the overlap rate detection results and defect identification results. This allows the detection results to simultaneously reflect the wrapping tape overlap status and the surface defect status of the wrapping, and can be further used for production process control and quality traceability.
[0096] Example 3 Based on Embodiment 1, this embodiment provides a cable wrapping detection system using an adaptive multi-source imaging device for cable wrapping detection, as described in Embodiment 1. Figure 5 As shown, it includes the management and decision-making layer, the production site layer, and the testing and control layer; The detection and control layer is equipped with a data processing and calculation unit, which is configured to perform the steps of the cable wrapping detection method of Embodiment 2; perform image processing and measurement calculation on the original image data to identify wrapping defects and calculate the overlap rate, and obtain the defect type, defect location, overlap rate value and overlap rate fluctuation results. The production site layer includes the core / cable production line, the wrapping machine, and the traction device; Driven by the traction device, the cable core continuously passes through the optical cavity 11 of the adaptive multi-source imaging device for cable wrapping detection in Example 1, and the wrapping machine completes the wrapping operation. The production site layer can provide feedback to the detection and control layer on the real-time operating status of the wrapping machine, traction device, and production line, including information such as wrapping speed, traction speed, and core running status.
[0097] Management and decision-making levels, including MES / ERP systems and remote monitoring terminals; The MES / ERP system communicates with the image processing and computing unit to send model parameters, process standards and defect judgment standards to the detection and control layer. Optional, model parameters and process standards include wire diameter, production speed, tape width, target overlap rate, and other process parameters.
[0098] The ES / ERP system receives real-time detection results uploaded by the image processing and computing unit. The real-time detection results include defect information, overlap rate data, system operating status, and alarm information. The remote monitoring terminal communicates with the MES / ERP system to receive production reports and quality traceability data, enabling remote monitoring and traceability management of cable wrapping quality.
[0099] In this embodiment, the system can also be configured with a meter counter interface, a MES system interface, a reverse control interface, and an alarm unit. The meter counter interface is connected to the meter counter, which is connected to a rotary encoder to acquire the core running length information and synchronously associate the length information with the defect location and overlap rate data to achieve defect metering and positioning. The MES system interface is used to upload detection data and send process parameters. The reverse control interface is used to convert the overlap rate deviation signal into control commands and send them to the wrapping machine or traction device. The alarm unit is used to issue audible and visual alarms when the overlap rate exceeds the limit, a serious defect is detected, or a system failure occurs, and to upload the abnormal information to the management and decision-making level.
[0100] Through the above structure, this embodiment can realize image acquisition, defect identification, overlap rate calculation, process parameter distribution, real-time status feedback, reverse closed-loop control, and quality traceability during the core wrapping process, thereby improving the automation level and detection accuracy of cable wrapping inspection.
[0101] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
[0102] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.
Claims
1. An adaptive multi-source imaging device for detecting cable wrapping, characterized in that, It includes a hinged housing, an image acquisition unit, an illumination unit, and an adaptive adjustment unit; When the hinged housing is closed, it forms an optical cavity for accommodating the cable detection area, and the inner wall of the optical cavity is provided with a matte light-absorbing layer; The image acquisition unit includes multiple industrial cameras, which are arranged circumferentially along the inner wall of the optical cavity to acquire images of the circumferential surface of the cable. The lighting unit includes a ring-shaped composite polarization diffuse reflection light source corresponding to the industrial camera. The ring-shaped composite polarization diffuse reflection light source is used to provide diffuse polarization illumination to the cable surface. The lighting unit includes a ring-shaped composite polarization diffuse reflection light source corresponding to the industrial camera. The light-emitting surface of the ring-shaped composite polarization diffuse reflection light source is provided with a microstructure diffuser plate and a polarization filter layer. The microstructure diffuser plate is used to convert the light emitted by the light source into diffuse light, and the polarization filter layer is used to suppress specular reflection light from the cable wrapping surface. The adaptive adjustment unit is connected to the hinged housing and / or the industrial camera, and is used to adjust the imaging position of the industrial camera relative to the cable according to the cable diameter parameters.
2. The adaptive multi-source imaging device for cable wrapping detection as described in claim 1, characterized in that, The adaptive adjustment unit includes a vertical lifting adjustment mechanism, a horizontal movement adjustment mechanism, a camera radial distance adjustment mechanism, and a cooperative controller; The vertical lifting adjustment mechanism is connected to the opening and closing housing and is used to drive the opening and closing housing to move in the vertical direction; The horizontal movement adjustment mechanism is connected to the opening and closing housing and is used to drive the opening and closing housing to move horizontally; The camera radial adjustment mechanism is connected to the industrial camera and is used to drive the industrial camera radially closer to or further away from the cable; The collaborative controller is connected to the vertical lifting adjustment mechanism, the horizontal movement adjustment mechanism, and the camera radial distance adjustment mechanism respectively. It is used to control the vertical lifting adjustment mechanism and the horizontal movement adjustment mechanism to adjust the position of the opening and closing housing 1 according to the cable diameter parameters so that the central axis of the sealed optical cavity is aligned with the central axis of the cable, and to control the camera radial distance adjustment mechanism to adjust the object distance between the industrial camera and the cable.
3. The adaptive multi-source imaging device for cable wrapping detection as described in claim 2, characterized in that, The vertical lifting adjustment mechanism includes a platform, a lifting seat, a servo motor, a lead screw, a lead sleeve, and a guide assembly. The lifting base is fixedly connected to the bottom end of the opening and closing housing, so that the opening and closing housing can rise and fall synchronously with the lifting base; The power output end of the servo motor is connected to a lead screw, which is connected to the lower end of the lifting seat through a screw sleeve. The lead screw and the screw sleeve work together to raise and lower the lifting seat. The guide assembly adopts a structure of a movable guide rod and a guide rod sleeve that corresponds to and cooperates with the movable guide rod, and is used to guide the lifting platform during its up and down movement.
4. The adaptive multi-source imaging device for cable wrapping detection as described in claim 3, characterized in that, The guide assembly includes multiple movable light rods and light rod sleeves that correspond to and cooperate with the movable light rods.
5. The adaptive multi-source imaging device for cable wrapping detection as described in claim 2, characterized in that, The horizontal movement adjustment mechanism includes a support frame, a sliding component, a support, a servo motor, and a horizontal transmission assembly. A sliding component is fixedly installed on the support, and the support frame is slidably installed on the sliding component. The platform for supporting the vertical lifting adjustment mechanism is fixed on the support frame. Servo motor 2 is installed on one side of the support and is connected to the support frame through a horizontal transmission component. Servo motor 2 is used to drive the horizontal transmission component to move, thereby driving the support frame to move horizontally on the support.
6. The adaptive multi-source imaging device for cable wrapping detection as described in claim 1, characterized in that, The hinged housing is also equipped with guide wheel assemblies at both ends, which are symmetrically arranged on both sides of the inlet and outlet of the hinged housing. The guide wheel assembly includes a guide wheel bracket, an upper guide wheel, a lower guide wheel, a side guide wheel, and a guide wheel drive mechanism; The guide wheel bracket is fixed to the outer end face of the hinged housing. The upper guide wheel, lower guide wheel, and side guide wheel are fixed inside the guide wheel bracket so that the rolling direction of each guide wheel is the same as the moving direction of the cable, thereby assisting the cable to pass through the hinged housing.
7. The adaptive multi-source imaging device for cable wrapping detection as described in claim 1, characterized in that, The image acquisition unit includes multiple camera mounting plates set on the inner wall, an industrial camera set on the camera mounting plate, an industrial lens set corresponding to the industrial camera, a synchronization triggering device, and an autofocus module. The synchronous triggering device is connected to each industrial camera to synchronously trigger the operation of each industrial camera; Each industrial camera is equipped with an autofocus module for adjusting the focal length of the industrial lens; Multiple industrial cameras are arranged circumferentially along the inner wall of the optical cavity, with the lens of each camera facing the central area of the optical cavity to acquire images of the cable's circumferential surface from different directions.
8. A cable wrapping detection method based on an adaptive multi-source imaging device for cable wrapping detection according to any one of claims 1-7, characterized in that, Includes the following steps: An adaptive multi-source imaging device for cable wrapping detection according to any one of claims 1-7 acquires cable detection images and performs preprocessing. For the preprocessed cable detection image, the trained U-Net semantic segmentation model is used to perform pixel-level classification of the tape overlap area in the wrapping image to obtain the overlap area mask image. The overlapping edges of the straps are extracted from the mask image of the overlapping area, and the distance between adjacent strap edges is calculated based on the edge fitting algorithm. The actual overlap rate is obtained by combining the pixel space transformation relationship. The pre-processed cable inspection image is input into the trained YOLOv8 defect detection model to identify defects on the cable wrapping surface. Based on the obtained overlap rate and defect identification results, a cable wrapping quality judgment result is generated.
9. The cable wrapping detection method as described in claim 8, characterized in that, The method for obtaining a mask image of the overlay region by performing pixel-level classification of the overlay region in a bag wrapping image using the trained U-Net semantic segmentation model includes the following steps: The preprocessed cable detection image is input into the trained U-Net semantic segmentation model. The encoder performs multi-scale feature extraction on the cable wrapping image to obtain a feature map containing the wrapping texture, overlap edge and spatial position relationship. The image spatial resolution is restored step by step by the decoder, and shallow edge features and deep semantic features are fused by skip connections. Perform class prediction for each pixel in the image and output the class probability value corresponding to each pixel; The classification is determined based on the probability value of the pixel category. When the probability of a pixel corresponding to the overlapping area category is greater than a preset threshold, the pixel is marked as an overlapping area pixel; otherwise, the pixel is marked as a non-overlapping area pixel. A binary overlay mask image is generated based on the classification results of all pixels, where the overlay area corresponds to the first pixel value and the non-overlay area corresponds to the second pixel value, thus obtaining an overlay mask image that represents the position and contour of the overlay area of the bag strap. Alternatively, the overlap edge of the strap can be extracted from the mask image of the overlap area, and the distance between adjacent strap edges can be calculated based on the edge fitting algorithm. The actual overlap rate can then be obtained by combining the pixel space transformation relationship. The specific steps include the following: Boundary detection is performed based on the mask image of the overlapping area to extract the overlapping edge of the strap and the set of pixels at the overlapping edge. Subpixel fitting is performed on the set of pixels at the overlapping edge to obtain the edge curve of the wrapping band; Calculate the pixel distance between adjacent packet edges; Based on the obtained pixel distance between adjacent bag edges, the actual overlap width is calculated through pixel space transformation relationship, and then the overlap rate is calculated.
10. A cable wrapping detection system, characterized in that, This includes the management and decision-making level, the production site level, and the testing and control level; The detection and control layer is equipped with a data processing and calculation unit, which is configured to perform the steps of the cable wrapping detection method according to any one of claims 8-9.
