Method and system for marking defects of continuous coiled material

Through the dispatching multi-printing module unit algorithm for automatically planning defect coordinate information, the problem of accurate marking when there are many defects in continuous coil defect marks is solved, and efficient and low-cost printing marks are realized, which are suitable for various production lines.

CN118306109BActive Publication Date: 2024-11-08SHENZHEN BOHR INTELLIGENT MFG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410639700.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-11-08
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

In the prior art, in continuous coil defect marking, especially when the number of defects is large, it is difficult to achieve accurate marking of each defect, and the equipment cost and space requirements are high, and the printing module is low, which can easily lead to leakage.

Method used

The dispatched multi-printing module unit algorithm is adopted to automatically plan defect coordinate information, and the defect points are detected through the AOI detection unit, the distance and speed of each printing axis are calculated, and the nearest distance and meet the completion conditions are assigned. The printing shafts are marked to ensure accurate printing of each defect and reduce the number and space requirements of the printing modules.

Benefits of technology

Accurate marking of each defect is achieved, printing efficiency is improved, equipment cost and space requirements are reduced, and leaks are avoided. It is suitable for existing old production lines and new production lines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118306109B_ABST
    Figure CN118306109B_ABST
Patent Text Reader

Abstract

The present invention specifically relates to a method and system for marking defects of continuous coil materials, and the method includes the following steps: after receiving the defect coordinate points thrown out by AOI, reading the positions of all standby printing module units in the rear, analyzing the distance between each unit and the defect, sorting them according to the rule of near to far, and then referring to the current roll production machine speed and the speed of the automatic slide rail motor of the printing module, calculating in sequence which unit can be moved to the designated position in time to complete the defect printing work, and after all calculations are completed, assigning the defect printing work to the one that is closest and meets the conditions for completing the work. This algorithm can not only ensure accurate printing and marking of each defect, but also improve the problem of not having enough time to mark when there are too many defects, and avoid missing sprays. In terms of the configuration of the spray gun, the number of automatic slide rail printing units installed can be greatly reduced due to efficient assignment and allocation, and the cost and space requirements are also lower, which is more beneficial on existing old production lines and newly built production lines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of industrial production, and in particular relates to a method and system for marking defects of continuous coiled materials. Background Art

[0002] Optical film manufacturing, textile industry, metal processing industry, printing and papermaking industry, etc. are all continuous roll-to-roll processes, and all products have the need to detect defects. Advanced methods include marking defects to assist the back-end process in yield simulation, identification and sorting of materials, and personnel quick search and re-inspection, etc. The traditional method of marking defects in the early days was to set up a marking pen on the edge of the roll, and the front-end AOI detected the position of the defect on the roll, and then released the position coordinates to the step counting monitoring system. When the defect was measured to reach the parallel position of the marking pen, the marking pen was activated to mark any recognizable marking symbol on the side of the roll; however, this marking method has the problem of unclear expression of the defect position. When executing the back-end re-inspection process, the personnel first observed the marking point on the side, and then looked for defects in the parallel position. The defect type is difficult for the human eye to distinguish, which will cause difficulty in finding defects and low efficiency. Especially when multiple defects appear densely and concentrated in adjacent areas, this edge marking method cannot provide a clear number of defects, resulting in serious omissions when personnel find defects.

[0003] Subsequently, a method was developed to use an automatic slide rail to drive the spray gun of the spray printer to print and mark defects on roll products. This method can improve the shortcomings of marking with a pen on the side of the film. Each defect can be clearly marked, and the defect location will not be missed when the personnel re-inspect and determine. However, this method cannot mark every defect when the defects are densely distributed and the number of defects is large. In order to solve the problem that there are too many defects and it is impossible to print point by point, the improvement method is to add a multi-station automatic slide rail spray module and use a large number of spray units at the back end to correspond to the situation where there are too many defects detected by the front-end AOI. The logic of the operation is that when AOI detects a defect, it immediately transmits the coordinates of the defect position to the printing module on standby at the rear. For example, if there are 5 sets of printing modules, the order in which AOI sends defect information is: 1->2->3->4->5->1->2... The advantage of this method is that it can not only accurately print and mark each defect, but also improve the problem of not being able to mark in time when there are too many defects. The disadvantage of this method is that the marking work is carried out by specifying the number of printing module units in sequence. When the number of defects is small, the utilization rate of the printing module is low, but when the number of defects is large, the printing module may need to cross a wide distance and not be able to print in time, resulting in missed printing. Therefore, in order to meet the demand for printing a large number of defects, more automatic slide rail printing units must be added at the back end, which increases the equipment cost and requires more space for installation. It is more difficult to add printing equipment to existing old production lines, and new production lines must also reserve a larger exclusive space, which is relatively more expensive to build production lines. Summary of the invention

