Coiled material defect positioning method, device and equipment and medium
By synchronizing the image and pulse count taken by the linear array camera in the coil detection, and using the pulse of the meter wheel to trigger the shooting, the problem of inconsistent timing of the terminal acquisition data is solved, and the accuracy of coil defect detection is improved.
Patent Information
- Application Number
- CN202411827596.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-05-06
AI Technical Summary
During the coil production process, the timing of the terminal acquisition of picture data and pulse counting is inconsistent, which affects the accuracy of coil defect detection.
By receiving the coil image and corresponding pulse accumulation counts taken by the linear array camera, the shooting is triggered by the pulse of the meter wheel to ensure that the image acquisition is synchronized with the coil motion state and reduce timing errors.
It improves the accuracy of the detection of defects in the coil material, ensures the accurate timing of image acquisition, reduces errors caused by inconsistent timing, and can quickly identify the exact location of defects on the coil material.
Smart Images

Figure CN119936033A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coil material detection, and in particular to a coil material defect locating method, device, equipment and medium. Background Art
[0002] In the process of coil production and processing, in order to timely discover defects on the surface of the material, a roller assembly line is usually used for transmission, and coil defect detection is performed during the transmission process.
[0003] In the related art, a camera takes a picture after receiving a pulse signal, notifies the terminal to obtain the picture data after the picture is taken, and queries the current pulse count through the pulse acquisition card at the same time to detect and locate the coil. However, in this process, there is a timing inconsistency when the terminal obtains the picture data and the pulse count, resulting in a large error, which affects the accuracy of the detection. Summary of the invention
[0004] The present application proposes a coil defect positioning method, device, equipment and medium to reduce the error caused by the inconsistency between the timing of image data and pulse counting, thereby improving the accuracy of coil defect detection.
[0005] In a first aspect, a coil defect location method is provided, comprising:
[0006] Receiving a coil image of the coil to be inspected taken by a linear array camera and a pulse accumulation number corresponding to the coil image; wherein the coil image is obtained by triggering the capture of a pulse emitted by a meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel while the linear array camera is triggered to capture;
[0007] Determining actual position information of the web image based on the accumulated number of pulses;
[0008] Perform defect detection based on the web image;
[0009] If defect information is detected, the position of the defect in the defect information is located based on the actual position information.
[0010] In a second aspect, a coil defect locating device is provided, comprising:
[0011] A receiving module, used for receiving a coil image of the coil to be inspected taken by a linear array camera and a pulse accumulation number corresponding to the coil image; wherein the coil image is obtained by triggering the capture of a pulse emitted by a meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel while the linear array camera is triggered to capture;
[0012] A determination module, configured to determine actual position information of the web image based on the accumulated number of pulses;
[0013] A detection module, used for performing defect detection based on the coil image;
[0014] A positioning module is used to locate the position of the defect in the defect information based on the actual position information if defect information is detected.
[0015] Optionally, in some embodiments of the present application, the determining module includes:
[0016] A first determination submodule is used to determine the length coefficient of the meter wheel;
[0017] The second determination submodule is used to determine the actual position information based on the length coefficient and the accumulated number of pulses.
[0018] Optionally, in some embodiments of the present application, the first determining submodule includes:
[0019] A first acquisition unit is used to acquire the diameter of the meter wheel and the total number of pulses of the meter wheel during one rotation;
[0020] The first determining unit is configured to determine a length coefficient of the meter wheel based on the diameter and the total number of pulses.
[0021] Optionally, in some embodiments of the present application, the first determining submodule includes:
[0022] A second acquisition unit is used to acquire the length information of the standard coil and the number of standard pulses accumulated after the linear array camera detects the standard coil;
[0023] The second determining unit is used to determine the length coefficient based on the length information and the standard pulse number.
[0024] Optionally, in some embodiments of the present application, the device further includes:
[0025] A reset module is used to reset the pulse accumulation number if the actual position information reaches a preset total length of the coil to be detected.
[0026] Optionally, in some embodiments of the present application, the device further includes:
[0027] A generating module is used to generate a defect report based on all defect information of the coil to be detected and the position of each defect if the actual position information reaches a preset total length of the coil to be detected.
[0028] Optionally, in some embodiments of the present application, the device further includes:
[0029] The display module is used to display the actual position information, the defect information and the position of the defect in the defect information in real time.
[0030] In a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned coil defect locating method when executing the computer program.
[0031] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned coil defect locating method are implemented.
[0032] The present application provides a method, device, equipment and medium for locating defects in a coiled material, which receives a coiled material image of a coiled material to be detected taken by a linear array camera and a cumulative number of pulses corresponding to the coiled material image; wherein the coiled material image is obtained by triggering the capture of a pulse emitted by a meter wheel, and the cumulative number of pulses is obtained by accumulating the pulses emitted by the meter wheel while the linear array camera is triggered to capture; the actual position information of the coiled material image is determined based on the cumulative number of pulses; defect detection is performed based on the coiled material image; if defect information is detected, the position of the defect in the defect information is located based on the actual position information. In the coil defect positioning solution provided in the present application, by synchronously receiving the coil image of the coil to be inspected taken by the linear array camera and the accumulated number of pulses corresponding to the coil image, and by using the pulses of the meter wheel to trigger the linear array camera shooting, it is possible to ensure that the image acquisition is synchronized with the actual movement state of the coil, reduce the error caused by the time difference between the coil movement and the camera shooting, ensure the accurate timing of image acquisition, and reduce the error caused by inconsistent timing. Then, the accumulated number of pulses is associated with the coil image, and the actual position information corresponding to each part of the image can be accurately determined. When a defect is detected, the defect is accurately located by using the actual position information, so that the exact position of the defect on the coil can be quickly identified, thereby improving the accuracy of coil defect detection, facilitating subsequent defect processing and quality tracing, and significantly improving the control level of coil quality, reducing production waste, and improving product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1A diagram of the application environment of the coil defect location method provided in an embodiment of the present application;
[0035] Figure 2 A flow chart of a coil defect location method provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of the structure of a meter wheel provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of a process for receiving a web image and a pulse accumulation number provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of a flow chart of a coil defect location method provided in yet another embodiment of the present application;
[0039] Figure 6 A structural block diagram of a coil defect locating device provided in an embodiment of the present application;
[0040] Figure 7 A structural block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0043] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0044] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0045] The coil defect location method provided by the embodiment of the present invention can be applied in the following aspects: Figure 1 In the application environment. The computer device 110 communicates with the server 120 through the network 130. The computer device 110 can receive the coil image of the coil to be detected taken by the line array camera and the pulse accumulation number corresponding to the coil image; wherein the coil image is obtained by triggering the pulse emitted by the meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel when the line array camera triggers the shooting; determine the actual position information of the coil image based on the pulse accumulation number; perform defect detection based on the coil image; if defect information is detected, locate the position of the defect in the defect information based on the actual position information, and display it through the computer device 110. In the present invention, by synchronously receiving the coil image of the coil to be detected taken by the linear array camera and the pulse accumulation number corresponding to the coil image, and by using the pulse of the meter wheel to trigger the linear array camera shooting, it is possible to ensure that the image acquisition is synchronized with the actual movement state of the coil, reduce the error caused by the time difference between the coil movement and the camera shooting, ensure the accurate timing of image acquisition, and reduce the error caused by inconsistent timing. Then, the pulse accumulation number is associated with the coil image, and the actual position information corresponding to each part on the image can be accurately determined. When a defect is detected, the defect can be accurately located by using the actual position information, and the exact position of the defect on the coil can be quickly identified, thereby improving the accuracy of coil defect detection, facilitating subsequent defect processing and quality tracing, and significantly improving the control level of coil quality, reducing production waste, and improving product quality. Among them, the computer device 110 can be, but is not limited to, various smart phones 110-1, tablet computers 110-2, and laptop computers 110-3. The computer device 110 can also be an industrial computer. The present invention is described in detail below through specific embodiments.
[0046] See also Figure 2 As shown, Figure 2 The present invention provides a flow chart of a coil defect location method. The method can be applied to both a terminal and a server. This embodiment is described by applying it to a server. The coil defect location method includes the following steps:
[0047] 101: Receive a coil image of a coil to be inspected taken by a line array camera and a pulse accumulation number corresponding to the coil image.
[0048] The coil image is obtained by triggering the capture of pulses emitted by a meter wheel, and the accumulated pulse number is obtained by accumulating the pulses emitted by the meter wheel while the linear array camera is triggered to capture.
[0049] Linear scan cameras are digital cameras used in the field of machine vision and image processing. The roll material to be inspected can be a material supplied in a roll form. The material can be metal, plastic, paper, fiber, film, and many other types.
[0050] Specifically, the linear array camera is connected to the meter wheel and can accumulate and count the pulses input by the encoder of the meter wheel, thereby realizing the pulse counting function. Based on this, when the coil image is obtained from the linear array camera, the pulse count at this moment can also be obtained in the linear array camera at the same time, that is, the accumulated number of pulses corresponding to the coil image taken at this moment.
[0051] In one embodiment, if Figure 2 As shown, a schematic diagram of the structure of a meter wheel is provided. Assuming that the coil to be detected is a film coil, the meter wheel can be installed on the roller of the film coil to directly contact the film coil. The encoder is usually connected to the shaft of the meter wheel to detect the rotation of the meter wheel. After the rotation direction of the meter wheel is determined, the rotary encoder can output a pulse signal. The rotation direction of the meter wheel should be consistent with the direction of the film coil unfolding (i.e., the direction of the film to be measured). By counting these pulse signals, the unfolded length of the film coil can be calculated.
[0052] In one embodiment, if Figure 3 As shown, a flow chart of receiving a web image and pulse accumulation number is provided. When the encoder outputs a pulse signal, a pulse distributor divides a group of pulse signals into multiple groups of pulse signals, and each group of pulse signals is sent to a linear array camera connected to each socket on the pulse distributor, namely, camera 1, camera 2 and camera 3. The corresponding cameras 1, camera 2 and camera 3 are triggered by multiple groups of pulse signals to take pictures of the web to be inspected, and the pulse number is accumulated to obtain the web image and pulse accumulation number (i.e., the image and pulse accumulation value). Finally, the industrial computer receives the corresponding web image and pulse accumulation number from camera 1, camera 2 and camera 3 respectively. At this moment, the pulse accumulation number and the web image are transmitted to the industrial computer by the camera, and the timing is completely consistent, the error is small, and there is no need to use a pulse acquisition card to count the pulses, which reduces the hardware cost and improves the accuracy and reliability of web defect detection.
[0053] When the value of the accumulated pulse number can be stored in the form of an 8-byte unsigned number, when the maximum number of the accumulated pulse number reaches the maximum value of the 8-byte unsigned number, an early warning of full storage space is required to remind relevant personnel to handle it to avoid affecting subsequent coil defect detection.
[0054] In one embodiment, at the moment when each frame of web image is shot, the corresponding pulse accumulation number and web image at this moment can be read by the software development tool (SDK) in the computer device. After the application software of the computer device receives the callback data from the SDK, the application software of the computer device determines the actual position information of the web image according to the callback data (see step 102). The callback data at least includes the message serial number, the web image and the pulse accumulation number. The message serial number is a mechanism for ensuring the integrity and order of callback data transmission. By assigning a unique serial number to each transmitted callback data, the loss and retransmission of the callback data can be detected and controlled.
[0055] 102: Determine actual position information of the web image based on the accumulated number of pulses.
[0056] The actual position information may be the position information of the coil corresponding to the accumulated number of pulses, and the position information may specifically be the length position of the coil corresponding to the coil image captured by the linear array camera relative to the starting position of the coil to be detected, that is, the length of the meter wheel installed on the roller of the coil to be detected. For example, at the 34th second, the length position of the coil corresponding to the coil image captured by the linear array camera relative to the starting position of the coil to be detected (such as the 0th meter) is the 6th meter, that is, the actual position information of the coil image is that the meter wheel has moved from the 0th meter to the 6th meter.
[0057] When the computer device receives the callback data of the image acquisition, the length information of the web image can be calculated according to the length coefficient of the meter wheel and the accumulated number of pulses. That is, in one embodiment, the actual position information of the web image is determined based on the accumulated number of pulses, including:
[0058] Determining the length coefficient of the meter wheel;
[0059] The actual position information is determined based on the length factor and the accumulated number of pulses.
[0060] Specifically, the actual position information may be determined based on the length coefficient and the accumulated number of pulses according to the following formula:
[0061] L=a*P
[0062] Among them, L represents the actual position information, a is the length coefficient, and P is the accumulated number of pulses.
[0063] In one embodiment, determining the length coefficient of the meter wheel includes:
[0064] Obtaining the diameter of the meter wheel and the total number of pulses of the meter wheel during one rotation;
[0065] A length factor of the meter wheel is determined based on the diameter and the total number of pulses.
[0066] The diameter of the meter wheel and the total number of pulses of the meter wheel for one rotation can be determined in response to the input operation of the user in the length coefficient setting interface of the computer device. For example, the diameter of the meter wheel can be directly measured using a caliper or a tape measure. For example, the meter wheel is equipped with an encoder, and the total number of pulses of one rotation can be determined by reading the output of the encoder. The encoder usually outputs two signals, A phase and B phase, and the total number of pulses can be determined by counting the rising edge or falling edge of these two signals.
[0067] Specifically, the length coefficient of the meter wheel can be determined based on the diameter and the total number of pulses according to the following formula:
[0068] a=(πD) / t
[0069] Where a is the length factor, D is the diameter, and t is the total number of pulses.
[0070] The length coefficient of the meter wheel may be determined by a calibration method, that is, in one embodiment, determining the length coefficient of the meter wheel includes:
[0071] Acquire the length information of the standard coil and the number of standard pulses accumulated after the linear array camera detects the standard coil;
[0072] The length coefficient is determined based on the length information and the standard pulse number.
[0073] The standard coil is a coil to be inspected with a given standard length, and the number of pulses after the linear array camera has scanned the length of the standard coil is counted as the standard pulse number.
[0074] The length information of the standard coil and the number of standard pulses accumulated after the linear array camera detects the standard coil can be determined in response to the user's input operation on the length coefficient setting interface of the computer device.
[0075] Specifically, the length coefficient may be determined based on the length information and the standard pulse number according to the following formula:
[0076] a=I / T
[0077] Wherein, a is the length coefficient, I is the length information of the standard coil, and T is the standard pulse number.
[0078] For example, the length information of the standard coil is 10 meters, and the standard pulse number of the pulse number after the linear array camera scans the length information of the standard coil for 10 meters is T, then the length coefficient a=10 / T. Among them, 1 / a is the number of pulses per unit length.
[0079] 103: Perform defect detection based on the web image.
[0080] A preset defect detection algorithm may be used to perform defect detection on the coil image. The preset defect detection algorithm may be a machine learning algorithm, a deep convolutional neural network, a K-means clustering algorithm, or the like.
[0081] 104: If defect information is detected, locate the position of the defect in the defect information based on the actual position information.
[0082] The defect information may be any deviation or deficiency information of the coil to be inspected from the expected standard, quality requirements or design specifications. The defect information may include key information such as the nature, location, size, severity, etc. of the defect. For example, the area and location of the pinhole, the dark spot and the location of the dark spot (e.g., upper surface, lower surface), the size and location of the convex point, etc.
[0083] For example, suppose that defect information including a pinhole is detected in the web image taken at the 34th second, and the coordinate position of the pinhole on the web image is (x, y), which is determined by taking the lower left corner of the web image as the origin. The starting position of the web image is the 6th meter. If the web length corresponding to each pixel of the line array camera is d meters (this value can be calculated by the resolution of the line array camera and the length of the web to be detected, for example, if the resolution of the line array camera is 2048 pixels and the length of the web to be detected is 1.5 meters, then the web length corresponding to each pixel of the line array camera is 1.5 / 2048≈0.732 mm), the length corresponding to the coordinate position (x, y) is x*d meters and the width is y*d. Since we already know that the actual position information of this frame of image is 6 meters, we can determine that the position of this defect is at the (6+x*d)th meter in length and the (y*d)th meter in width.
[0084] In one embodiment, the method further comprises:
[0085] If the actual position information reaches the preset total length of the coil to be detected, the pulse accumulation number is reset.
[0086] For example, assuming that the preset total length of the coil to be detected is 100 meters, during the production process, the encoder receives the pulse signal of the meter wheel and accumulates the number of pulses to track the length of the coil. The width of the coil image is preset to 0.2 meters. When the actual position information is detected to 99.8 meters, it is determined that the actual position information reaches the preset total length of the coil to be detected, and then the accumulated number of pulses is reset to 0, and preparations for detecting the production of the next roll of coil to be detected begin.
[0087] In this embodiment, resetting the accumulated number of pulses before reaching the preset length helps to reduce error accumulation, ensures that the detection of the next roll of coiled material starts from zero, and avoids the error of the previous roll affecting the detection results of subsequent coils.
[0088] In one embodiment, the method further comprises:
[0089] If the actual position information reaches the preset total length of the coil to be inspected, a defect report is generated based on all defect information of the coil to be inspected and the position of each defect.
[0090] For example, assuming that the preset total length of the coil to be inspected is 100 meters, during the production process, the encoder receives the pulse signal of the meter wheel and accumulates the number of pulses to track the length of the coil, and the width of the coil image is preset to 0.2 meters. When the actual position information is detected to 99.8 meters, it is determined that the actual position information reaches the preset total length of the coil to be inspected. At this time, all defect information of the coil to be inspected and the position of each defect in the defect information on the coil to be inspected can be mapped to the preset defect report template to obtain a defect report. The defect report can include detailed information such as the type, location, size, etc. of each defect and basic information of the coil (such as coil number, production date, preset length, etc.).
[0091] In this embodiment, by generating a defect report when the coil to be inspected reaches a preset length, it is possible to ensure accurate control of the quality of each coil to be inspected, timely discover and record defects, and ensure the integrity and traceability of defect information and defect location.
[0092] In one embodiment, the method further comprises:
[0093] The actual position information, the defect information and the position of the defect in the defect information are displayed in real time.
[0094] When the defect detection is being carried out on the object to be detected, the actual position information, i.e. the length position of the current coil, is displayed in real time on the interface of the computer device, for example, "Current length: 99.8 meters". Defect information, i.e. a list of detected defects, includes defect type, position (such as the length from the starting position), size, etc. For example: "Defect 1: stain, position is (length 10.5 meters, width 1.2 meters), size is 2cm x3cm"; "Defect 2: scratch, position is (length 34.7 meters, width 0.9 meters), size is 1cm x 0.5cm".
[0095] In this embodiment, by displaying the actual position information, defect information and the position of the defect in the defect information, the operator monitors the quality status of the coil in real time. If a serious defect is found, the operator can take immediate measures, such as adjusting production parameters or marking the coil for subsequent processing, which helps to improve product quality and reduce defective products.
[0096] In one embodiment, if Figure 5 As shown, another flow chart of the coil defect location method is provided, and the method is applied to an industrial computer as an example for explanation as follows:
[0097] The coil to be inspected is placed on the production line (i.e. loading), and the inspection process is started. The encoder sends a pulse signal to trigger the industrial camera to capture the coil image and count the pulses to obtain the coil image and the accumulated pulse number corresponding to the coil image. The industrial computer receives the coil image and the accumulated pulse number corresponding to the coil image from the industrial camera (i.e. line array camera) at the same time; the industrial computer uses the pulse counting to calculate the actual position information of the coil image; the industrial computer displays the detected defect information, including the type, position, size, etc. of the defect. The industrial computer runs the preset algorithm to analyze the coil image, detect defects, and feedback the defect results, such as the type, position, size, etc. of the defect, as well as the defect details in the defect results, such as the type, position, size, etc. of the defect. When the coil inspection is completed, the process of the current coil to be inspected is terminated, and the inspected coil to be inspected is removed from the production line (i.e. unloading). The industrial computer generates a defect report based on the inspection results. The defect report records all defect information as well as the location of each defect and the basic information of the coil.
[0098] The above is the coil defect location process of this application.
[0099] As described above, the present application provides a method, device, equipment and medium for locating defects in a coil material, by receiving a coil material image of a coil material to be inspected taken by a linear array camera and the accumulated number of pulses corresponding to the coil material image; wherein the coil material image is obtained by triggering the capture of a pulse emitted by a meter wheel, and the accumulated number of pulses is obtained by accumulating the pulses emitted by the meter wheel while the linear array camera triggers the capture; the actual position information of the coil material image is determined based on the accumulated number of pulses; defect detection is performed based on the coil material image; if defect information is detected, the position of the defect in the defect information is located based on the actual position information. In the coil defect positioning solution provided in the present application, by synchronously receiving the coil image of the coil to be inspected taken by the linear array camera and the accumulated number of pulses corresponding to the coil image, and by using the pulses of the meter wheel to trigger the linear array camera shooting, it is possible to ensure that the image acquisition is synchronized with the actual movement state of the coil, reduce the error caused by the time difference between the coil movement and the camera shooting, ensure the accurate timing of image acquisition, and reduce the error caused by inconsistent timing. Then, the accumulated number of pulses is associated with the coil image, and the actual position information corresponding to each part of the image can be accurately determined. When a defect is detected, the defect is accurately located by using the actual position information, so that the exact position of the defect on the coil can be quickly identified, thereby improving the accuracy of coil defect detection, facilitating subsequent defect processing and quality tracing, and significantly improving the control level of coil quality, reducing production waste, and improving product quality.
[0100] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0101] In one embodiment, a coil defect locating device is provided, and the coil defect locating device corresponds to the coil defect locating method in the above embodiment. Figure 6 As shown, the coil defect locating device comprises:
[0102] The receiving module 201 is used to receive the coil image of the coil to be inspected taken by the line array camera and the accumulated pulse number corresponding to the coil image; wherein the coil image is obtained by triggering the pulse emitted by the meter wheel, and the accumulated pulse number is obtained by accumulating the pulse emitted by the meter wheel when the line array camera triggers the shooting;
[0103] A determination module 202, configured to determine actual position information of the web image based on the accumulated number of pulses;
[0104] A detection module 203, configured to perform defect detection based on the web image;
[0105] The positioning module 204 is used to locate the position of the defect in the defect information based on the actual position information if defect information is detected.
[0106] In this embodiment, by synchronously receiving the coil image of the coil to be inspected taken by the linear array camera and the accumulated number of pulses corresponding to the coil image, and by using the pulse of the meter wheel to trigger the linear array camera shooting, it is possible to ensure that the image acquisition is synchronized with the actual movement state of the coil, reduce the error caused by the time difference between the coil movement and the camera shooting, ensure the accurate timing of image acquisition, and reduce the error caused by inconsistent timing. Then, the accumulated number of pulses is associated with the coil image, and the actual position information corresponding to each part on the image can be accurately determined. When a defect is detected, the defect is accurately located by using the actual position information, so that the exact position of the defect on the coil can be quickly identified, thereby improving the accuracy of coil defect detection, facilitating subsequent defect processing and quality tracing, and significantly improving the control level of coil quality, reducing production waste, and improving product quality.
[0107] Optionally, in some embodiments of the present application, the determining module includes:
[0108] A first determination submodule is used to determine the length coefficient of the meter wheel;
[0109] The second determination submodule is used to determine the actual position information based on the length coefficient and the accumulated number of pulses.
[0110] Optionally, in some embodiments of the present application, the first determining submodule includes:
[0111] A first acquisition unit is used to acquire the diameter of the meter wheel and the total number of pulses of the meter wheel during one rotation;
[0112] The first determining unit is configured to determine a length coefficient of the meter wheel based on the diameter and the total number of pulses.
[0113] Optionally, in some embodiments of the present application, the first determining submodule includes:
[0114] A second acquisition unit is used to acquire the length information of the standard coil and the number of standard pulses accumulated after the linear array camera detects the standard coil;
[0115] The second determining unit is used to determine the length coefficient based on the length information and the standard pulse number.
[0116] Optionally, in some embodiments of the present application, the device further includes:
[0117] A reset module is used to reset the pulse accumulation number if the actual position information reaches a preset total length of the coil to be detected.
[0118] Optionally, in some embodiments of the present application, the device further includes:
[0119] A generating module is used to generate a defect report based on all defect information of the coil to be detected and the position of each defect if the actual position information reaches a preset total length of the coil to be detected.
[0120] Optionally, in some embodiments of the present application, the device further includes:
[0121] The display module is used to display the actual position information, the defect information and the position of the defect in the defect information in real time.
[0122] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, the functions or steps of a coil defect positioning method are realized.
[0123] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
[0124] Receive a coil image of a coil to be inspected taken by a linear array camera and a pulse accumulation number corresponding to the coil image; wherein the coil image is captured by triggering a pulse emitted by a meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel while the linear array camera triggers the capture; determine the actual position information of the coil image based on the pulse accumulation number; perform defect detection based on the coil image; if defect information is detected, locate the position of the defect in the defect information based on the actual position information.
[0125] In this embodiment, by synchronously receiving the coil image of the coil to be inspected taken by the linear array camera and the accumulated number of pulses corresponding to the coil image, and by using the pulse of the meter wheel to trigger the linear array camera shooting, it is possible to ensure that the image acquisition is synchronized with the actual movement state of the coil, reduce the error caused by the time difference between the coil movement and the camera shooting, ensure the accurate timing of image acquisition, and reduce the error caused by inconsistent timing. Then, the accumulated number of pulses is associated with the coil image, and the actual position information corresponding to each part on the image can be accurately determined. When a defect is detected, the defect is accurately located by using the actual position information, so that the exact position of the defect on the coil can be quickly identified, thereby improving the accuracy of coil defect detection, facilitating subsequent defect processing and quality tracing, and significantly improving the control level of coil quality, reducing production waste, and improving product quality.
[0126] In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0127] Receive a coil image of a coil to be inspected taken by a linear array camera and a pulse accumulation number corresponding to the coil image; wherein the coil image is captured by triggering a pulse emitted by a meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel while the linear array camera triggers the capture; determine the actual position information of the coil image based on the pulse accumulation number; perform defect detection based on the coil image; if defect information is detected, locate the position of the defect in the defect information based on the actual position information.
[0128] In this embodiment, by synchronously receiving the coil image of the coil to be inspected taken by the linear array camera and the accumulated number of pulses corresponding to the coil image, and by using the pulse of the meter wheel to trigger the linear array camera shooting, it is possible to ensure that the image acquisition is synchronized with the actual movement state of the coil, reduce the error caused by the time difference between the coil movement and the camera shooting, ensure the accurate timing of image acquisition, and reduce the error caused by inconsistent timing. Then, the accumulated number of pulses is associated with the coil image, and the actual position information corresponding to each part on the image can be accurately determined. When a defect is detected, the defect is accurately located by using the actual position information, so that the exact position of the defect on the coil can be quickly identified, thereby improving the accuracy of coil defect detection, facilitating subsequent defect processing and quality tracing, and significantly improving the control level of coil quality, reducing production waste, and improving product quality.
[0129] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0131] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0132] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for locating coil defects, characterized in that: include: Receiving a coil image of the coil to be inspected taken by a linear array camera and a pulse accumulation number corresponding to the coil image; wherein the coil image is obtained by triggering the capture of a pulse emitted by a meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel while the linear array camera is triggered to capture; Determining actual position information of the web image based on the accumulated number of pulses; Perform defect detection based on the coil image; If defect information is detected, the position of the defect in the defect information is located based on the actual position information.
2. The method for locating coil defects according to claim 1, characterized in that: The determining the actual position information of the web image based on the pulse accumulation number comprises: Determining the length coefficient of the meter wheel; The actual position information is determined based on the length factor and the accumulated number of pulses.
3. The coil defect location method according to claim 2, characterized in that: Determining the length coefficient of the meter wheel includes: Obtaining the diameter of the meter wheel and the total number of pulses of the meter wheel during one rotation; A length factor of the meter wheel is determined based on the diameter and the total number of pulses.
4. The method for locating coil defects according to claim 2, characterized in that: Determining the length coefficient of the meter wheel includes: Acquire the length information of the standard coil and the number of standard pulses accumulated after the linear array camera detects the standard coil; The length coefficient is determined based on the length information and the standard pulse number.
5. The method for locating coil defects according to claim 1, characterized in that: The method further comprises: If the actual position information reaches the preset total length of the coil to be detected, the pulse accumulation number is reset.
6. The method for locating coil defects according to claim 1, characterized in that: The method further comprises: If the actual position information reaches the preset total length of the coil to be inspected, a defect report is generated based on all defect information of the coil to be inspected and the position of each defect.
7. The coil defect location method according to claim 1, characterized in that: The method further comprises: The actual position information, the defect information and the position of the defect in the defect information are displayed in real time.
8. A coil defect locating device, characterized in that: include: A receiving module, used for receiving a coil image of the coil to be inspected taken by a linear array camera and a pulse accumulation number corresponding to the coil image; wherein the coil image is obtained by triggering the capture of a pulse emitted by a meter wheel, and the pulse accumulation number is obtained by accumulating the pulse emitted by the meter wheel while the linear array camera is triggered to capture; A determination module, configured to determine actual position information of the web image based on the accumulated number of pulses; A detection module, used for performing defect detection based on the coil image; A positioning module is used to locate the position of the defect in the defect information based on the actual position information if defect information is detected.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the coil defect locating method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the coil defect locating method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Tire wire cord fabric surface defect detection method, device and system
CN106153636A
PLP strip fixed-length conveying measurement device and method
CN106391729A
Inspection device and method for controlling imaging of object of inspection
CN109642872A
Device and method for recording track image positions through pulse distance measurement
CN111413349A
Material imaging device, material determination device and an image formation device
CN111796497A
Cited By
Defect identifying and marking system and method and computer readable storage medium
CN120657368A