[0004] The object of the present invention is to provide a method and system for marking defects of continuous webs, so as to solve the problems raised in the above-mentioned background technology.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] A method for marking defects of a continuous coil material, comprising the steps of:

[0007] Step 1: Start the defect printing unit and AOI inspection unit;

[0008] Step 2: The AOI detection unit detects defect points of the coil and sends defect coordinates to the defect printing unit, and the defect printing unit receives the defect coordinates sent by the AOI detection unit;

[0009] Step 3: The defective printing unit investigates the final standby position of each printing axis after executing the sequenced printing process;

[0010] Step 4: The defect printing unit calculates the distance between the defect coordinates and the standby position of each printing axis, and sorts them according to the rule of near to far;

[0011] Step 5: Referring to the current roll production machine speed and the speed of the automatic slide motor of the defect printing unit, calculate in sequence which of the printing axes can move to the designated position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the printing axis that is closest and meets the conditions for completing the work. The printing axis is moved to the same horizontal position as the defect point and is on standby. The longitudinal movement position of the defect is calculated and monitored through the encoded pedometer. When the longitudinal position of the defect is measured to be reached, the spray gun is ordered to mark and print.

[0012] Further, in step 5, it is calculated which of the printing axes can be moved to the designated position in time, including the steps of: first calculating whether the printing axis at the closest distance can print in time; if so, arranging the defect coordinate into the printing schedule of the printing axis at the closest distance, calling the defect coordinate as the first-order coordinate of the scheduling of the printing axis at the closest distance, and moving the printing axis at the closest distance to the printing position to perform the printing work.

[0013] Furthermore, if the calculated closest printing axis does not have time to print, then calculate whether the next closest printing axis has time to print; if so, arrange the defect coordinate into the printing schedule of the next closest printing axis, call the defect coordinate as the first-order coordinate of the next closest printing axis schedule, and move the next closest printing axis to the printing position to perform the printing work.

[0014] Furthermore, if the calculated next closest printing axis does not have time to print, then calculate whether the farthest printing axis has time to print; if so, arrange the defect coordinate into the printing schedule of the farthest printing axis, call the defect coordinate as the first-order coordinate of the farthest printing axis schedule, and move the farthest printing axis to the printing position to perform the printing work.

[0015] Furthermore, after each printing axis performs the printing work, it is calculated whether to continue printing. If so, it returns to the step of calling the first-order coordinate of the schedule to perform the printing work. If not, it returns to step 3 and waits.

[0016] Furthermore, if the calculated longest distance printing axis does not have enough time to print, this defect is classified as an unprintable point.

[0017] Further, the defect coordinates are classified as points that cannot be printed, and calculation is performed to determine whether printing should continue. If so, the process returns to step 3 to re-investigate and calculate. Otherwise, the printing of the point is terminated.

[0018] The continuous web defect marking system includes a defect printing unit and an AOI detection unit. The defect printing unit includes a plurality of slide rails, which are horizontally distributed along the web production line. Each slide rail is provided with a movable printing axis, which is connected to a servo motor drive. A spray gun is installed on the printing axis. The servo motor of the printing axis is connected in series with the front-end AOI detection unit. The defect printing unit also includes a calculation module. The AOI detection unit is used to detect defect points of the web and send defect coordinates to the calculation module. The calculation module is used to receive defect coordinates sent by the AOI detection unit. After calculating the coordinates, refer to the current roll production machine speed and the speed of each servo motor, and calculate in sequence which of the printing axes can move to the designated position in time to complete the defect printing. After all the calculations are completed, the defect printing work is assigned to the printing axis that is closest and meets the conditions for completing the work. The spray gun on this printing axis is assigned to work and a command is issued to the servo motor of the printing axis to move the printing axis to the same horizontal position as the defect point and wait for orders. The longitudinal movement position of the defect is calculated and monitored by the encoded pedometer. When the longitudinal position of the defect is measured to be reached, the spray gun is ordered to mark and print.

[0019] Beneficial effects: The invention discloses an algorithm for automatically planning the most appropriate allocation of multiple printing module units based on defect coordinate information. After receiving the defect coordinate point sent by the AOI, the algorithm reads the position of all the standby printing module units in the rear, analyzes the distance between each unit and the defect, sorts them according to the rule of near to far, and then refers to the current roll production machine speed and the speed of the automatic slide rail motor of the printing module to calculate which unit can be moved to the designated position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the one that is closest and meets the conditions for completing the work.

[0020] This marking system uses servo motion precision slide rails, connected in series with the front-end AOI inspection system, receives defect coordinate information, drives the marking printer print head, and moves horizontally on the roll production line. When the system receives the defect coordinates, it calculates and selects the printing module that meets the conditions for completing the work, assigns this printing work and moves it to the same horizontal position as the defect to wait, and calculates and monitors the longitudinal movement position of the defect through the encoder pedometer. When the longitudinal position of the defect is measured, the spray gun is ordered to mark and print. This algorithm can not only ensure that each defect is accurately printed and marked, but also improve the problem of not being able to mark in time when there are too many defects. Because the closest one is selected for execution, the printing module does not need to run over a wide distance for printing, which can avoid missing spray. In terms of the configuration of the spray gun, the number of automatic slide rail printing units installed can be greatly reduced due to efficient assignment and allocation, and the cost and space requirements are also lower, which is more beneficial for existing old production lines and newly built production lines. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a flow chart of the method of the present invention;

[0022] Figure 2 It is a system configuration diagram of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with 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 only 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 making creative work are within the scope of protection of the present invention.

[0024] The present invention provides a continuous web defect marking method, which creates and discloses an algorithm for automatically planning defect coordinate information and distributing multiple printing module units in the most appropriate manner, such as Figure 1-Figure 2 As shown, the steps include:

[0025] Step 1: Start the defect printing unit 200 and the AOI inspection unit 100;

[0026] In the embodiment, the defect printing unit 200 includes a plurality of slide rails 203, which are horizontally distributed along the roll production line, and usually three parallel slide rails 203 are arranged, and a movable printing shaft 202 is configured on each slide rail 203, and the printing shaft 202 is connected to a servo motor drive, and a spray gun is installed on the printing shaft 202, and the servo motor of the printing shaft 202 is serially connected to the front-end AOI detection unit 100;

[0027] The AOI detection unit 100 is used to detect defect points of the coil 300 and send defect coordinates to the calculation module 201. In the embodiment, the AOI detection unit 100 specifically detects defect points of the coil 300 through the following configurations: 1. Optical detection module: Use a high-resolution optical camera to perform visual inspection of the coil 300, which can clearly capture the surface defects of the coil 300. 2. Image processing module: Process the image taken by the optical camera, identify the defect points of the coil 300 and locate them. 3. Control module: Control the entire detection process, including image acquisition, processing, defect identification and report output. 4. Database module: Store detection data and reports to facilitate subsequent analysis and traceability. Through the collaborative work of these modules, AOI can effectively detect defect points of the coil 300 and improve product quality and production efficiency.

[0028] Step 2: The AOI detection unit 100 detects defect points of the coil 300 and sends the defect coordinates to the defect printing unit 200, and the defect printing unit 200 receives the defect coordinates sent by the AOI detection unit 100;

[0029] Step 3: The defective printing unit 200 investigates the final standby position of each printing axis 202 after executing the sequenced printing process;

[0030] Step 4: The defect printing unit 200 calculates the distance between the defect coordinates and the standby position of each printing axis 202, and sorts them according to the rule of near to far;

[0031] In an embodiment, during the defect point marking process of the continuous coil 300, an optical detection instrument is usually used to measure the distance between the final standby position of the spray gun and the defect point. Specifically, the defect point is identified by the AOI detection unit 100. At this time, the actual distance can be determined by measuring the position distance between the spray gun and the defect point in the image. In order to obtain accurate measurement results, it is usually necessary to ensure that the optical camera of the AOI detection unit 100 maintains a relatively stable positional relationship with the surface of the coil 300, and the movement trajectory of the coil 300 must also remain relatively stable. In addition, the image needs to be calibrated and calibrated to ensure the accuracy of the measurement results. In short, through the coordinated work of optical detection systems, image processing technology, control systems and other devices, the distance between the spray gun and the defect point can be accurately measured, thereby achieving accurate marking of the defect point.

[0032] Step 5: Referring to the current roll production machine speed and the motor speed of the automatic slide rail 203 of the defective printing unit 200, calculate in sequence which of the printing axes 202 can be moved to the designated position in time. Specifically, calculate which of the printing axes 202 can be moved to the designated position in time, including the steps of: first calculating whether the printing axis 202 at the closest distance can print in time; if so, arranging the defect coordinates into the printing schedule of the printing axis 202 at the closest distance, and calling the defect coordinates as the first printing schedule of the printing axis 202 at the closest distance. A sequence coordinate, moves the closest distance printing axis 202 to the printing position to perform the printing work, and moves the printing axis 202 to the same horizontal position as the defect point to stand by. The longitudinal movement position of the defect is calculated and monitored by the encoded pedometer. When the longitudinal position of the defect is measured to be reached, the spray gun is ordered to perform marking printing. After the closest distance printing axis 202 performs the printing work, calculate whether to continue printing. If so, return to the step of calling the first sequence coordinate of the schedule to perform the printing work. If not, return to step 3 and stand by.

[0033] If the calculated closest printing axis 202 does not have time to print, then calculate whether the next closest printing axis 202 has time to print; if so, place the defect coordinate into the printing schedule of the next closest printing axis 202, call the defect coordinate as the first-order coordinate of the next closest printing axis 202 schedule, move the next closest printing axis 202 to the printing position to perform the printing work, and move the printing axis 202 to the same horizontal position as the defect point to wait, and calculate and monitor the longitudinal movement position of the defect through the encoded pedometer. When the longitudinal position of the defect is measured to have arrived, order the spray gun to perform the mark printing. After the next closest printing axis 202 performs the printing work, calculate whether to continue printing. If so, return to the step of calling the first-order coordinate of the schedule to perform the printing work. If not, return to step 3 and wait.

[0034] If the calculated next closest distance printing axis 202 does not have time to print, then calculate whether the farthest distance printing axis 202 has time to print; if so, arrange this defect coordinate into the printing schedule of the farthest distance printing axis 202, call this defect coordinate as the first-order coordinate of the farthest distance printing axis 202 schedule, move the farthest distance printing axis 202 to the printing position to perform the printing work, make the printing axis 202 move to the same horizontal position as the defect point and wait, calculate and monitor the longitudinal movement position of the defect through the encoded pedometer, when the longitudinal position of the defect is measured, order the spray gun to perform the mark printing, after the farthest distance printing axis 202 performs the printing work, calculate whether to continue printing, if so, return to the step of calling the first-order coordinate of the schedule to perform the printing work, if not, return to step 3 and wait.

[0035] In short, the calculation of which of the printing axes 202 can be moved to the designated position in time is carried out in sequence. After all the calculations are completed, the defect printing work is assigned to the printing axis 202 that is closest and meets the conditions for completing the work. The printing axis 202 is moved to the same horizontal position as the defect point and waits for orders. The longitudinal movement position of the defect is calculated and monitored by the coded pedometer. When the longitudinal position of the defect is measured to have arrived, the spray gun is ordered to print the mark. Figure 2 As shown, the front end of the coil 300 detects the defect point of the coil 300 through the AOI detection unit 100. At this time, the defect point is the defect point 301 to be printed. After passing through the corresponding printing shaft 202 at the rear end that performs the printing work, the spray gun marks and prints the defect point 301 to be printed, and after marking, it becomes the printed defect point 302.

[0036] If the calculated longest distance printing axis 202 does not have time to print, the defect is classified as a point that cannot be printed, and the defect coordinates are classified as a point that cannot be printed. Calculate whether to continue printing. If so, return to step 3 to re-investigate and calculate. If not, end the printing work of this point.

[0037] The present invention also provides a continuous web 300 defect marking system, such as Figure 2As shown, it includes a defect printing unit 200 and an AOI detection unit 100. The defect printing unit 200 includes a plurality of slide rails 203, which are horizontally distributed along the roll production line. A movable printing shaft 202 is arranged on each slide rail 203. The printing shaft 202 is connected to a servo motor drive, and a spray gun is installed on the printing shaft 202. The servo motor of the printing shaft 202 is connected in series with the front-end AOI detection unit 100. The AOI detection unit 100 is used to detect the defect points of the roll material 300 and send the defect coordinates to the calculation module 201. In the embodiment, the AOI detection unit 100 specifically detects the defect points of the roll material 300 through the following configurations: 1. Optical detection module: The roll material 300 is visually inspected by a high-resolution optical camera, and the surface defects of the roll material 300 can be clearly captured. 2. Image processing module: The image taken by the optical camera is processed to identify the defect points of the roll material 300 and locate them. 3. Control module: controls the entire inspection process, including image acquisition, processing, defect identification and report output. 4. Database module: stores inspection data and reports for subsequent analysis and traceability. Through the collaborative work of these modules, AOI can effectively detect defects in the coil 300 and improve product quality and production efficiency. The defect printing unit 200 also includes a calculation module 201. The AOI detection unit 100 is used to detect defect points of the coil 300 and send defect coordinates to the calculation module 201. The calculation module 201 is used to receive the defect coordinates sent by the AOI detection unit 100, refer to the current roll production machine speed and the speed of each servo motor, and calculate in sequence which of the printing axes 202 can be moved to the specified position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the printing axis 202 that is closest and meets the conditions for completing the work. The spray gun on the printing axis 202 is assigned to work and a command is issued to the servo motor of the printing axis 202 to move the printing axis 202 to the same horizontal position as the defect point and wait. The longitudinal movement position of the defect is calculated and monitored by the encoded pedometer. When the longitudinal position of the defect is measured to have arrived, the spray gun is ordered to mark and print.

[0038] In a specific embodiment, the steps mainly performed by the calculation module 201 include:

[0039] Step 1: Start the defect printing system;

[0040] Step 2: The printing system receives the coordinates;

[0041] Step 3: Investigate the final standby position of each printing axis after it has completed the sequenced printing process;

[0042] Step 4: Calculate the distance between the defect coordinates and the standby position of each axis and sort them;

[0043] Step 5: Calculate the closest distance axis to see if it is possible to print in time;

[0044] Step 6: Execute the printing schedule of arranging the defect coordinates into the nearest distance axis;

[0045] Step 7: Calculate the next closest axis to see if it can be printed in time;

[0046] Step 8: Execute the printing schedule of arranging the defect coordinates into the secondary close-distance axis;

[0047] Step 9: Calculate the farthest distance axis to see if it can be printed in time;

[0048] Step 10: Execute the printing schedule of arranging the coordinates of this defect into the farthest distance axis;

[0049] Step 11: Whether to classify this defect as a point that cannot be printed;

[0050] Step 12: Perform printing of marks.

[0051] The invention discloses an algorithm for automatically planning the most appropriate allocation of multiple printing module units for defect coordinate information. After receiving the defect coordinate point thrown out by the AOI, the algorithm reads the position of all the standby printing module units behind, analyzes the distance between each unit and the defect, sorts them according to the rule of near to far, and then refers to the current roll production machine speed and the speed of the printing module automatic slide rail 203 motor to calculate which unit can be moved to the designated position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the one that is closest and meets the conditions for completing the work.

[0052] This marking system uses a servo motion precision slide 203, which is connected in series with the front-end AOI inspection system to receive the defect coordinate information and drive the marking inkjet printer print head to move horizontally on the roll production line. When the system receives the defect coordinates, it calculates and selects the printing module that meets the conditions for completing the work, assigns this printing work and makes it move to the same horizontal position as the defect to wait for orders. The longitudinal movement position of the defect is calculated and monitored through the encoder pedometer. When the longitudinal position of the defect is measured, the spray gun is ordered to mark and print. This algorithm can not only ensure that each defect is accurately printed and marked, but also improve the problem of not having enough time to mark when there are too many defects. In addition, because the closest one is selected for execution, the printing module does not need to run over a wide distance for printing, which can avoid missing spray. In terms of the configuration of the spray gun, the number of automatic slide 203 printing units installed can be greatly reduced due to efficient assignment and allocation, and the cost and space requirements are also lower, which is more beneficial for existing old production lines and newly built production lines.

[0053] In an embodiment to be protected, the present invention provides a method for marking defects of a continuous web 300, comprising the steps of:

[0054] Step 1: Start the defect printing unit 200 and the AOI inspection unit 100;

[0055] Step 2: The AOI detection unit 100 detects defect points of the coil 300 and sends the defect coordinates to the defect printing unit 200, and the defect printing unit 200 receives the defect coordinates sent by the AOI detection unit 100;

[0056] Step 3: The defective printing unit 200 investigates the final standby position of each printing axis 202 after executing the sequenced printing process;

[0057] Step 4: The defect printing unit 200 calculates the distance between the defect coordinates and the standby position of each printing axis 202, and sorts them according to the rule of near to far;

[0058] Step 5: Referring to the current roll production machine speed and the motor speed of the automatic slide rail 203 of the defect printing unit 200, calculate in sequence which of the printing axes 202 can be moved to the designated position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the printing axis 202 that is closest and meets the conditions for completing the work, and the printing axis 202 is moved to the same horizontal position as the defect point and waits for orders. The longitudinal movement position of the defect is calculated and monitored through the encoded pedometer. When the longitudinal position of the defect is measured to be reached, the spray gun is ordered to mark and print.

[0059] In a preferred embodiment, in step 5, calculating which of the printing axes 202 can be moved to the designated position in time includes the following steps: first calculating whether the printing axis 202 at the closest distance can print in time; if so, arranging the defect coordinate into the printing schedule of the printing axis 202 at the closest distance, calling the defect coordinate as the first-order coordinate of the scheduling of the printing axis 202 at the closest distance, and moving the printing axis 202 at the closest distance to the printing position to perform the printing work.

[0060] Specific process: Assuming that the current position of the printing axis 202 is `P_202`, its maximum moving speed is `v_202`, and the target defect coordinate is `D`, the closest distance can be calculated by vector:

[0061] ```math

[0062] d = ||D - P_202|| # Calculate the Euclidean distance from the current position of the printing axis 202 to the target defect coordinates

[0063] ```

[0064] Then calculate the time required for the printing axis 202 to reach the target position:

[0065] ```math

[0066] t = d / v_202

[0067] ```

[0068] Determine whether it is possible to print in time:

[0069] ```math

[0070] If t<= T_threshold:

[0071] Schedule(D, Axis_202, 1) # Schedule D to the first position of the printing schedule of printing axis 202

[0072] Move(Axis_202, D) # Move the printing axis 202 to the printing position D to perform printing.

[0073] Else:

[0074] Report("Printing axis 202 cannot reach the target position in time for printing")

[0075] ```

[0076] In a preferred embodiment, if the calculated closest printing axis 202 does not have time to print, then it is calculated whether the next closest printing axis 202 has time to print; if so, the defect coordinate is included in the printing schedule of the next closest printing axis 202, and the defect coordinate is called as the first-order coordinate of the next closest printing axis 202 schedule, and the next closest printing axis 202 is moved to the printing position to perform the printing work.

[0077] If we assume that there are multiple printing axes, and have determined whether the closest printing axis can arrive in time, now consider the second closest printing axis (denoted as `Axis_202_sub`), whose current position is `P_202_sub`, the maximum moving speed is `v_202_sub`, and the target defect coordinate is still `D`.

[0078] First calculate the distance from the secondary close distance printing axis to the target point:

[0079] ```math

[0080] d_sub = ||D - P_202_sub||

[0081] ```

[0082] Then calculate the time required to arrive:

[0083] ```math

[0084] t_sub = d_sub / v_202_sub

[0085] ```

[0086] Determine whether it is possible to print in time (assuming it is known that the nearest printing axis cannot arrive in time or has completed the task):

[0087] ```math

[0088] If t_sub<= T_threshold:

[0089] Schedule(D, Axis_202_sub, 1) # Schedule D to the first position of the printing schedule for the sub-close-distance printing axis 202

[0090] Move(Axis_202_sub, D) # Move the sub-close distance printing axis 202 to the printing position D to perform the printing work

[0091] Else:

[0092] Continue with the next closest axis or report that no other axis can reach in time.

[0093] ```

[0094] In a preferred embodiment, if the calculated next closest printing axis 202 does not have time to print, then it is calculated whether the farthest printing axis 202 has time to print; if so, the defect coordinate is arranged into the printing schedule of the farthest printing axis 202, and the defect coordinate is called as the first-order coordinate of the farthest printing axis 202 schedule, and the farthest printing axis 202 is moved to the printing position to perform the printing work.

[0095] In the case where there are multiple printing axes, assume that the printing axis set is `S={A1,A2,...,An}`, where the position vector of each printing axis is `Pj` (where `j=1,2,...,n`), the target defect coordinate is `D`, and the maximum moving speed of the printing axis 202 is `v_202`.

[0096] First calculate the distance from all printing axes to the target point:

[0097] ```math

[0098] d_j = ||D - P_j|| (for all j ∈ S)

[0099] ```

[0100] Find the farthest printing axis 202:

[0101] ```math

[0102] Axis_202_farthest = argmax(d_j) over all j in S where Axis_j is Axis_202

[0103] ```

[0104] Then calculate the time required for the printing axis to reach the target position:

[0105] ```math

[0106] t_farthest = d_farthest / v_202

[0107] ```

[0108] Determine whether it is possible to print in time:

[0109] ```math

[0110] If t_farthest<= T_threshold:

[0111] Schedule(D, Axis_202_farthest, 1) # Schedule D to the first position of the printing schedule for the farthest printing axis 202

[0112] Move(Axis_202_farthest, D) # Move the farthest printing axis 202 to printing position D to perform printing

[0113] Else:

[0114] Continue with other axes or report that the farthest axis 202cannot reach in time.

[0115] ```

[0116] In a preferred embodiment, after each printing axis 202 performs the printing work, it calculates whether to continue printing. If so, it returns to the step of calling the first-order coordinate of the schedule to perform the printing work. If not, it returns to step 3 and waits.

[0117] In a preferred embodiment, if the calculated longest distance printing axis 202 does not have enough time to print, this defect is classified as a point that cannot be printed.

[0118] In a preferred embodiment, the defect coordinates are classified as points that cannot be printed, and a calculation is made as to whether printing should continue. If so, the process returns to step 3 to re-investigate and calculate. If not, the printing of the point is terminated.

[0119] The present invention also provides a continuous web 300 defect marking system, including a defect printing unit 200 and an AOI detection unit 100, wherein the defect printing unit 200 includes a plurality of slide rails 203, and the plurality of slide rails 203 are horizontally distributed along the web production line, and each slide rail 203 is provided with a movable printing shaft 202, and the printing shaft 202 is connected to a servo motor drive, and a spray gun is installed on the printing shaft 202, and the servo motor of the printing shaft 202 is serially connected to the front-end AOI detection unit 100; the defect printing unit 200 also includes a calculation module 201, and the AOI detection unit 100 is used to detect defect points of the web 300, and send defect coordinates to the calculation module 201, and the calculation module 201 calculates the defect points of the web 300. The calculation module 201 is used to receive the defect coordinates thrown by the AOI inspection unit 100, refer to the current roll production machine speed and the rotation speed of each servo motor, and calculate in sequence which of the printing axes 202 can be moved to the specified position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the printing axis 202 that is closest and meets the conditions for completing the work, and the spray gun on the printing axis 202 is assigned to work and send instructions to the servo motor of the printing axis 202 to move the printing axis 202 to the same horizontal position as the defect point and wait for orders. The longitudinal movement position of the defect is calculated and monitored by the encoded pedometer. When the longitudinal position of the defect is measured to have arrived, the spray gun is ordered to mark and print.

[0120] The steps mainly performed by the calculation module 201 include:

[0121] Step 1: Start the defect printing system;

[0122] Step 2: The printing system receives the coordinates;

[0123] Step 3: Investigate the final standby position of each printing axis after it has completed the sequenced printing process;

[0124] Step 4: Calculate the distance between the defect coordinates and the standby position of each axis and sort them;

[0125] Step 5: Calculate the closest distance axis to see if it is possible to print in time;

[0126] Step 6: Execute the printing schedule of arranging the defect coordinates into the nearest distance axis;

[0127] Step 7: Calculate the next closest axis to see if it can be printed in time;

[0128] Step 8: Execute the printing schedule of arranging the defect coordinates into the secondary close-distance axis;

[0129] Step 9: Calculate the farthest distance axis to see if it can be printed in time;

[0130] Step 10: Execute the printing schedule of arranging the coordinates of this defect into the farthest distance axis;

[0131] Step 11: Whether to classify this defect as a point that cannot be printed;

[0132] Step 12: Perform printing of marks.

[0133] The invention discloses an algorithm for automatically planning the most appropriate allocation of multiple printing module units for defect coordinate information. After receiving the defect coordinate point thrown out by the AOI, the algorithm reads the position of all the standby printing module units behind, analyzes the distance between each unit and the defect, sorts them according to the rule of near to far, and then refers to the current roll production machine speed and the speed of the printing module automatic slide rail 203 motor to calculate which unit can be moved to the designated position in time to complete the defect printing work. After all calculations are completed, the defect printing work is assigned to the one that is closest and meets the conditions for completing the work.

[0134] This marking system uses a servo motion precision slide 203, which is connected in series with the front-end AOI inspection system to receive the defect coordinate information and drive the marking inkjet printer print head to move horizontally on the roll production line. When the system receives the defect coordinates, it calculates and selects the printing module that meets the conditions for completing the work, assigns this printing work and makes it move to the same horizontal position as the defect to wait for orders. The longitudinal movement position of the defect is calculated and monitored through the encoder pedometer. When the longitudinal position of the defect is measured, the spray gun is ordered to mark and print. This algorithm can not only ensure that each defect is accurately printed and marked, but also improve the problem of not having enough time to mark when there are too many defects. In addition, because the closest one is selected for execution, the printing module does not need to run over a wide distance for printing, which can avoid missing spray. In terms of the configuration of the spray gun, the number of automatic slide 203 printing units installed can be greatly reduced due to efficient assignment and allocation, and the cost and space requirements are also lower, which is more beneficial for existing old production lines and newly built production lines.

[0135] The embodiment of the present application further provides a computer device, which may include a terminal device or a server, and the aforementioned continuous web defect marking method data calculation program may be configured in the computer device. The computer device is introduced below.

[0136] If the computer device is a terminal device, the present application embodiment provides a terminal device, taking the terminal device as a mobile phone as an example:

[0137] The mobile phone includes components such as a radio frequency (RF) circuit, a memory, an input unit, a display unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a processor, and a power supply.

[0138] RF circuits can be used to receive and send signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is processed by the processor; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0139] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0140] The input unit can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit may include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact coordinates, and then sends it to the processor, and can receive the command sent by the processor and execute it. In addition, the touch panel can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel, the input unit may also include other input devices. Specifically, other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc.

[0141] The display unit can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit may include a display panel, and optionally, a liquid crystal display (Liquid Crystal Display, LCD for short), an organic light-emitting diode (Organic Light-Emitting Diode, OLED for short) and the like can be used to configure the display panel. Further, the touch panel can cover the display panel, and when the touch panel detects a touch operation on or near it, it is transmitted to the processor to determine the type of touch event, and then the processor provides corresponding visual output on the display panel according to the type of touch event. Although in the figure, the touch panel and the display panel are used as two independent components to realize the input and output functions of the mobile phone, in some embodiments, the touch panel and the display panel can be integrated to realize the input and output functions of the mobile phone.

[0142] The mobile phone may also include at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may configure the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0143] The audio circuit, speaker, and microphone can provide an audio interface between the user and the mobile phone. The audio circuit can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data. The audio data is then processed by the output processor and sent to, for example, another mobile phone through the RF circuit, or the audio data is output to the memory for further processing.

[0144] WiFi is a short-range wireless transmission technology. A mobile phone can help users send and receive emails, browse web pages, and access streaming media through a WiFi module, which provides users with wireless broadband Internet access. Although the WiFi module is shown in the figure, it is understandable that it is not a necessary component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0145] The processor is the control center of the mobile phone. It uses various interfaces and lines to connect the various parts of the entire mobile phone. It executes various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in the memory, and calling data stored in the memory, so as to monitor the mobile phone as a whole. Optionally, the processor may include one or more processing units; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor.

[0146] The mobile phone also includes a power source (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0147] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0148] In this embodiment, the processor included in the terminal device also has the following functions:

[0149] A data calculation program that implements the continuous web defect marking method.

[0150] If the computer device is a server, an embodiment of the present application also provides a server, which may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) (for example, one or more processors) and memories, and one or more storage media for storing applications or data (for example, one or more mass storage devices). Among them, the memory and the storage medium can be short-term storage or permanent storage. The program stored in the storage medium may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit can be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the server.

[0151] The server may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input and output interfaces, and / or one or more operating systems, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.

[0152] In addition, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided in the above embodiment.

[0153] The embodiments of the present application also provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute the method provided in the above embodiments.

[0154] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the above program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the above storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.

[0155] Therefore, the present application also discloses a continuous web defect marking system, including a computer program product of instructions, which, when executed on a computer, enables the computer to execute the above-mentioned continuous web defect marking method.

[0156] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for marking defects of a continuous coil, characterized in that: Including steps: Step 1: Start the defect printing unit and AOI inspection unit; Step 2: The AOI inspection unit detects defect points on the roll material and sends the defect coordinates to the defect printing unit, which receives the defect coordinates sent by the AOI inspection unit. Step 3: The defective printing unit investigates the final standby position of each printing axis after completing the sequenced printing process; Step 4: The defect printing unit calculates the distance between the defect coordinates and the standby position of each printing axis and sorts them from the closest to the farthest rule; Step 5: Based on the current web production machine speed and the speed of the automatic slide motor of the defect printing unit, the system sequentially calculates which of the various printing axes can move to the designated position in time to complete the defect printing task. Once all calculations are complete, the defect printing task is assigned to the nearest printing axis that meets the completion conditions. This printing axis is then moved to the same horizontal position as the defect point and placed on standby. The longitudinal movement position of the defect is calculated and monitored using an encoded pedometer. When the longitudinal position of the defect is reached, the spray gun is instructed to print the mark. In step 5, calculating which of the printing axes can be moved to the designated position in time includes the following steps: first, calculating whether the printing axis at the closest distance can print in time; if so, arranging the defect coordinates into the printing schedule of the printing axis at the closest distance, calling the defect coordinates as the first-order coordinates of the schedule of the printing axis at the closest distance, and moving the printing axis at the closest distance to the printing position to perform the printing work.

2. The method for marking defects of a continuous web according to claim 1, characterized in that: If the calculated closest printing axis does not have time to print, then calculate whether the next closest printing axis has time to print; if so, place the defect coordinates into the printing schedule of the next closest printing axis, call the defect coordinates as the first-order coordinates of the next closest printing axis schedule, and move the next closest printing axis to the printing position to perform the printing work.

3. The method for marking defects of a continuous web according to claim 2, wherein: If the calculated next closest printing axis does not have time to print, then calculate whether the farthest printing axis has time to print; if so, place the defect coordinates into the printing schedule of the farthest printing axis, call the defect coordinates as the first-order coordinates of the farthest printing axis schedule, and move the farthest printing axis to the printing position to perform the printing work.

4. The method for marking defects of a continuous web according to claim 3, wherein: After each printing axis performs the printing work, it calculates whether to continue printing. If so, it returns to the step of calling the first coordinate of the schedule to perform the printing work. If not, it returns to step 3 and waits.

5. The method for marking defects of a continuous web according to claim 4, characterized in that: If the calculated maximum distance printing axis does not have time to print, the defect is classified as an unprintable point.

6. The method for marking defects of a continuous web according to claim 5, characterized in that: The defect coordinates are classified as points that cannot be printed, and calculation is performed to determine whether printing should continue. If so, return to step 3 to recalculate. If not, the printing of the point is terminated.

7. A continuous web defect marking system using the method of claim 1, characterized in that: It includes a defect printing unit and an AOI detection unit. The defect printing unit includes a plurality of slide rails, which are distributed horizontally along the roll production line. Each slide rail is equipped with a movable printing axis, which is connected to a servo motor drive. A spray gun is installed on the printing axis. The servo motor of the printing axis is connected in series with the front-end AOI detection unit. The defect printing unit also includes a calculation module. The AOI detection unit is used to detect defect points of the roll material and send defect coordinates to the calculation module. The calculation module is used to receive the defect coordinates sent by the AOI detection unit and then calculate the defect coordinates. According to the current roll production machine speed and the rotation speed of each servo motor, the system calculates in sequence which printing axis can move to the designated position in time to complete the defect printing. After all calculations are completed, the defect printing work is assigned to the printing axis that is closest and meets the conditions for completing the work. The spray gun on this printing axis is assigned to work and a command is issued to the servo motor of the printing axis to move the printing axis to the same horizontal position as the defect point and wait for it. The longitudinal movement position of the defect is calculated and monitored by the encoded pedometer. When the longitudinal position of the defect is measured to have been reached, the spray gun is ordered to mark and print.