A cutting calibration method and device, computer equipment and storage medium

By calculating the offset parameter of the marking and calibrating the position of the cutting marking, the problem of low cutting accuracy caused by deformation and marking deviation of the workpiece to be cut is solved, and a high-precision cutting effect is achieved.

CN117218136BActive Publication Date: 2026-02-06SHENZHEN TENSUN IND EQUIP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210281707.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-21
Publication Date
2026-02-06
Estimated Expiration
2042-03-21

AI Technical Summary

Technical Problem

In the existing technology, due to processing technology issues, the workpiece to be cut may be deformed and the cutting mark position may be deviated, resulting in low cutting accuracy and inability to guarantee product quality.

Method used

By obtaining the length of the marked area of ​​the workpiece to be cut and the preset cutting data, the marked offset parameter is calculated, and the position of the cutting mark is calibrated according to the parameter to adjust the position of the cutting mark to meet the preset conditions and ensure cutting accuracy.

Benefits of technology

It improves cutting precision, ensures the quality of the cut product, and guarantees the accuracy and consistency of the cut area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117218136B_ABST
    Figure CN117218136B_ABST
Patent Text Reader

Abstract

The embodiment of the application belongs to the field of cutting processing, and relates to a cutting calibration method, comprising obtaining the length of an identification area of a to-be-cut part and preset cutting data, wherein the to-be-cut part has at least two cutting identifications, and the preset cutting data comprises a preset cutting frequency and a preset identification interval of adjacent two cutting identifications; calculating an identification offset parameter according to the length of the identification area, the preset cutting frequency and the preset identification interval; and calibrating the positions of to-be-calibrated cutting identifications in the to-be-cut part according to the identification offset parameter. The application also provides a cutting calibration device, a computer device and a storage medium. The positions of the to-be-calibrated cutting identifications are re-adjusted according to the identification offset parameter, so that the quality of products obtained by cutting in the cutting area determined according to each cutting identification is ensured, and the cutting precision is high.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cutting processing, and in particular to a cutting calibration method and device, computer equipment and a storage medium. BACKGROUND

[0002] At present, a plurality of cutting marks are generally arranged on a to-be-cut part, and in the actual cutting process, the cutting marks are taken as a reference to calculate the cutting area of the product. However, due to the machining process, the to-be-cut part may be deformed and / or the positions of the cutting marks in the to-be-cut part may be deviated, so that after the cutting area is determined according to the cutting marks, the product cut from the cutting area may be deformed, and with the increase of the number of cutting, the deformation of the subsequent products becomes more and more serious, the cutting precision is low, and the product quality cannot be guaranteed. SUMMARY

[0003] The present application provides a cutting calibration method, device, computer equipment and storage medium, which is used to solve the technical problem of low cutting precision in the prior art.

[0004] In order to solve the above technical problem, the present application provides a cutting calibration method, which adopts the following technical solution:

[0005] Obtain the mark area length of the to-be-cut part and the preset cutting data, wherein the to-be-cut part has at least two cutting marks, and the preset cutting data includes the preset cutting number and the preset mark interval of the adjacent two cutting marks;

[0006] Calculate the mark offset parameter according to the mark area length, the preset cutting number and the preset mark interval;

[0007] Calibrate the position of the to-be-calibrated cutting mark in the to-be-cut part according to the mark offset parameter.

[0008] Further, before the step of obtaining the mark area length of the to-be-cut part and the preset cutting data, the method further comprises:

[0009] Obtain the preset alignment rule and the starting point cutting mark in the to-be-cut part;

[0010] Extract the reference mark and the alignment condition from the preset alignment rule, and adjust the position of the to-be-cut part, so that the positional relationship between the starting point cutting mark and the reference mark meets the alignment condition.

[0011] Further, after the step of adjusting the position of the to-be-cut part, so that the positional relationship between the starting point cutting mark and the reference mark meets the alignment condition, the method further comprises:

[0012] Obtaining the cutting mark of the starting point of the to-be-cut piece after calibration, and calculating the included angle parameter between the cutting mark of the starting point and the reference mark;

[0013] Extracting a preset angle threshold from the preset alignment rule, and judging whether the included angle parameter meets the preset angle threshold;

[0014] If the included angle parameter meets the preset angle threshold, the cutting mark position of the starting point is successfully aligned;

[0015] If the included angle parameter meets the preset angle threshold, the cutting mark position of the starting point fails to be aligned, the position of the to-be-cut piece is readjusted, and the included angle parameter between the cutting mark of the starting point after recalibration and the reference mark is calculated until the included angle parameter between the cutting mark of the starting point after recalibration and the reference mark meets the preset angle threshold.

[0016] Further, the step of obtaining the length of the identification area of the to-be-cut piece comprises:

[0017] Obtaining the first position parameter of the cutting mark of the starting point of the to-be-cut piece after calibration and the second position parameter of the cutting mark of the ending point;

[0018] Calculating the length of the identification area according to the first position parameter and the second position parameter.

[0019] Further, the step of calibrating the position of the to-be-calibrated cutting mark in the to-be-cut piece according to the identification offset parameter comprises:

[0020] Obtaining the current cutting number, and determining the to-be-calibrated cutting mark in the to-be-cut piece according to the current cutting number;

[0021] Calculating the third position parameter of the to-be-calibrated cutting mark according to the current cutting number, the first position parameter, the preset identification interval, and the identification offset parameter;

[0022] Calibrating the position of the to-be-calibrated cutting mark according to the third position parameter.

[0023] Further, the step of calculating the identification offset parameter according to the length of the identification area, the preset cutting number, and the preset identification interval comprises:

[0024] Calculating the actual identification interval according to the length of the identification area and the preset cutting number, wherein the actual identification interval represents the interval between two adjacent cutting marks in the to-be-cut piece;

[0025] Calculating the identification offset parameter according to the actual identification interval and the preset identification interval.

[0026] Further, before the step of calibrating the position of the to-be-calibrated cutting mark in the to-be-cut piece according to the mark offset parameter, the method further comprises:

[0027] obtaining a preset offset threshold, and determining whether the mark offset parameter meets the preset offset threshold;

[0028] if the mark offset parameter meets the preset offset threshold, outputting the mark offset parameter;

[0029] if the mark offset parameter does not meet the preset offset threshold, obtaining a preset determination rule and historical mark offset parameters, determining a mark offset parameter meeting the preset offset threshold from the historical mark offset parameters according to the preset determination rule, and outputting the mark offset parameter meeting the preset offset threshold.

[0030] To solve the above technical problems, the embodiment of the present application further provides a cutting calibration device, which adopts the technical scheme as follows:

[0031] a first obtaining module, configured to obtain a mark area length of a to-be-cut piece and preset cutting data, wherein the to-be-cut piece has at least two cutting marks, and the preset cutting data comprises a preset cutting frequency and a preset mark interval between two adjacent cutting marks;

[0032] an offset amount calculation module, configured to calculate a mark offset parameter according to the mark area length, the preset cutting frequency and the preset mark interval; and

[0033] a position calibration module, configured to calibrate the position of a to-be-calibrated cutting mark in the to-be-cut piece according to the mark offset parameter.

[0034] To solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the technical scheme as follows:

[0035] comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the cutting calibration method as described above when executing the computer program.

[0036] To solve the above technical problems, the embodiment of the present application further provides a computer readable storage medium, which adopts the technical scheme as follows:

[0037] The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the cutting calibration method as described above.

[0038] Compared with the prior art, the embodiment of the application has the following beneficial effects: the application obtains the identification area length of the to-be-cut part and preset cutting data, wherein the to-be-cut part has at least two cutting identifications, and the preset cutting data includes preset cutting times and a preset identification interval between two adjacent cutting identifications; an identification offset parameter is calculated according to the identification area length, the preset cutting times and the preset identification interval; and the position of a to-be-calibrated cutting identification in the to-be-cut part is calibrated according to the identification offset parameter. The identification offset parameter is calculated according to the identification area length, the preset cutting times and the preset identification interval, so that the position of each to-be-calibrated cutting identification is readjusted according to the identification offset parameter on the basis of the identification area length, thereby ensuring the product quality obtained by cutting in the cutting area determined according to each cutting identification, and the cutting precision is high. BRIEF DESCRIPTION OF DRAWINGS

[0039] In order to more clearly illustrate the scheme in the application, the drawings needed in the description of the embodiments of the application will be briefly introduced as follows. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0040] Figure 1 is an exemplary system architecture diagram in which the application can be applied;

[0041] Figure 2 is a flowchart of one embodiment of the cutting calibration method according to the application;

[0042] Figure 3 is a structural schematic diagram of a to-be-cut part in the cutting calibration method according to the application;

[0043] Figure 4 is a structural schematic diagram of one embodiment of the cutting calibration device according to the application;

[0044] Figure 5 is a structural schematic diagram of one embodiment of the computer device according to the application. DETAILED DESCRIPTION

[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description herein is for describing particular embodiments only and is not intended to be limiting of the application; the use herein of terms such as "comprise" and "comprising", "have" and "having", "include" and "including" and "contain" and "containing" are to be construed in an open, non-exhaustive way, i.e. in the sense of "including, but not limited to"; the use herein of terms such as "first", "second", and "other" are used to distinguish one object from another, and are not used to describe a particular sequential order.

[0046] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another.

[0047] In order to make the persons skilled in the art better understand the scheme of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings.

[0048] As shown in Figure 1 The system architecture 100 can include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a communication link medium between the terminal devices 101, 102, 103 and the server 105. The network 104 can include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0049] A user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0050] The terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, and desktop computers, etc.

[0051] The server 105 can be a server providing various services, for example, a background server providing support for a page displayed on the terminal device 101, 102, 103.

[0052] It should be noted that the cutting calibration method provided in the embodiments of the present application is generally executed by a server / terminal device, and accordingly, the cutting calibration apparatus is generally arranged in the server / terminal device.

[0053] It should be understood that Figure 1 The number of terminal devices, networks and servers in

[0054] With reference to Figure 2 , a flow chart of one embodiment of the cutting calibration method according to the present application is shown. The cutting calibration method includes the following steps:

[0055] In step S201, the length of the identification area of the cutting piece 30 and preset cutting data are acquired, wherein the cutting piece 30 has at least two cutting identifications, and the preset cutting data includes a preset cutting number and a preset identification interval between two adjacent cutting identifications.

[0056] In the present embodiment, the length of the identification area is represented as the distance between the starting cutting identification and the ending cutting identification in the cutting piece 30 (for the calculation method of the length of the identification area, please refer to the description below).

[0057] The cutting identification plays a role of positioning in the actual cutting process, wherein the cutting identification can be an identification point 31; for example, Figure 3 For example, Figure 3 is a schematic view of the cutting piece 30, wherein the mark 30 is the cutting piece 30, the mark 31 is the identification point 31, the mark 32 is the cutting path 32, and the mark 33 is the cutting area 33. Figure 3 As can be seen, the cutting piece 30 has a plurality of identification points 31, all the identification points 31 in the same column form a cutting path 32, and the cutting area 33 is between two adjacent cutting paths 32, and at this time, the length of the identification area is the distance between the first cutting path 32 and the last cutting path 32.

[0058] In addition, the length of the marked area can also be the distance between the first and last marked points in the same row; however, due to the processing technology, the straight line connecting the first and last marked points in the same row on the actual workpiece to be cut may be inclined to the horizontal line. Therefore, the accuracy of "the marked area length calculated based on the first and last marked points in the same row" is lower than that of "the marked area length calculated based on the first and last cutting tracks".

[0059] It should be noted that the above-mentioned cutting mark can also be a marking line, which is the cutting path 32 in the example of "cutting mark is marking point 31" above.

[0060] The aforementioned preset number of cuts represents the number of cuts required for the workpiece 30 to be cut. This preset number of cuts is stored in a preset database and can be retrieved from the database. Figure 3 For example, in Figure 3 If three products need to be cut from the 30 pieces to be cut, then the preset number of cuts is 3.

[0061] The aforementioned preset marking interval represents the interval between two adjacent cutting markings; Figure 3 For example, the preset marking interval is the first cutting line 32 (i.e. Figure 3 The distance between the leftmost cutting track 32 and the second cutting track 32 is also the distance between the first marker point 31 and the second marker point 31 in the same row. However, the accuracy of "the preset marker interval calculated based on the first cutting track 32 and the second cutting track 32" is higher than that of "the preset marker interval between the first marker point 31 and the second marker point 31 in the same row".

[0062] Step S202: Calculate the marker offset parameter based on the marker area length, the preset number of cuts, and the preset marker interval.

[0063] In this embodiment, the aforementioned marker offset parameter represents the offset of two adjacent cutting markers on the workpiece 30 to be cut relative to a preset marker interval; continuing with... Figure 3 For example, the cutting marker at this time is cutting point 31, such as the first cutting point 31 (i.e. Figure 3 The leftmost cutting point 31) and the last cutting point 31 (i.e. Figure 3 The distance between the rightmost cutting point 31 is 2.1, the preset mark interval is 2, and the mark offset parameter is the difference between 2.1 and 2, which is 0.1.

[0064] Step S203: Calibrate the position of the cutting mark to be calibrated in the workpiece to be cut 30 according to the mark offset parameter.

[0065] In the embodiment, the preset identification interval is adjusted according to the identification offset parameter, the position of the cutting identification to be calibrated is determined again according to the adjusted preset identification interval, so as to ensure the cutting accuracy, and then ensure the product quality obtained after cutting the workpiece to be cut 30.

[0066] In the application, the identification offset parameter is calculated according to the identification region length, the preset cutting times and the preset identification interval, so as to calibrate the position of the cutting identification to be calibrated according to the identification offset parameter. In this way, on the basis of the identification region length, the position of each cutting identification to be calibrated is re-adjusted according to the identification offset parameter, so as to ensure the product quality obtained by cutting in the cutting region determined according to each cutting identification, and the cutting accuracy is high.

[0067] In some optional implementations, before the step of obtaining the identification region length of the workpiece to be cut and the preset cutting data in the step S201, the method further includes:

[0068] obtaining a preset alignment rule and a cutting identification of a starting point in the workpiece to be cut 30;

[0069] extracting a reference mark and an alignment condition from the preset alignment rule, and adjusting the position of the workpiece to be cut 30, so that the positional relationship between the cutting identification of the starting point and the reference mark meets the alignment condition.

[0070] In the embodiment, any one of the cutting identifications in the workpiece to be cut 30 can be selected as the cutting identification of the starting point. Generally, the cutting identification of the starting point is the first cutting identification among all the cutting identifications. If the selected cutting identification of the starting point is located between the first cutting identification and the last cutting identification among all the cutting identifications, in the subsequent process, the identification region length is calculated according to the sum of the distance between the cutting identification of the starting point and the first cutting identification and the distance between the cutting identification of the starting point and the last cutting identification.

[0071] For example, continuing to refer to Figure 3 The above cutting identification is an identification point 31, and in Figure 3 The identification point 31 of the starting point in the above is the leftmost (first) identification point 31

[0072] In this step, the above reference mark can be arranged outside the workpiece to be cut 30, and the above alignment condition can be that the cutting identification is parallel to the reference mark.

[0073] For example, in a multi-axis cutting device, the multi-axis cutting device comprises an X-axis assembly, a T-axis assembly (a rotating shaft assembly), and a material loading platform, wherein the X-axis assembly and the T-axis assembly are in driving connection with the material loading platform, and the material loading platform is used for loading the to-be-cut part 30; in actual application, the X-axis of the X-axis assembly can be taken as a reference mark, the material loading platform is driven to rotate by the T-axis assembly in the four-axis cutting device, the position of the cutting mark on the to-be-cut part 30 is adjusted, the cutting mark is parallel to the X-axis, and thus the alignment of the position of the to-be-cut part 30 is completed; in addition, the multi-axis cutting device can also comprise a Y-axis assembly and / or a Z-axis assembly, and the Y-axis of the Y-axis assembly or the Z-axis of the Z-axis assembly can be taken as a reference mark, and the alignment of the position of the to-be-cut part 30 can also be achieved.

[0074] In addition, the alignment condition can also be that the cutting mark is perpendicular to the reference mark or forms a preset angle, and the principle of “perpendicular or forming a preset angle” is the same as that when “the alignment condition can be that the cutting mark is parallel to the reference mark” in the above embodiment, and will not be described further herein.

[0075] In some optional implementations, after the step of adjusting the position of the to-be-cut part 30 so that the position relationship between the cutting mark at the starting point and the reference mark satisfies the alignment condition, the method further comprises:

[0076] obtaining the cutting mark at the starting point in the calibrated to-be-cut part 30, and calculating an included angle parameter between the cutting mark at the starting point and the reference mark;

[0077] extracting a preset angle threshold from the preset alignment rule, and determining whether the included angle parameter satisfies the preset angle threshold;

[0078] if the included angle parameter satisfies the preset angle threshold, the position alignment of the cutting mark at the starting point is successful;

[0079] if the included angle parameter does not satisfy the preset angle threshold, the position alignment of the cutting mark at the starting point fails, the position of the to-be-cut part 30 is re-adjusted, the included angle parameter between the cutting mark at the starting point and the reference mark after re-calibration is calculated, and the process is repeated until the included angle parameter between the cutting mark at the starting point and the reference mark after re-calibration satisfies the preset angle threshold.

[0080] In the embodiment, after the position of the cutting mark of the starting point is calibrated, the position accuracy of the cutting mark of the starting point can be insufficient due to device vibration and rotation accuracy; therefore, the calibrated position of the cutting mark needs to be verified. Specifically, image information of the reference mark and the cutting mark of the starting point is collected according to the image collection mode, and after the image information is identified, the angle parameter between the cutting mark and the reference mark can be determined according to the angle between the cutting mark and the reference mark and the horizontal line, or the angle parameter between the cutting mark and the reference mark can be calculated by identifying the coordinates of the cutting mark and the reference mark. After the angle parameter is obtained, the angle parameter is compared with the preset angle threshold value. If they are the same, it is determined that the position of the cutting mark of the starting point is successfully aligned. If they are not the same, it is determined that the position of the cutting mark of the starting point fails to be aligned, and the cutting mark of the starting point needs to be calibrated and verified again.

[0081] It should be noted that if the alignment condition is that the cutting mark of the starting point is parallel to the reference mark, and the preset angle threshold value is 0 degrees; if the alignment condition is that the cutting mark of the starting point is perpendicular to the reference mark, and the preset angle threshold value is 90 degrees; if the alignment condition is that the cutting mark of the starting point is at a preset angle with the reference mark, and the preset angle threshold value is the preset angle.

[0082] In some optional implementations, in step S201, the step of obtaining the length of the identification region of the to-be-cut part 30 includes:

[0083] obtaining a first position parameter of the cutting mark of the starting point and a second position parameter of the cutting mark of the ending point in the to-be-cut part 30 after calibration;

[0084] calculating the length of the identification region according to the first position parameter and the second position parameter.

[0085] In the embodiment, the first position parameter and the second position parameter are both coordinate parameters.

[0086] Specifically, the image information of the to-be-cut part 30 is collected first, and the coordinate parameters of the cutting mark of the starting point and the coordinate parameters of the cutting mark of the ending point are identified from the image information. Then, the length of the identification region is calculated according to the two-point distance calculation formula. For example, the coordinate parameters of the cutting mark of the starting point are (0, 0), and the coordinate parameters of the cutting mark of the ending point are (0, 12). According to the two-point distance calculation formula The length of the identification region is calculated to be 12.

[0087] In some optional implementations, in step S202, the step of calibrating the position of the to-be-calibrated cutting mark of the to-be-cut part 30 according to the identification offset parameter includes:

[0088] acquiring a current cutting number, determining a cutting mark to be calibrated in the workpiece according to the current cutting number;

[0089] calculating a third position parameter of the cutting mark to be calibrated according to the current cutting number, the first position parameter, the preset mark interval and the mark offset parameter;

[0090] calibrating the position of the cutting mark to be calibrated according to the third position parameter.

[0091] In the embodiment, the first position parameter is a coordinate parameter, the current cutting number is N, where N≥2 and N is an integer; when each cutting mark is arranged along the X direction, the X coordinate parameter corresponding to each cutting mark is the same, the Y coordinate parameter is different, the product of the current cutting number and the mark offset parameter is calculated first to obtain a product value, then the Y coordinate parameter in the first position parameter, the preset mark interval and the product value are added to obtain the Y coordinate parameter of the third position parameter of the cutting mark to be calibrated, and since the X coordinate parameter corresponding to each cutting mark is the same, the third position parameter of the cutting mark to be calibrated is obtained.

[0092] It should be noted that each cutting mark can also be arranged along the Y direction or the Z direction, and the principle of calculating the third position parameter in the "Y direction or Z direction" is the same as that of the "cutting mark arranged along the X direction" described above, which will not be described in detail here.

[0093] In some optional implementations, in step S202, the step of calculating the mark offset parameter according to the mark region length, the preset cutting number and the preset mark interval comprises:

[0094] calculating an actual mark interval according to the mark region length and the preset cutting number, where the actual mark interval represents the interval between two adjacent cutting marks in the workpiece 30;

[0095] calculating the mark offset parameter according to the actual mark interval and the preset mark interval.

[0096] In the embodiment, the mark region length is divided by the preset cutting number to obtain the actual mark interval, and then the mark offset parameter is calculated by calculating the difference between the actual mark interval and the preset mark interval; in this way, whether the position of the cutting mark on the workpiece 30 is the same as the preset position of the cutting mark can be determined according to the mark offset parameter, and the cutting accuracy is effectively ensured.

[0097] In some optional implementations, in step S203, before the step of calibrating the position of the cutting mark to be calibrated in the workpiece 30 according to the mark offset parameter, the method further comprises:

[0098] obtaining a preset offset threshold, and determining whether the identification offset parameter meets the preset offset threshold;

[0099] If the identification offset parameter meets the preset offset threshold, outputting the identification offset parameter;

[0100] If the identification offset parameter does not meet the preset offset threshold, obtaining a preset determination rule and a historical identification offset parameter, determining an identification offset parameter meeting the preset offset threshold from the historical identification offset parameter according to the preset determination rule, and outputting the identification offset parameter meeting the preset offset threshold.

[0101] In the embodiment, after obtaining the identification offset parameter, the identification offset parameter needs to be verified to ensure the accuracy of the position of the cutting mark adjusted according to the identification offset parameter, so that the product size cut from the workpiece 30 is controlled within the preset error range.

[0102] In this step, the above-mentioned preset offset threshold is pre-stored in a database and can be obtained by calling the pre-stored database. In addition, after each identification offset parameter passes the verification, the identification offset parameter that passes the verification is stored in the database or uploaded to the cloud. The above-mentioned preset determination rule is to average the historical identification offset parameters, and the average processed identification offset parameter is used as the identification offset parameter meeting the preset offset threshold. In this way, the product cut by the cutting mark determined according to the identification offset parameter has good consistency with the historical product specifications. In addition, the historical identification offset parameters can also be classified according to the offset range, such as class 1 for identification offset parameters 0 to 0.3, class 2 for identification offset parameters 0.3 to 0.5, and so on. At this time, the above-mentioned preset determination rule is to obtain the class containing the largest number of identification offset parameters from the historical identification offset parameters, and randomly select an identification offset parameter from the class containing the largest number of identification offset parameters as the identification offset parameter meeting the preset offset threshold. In this way, the product quality cut by the cutting mark determined according to the identification offset parameter can be effectively guaranteed.

[0103] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments. The storage medium can be a non-volatile storage medium such as a magnetic disc, an optical disc, a read-only memory (ROM), or a random access memory (RAM).

[0104] It should be understood that although each step in the flowchart of the accompanying drawings is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless otherwise explicitly stated herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other sequences. Moreover, at least some of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be alternately or alternately executed with at least part of other steps or sub-steps or stages of other steps.

[0105] Further referring to Figure 4 , as an implementation of the method shown in the above Figure 2 , the present application provides an embodiment of a cutting calibration device, which corresponds to the method embodiment shown in Figure 2 , and the device can be applied to various electronic devices.

[0106] As shown in Figure 4 , the cutting calibration device 400 described in the embodiment includes a first acquisition module 401, an offset calculation module 402, and a position calibration module 403. Wherein:

[0107] The first acquisition module 401 is configured to acquire the identification region length of a to-be-cut part and preset cutting data, wherein the to-be-cut part has at least two cutting identifications, and the preset cutting data includes a preset cutting frequency and a preset identification interval between adjacent two cutting identifications.

[0108] The offset calculation module 402 is configured to calculate an identification offset parameter according to the identification region length, the preset cutting frequency, and the preset identification interval.

[0109] The position calibration module 403 is configured to calibrate the position of a to-be-calibrated cutting identification in the to-be-cut part according to the identification offset parameter.

[0110] In the present application, the identification offset parameter is calculated according to the identification region length, the preset cutting frequency, and the preset identification interval, so as to calibrate the position of the to-be-calibrated cutting identification according to the identification offset parameter. Thus, on the basis of the identification region length, the position of each to-be-calibrated cutting identification is re-adjusted according to the identification offset parameter, so as to ensure the quality of the product cut in the cutting region determined according to each cutting identification, and the cutting precision is high.

[0111] In some optional implementations, a second acquisition module and an adjustment module are further included, wherein:

[0112] The second obtaining module is configured to obtain a preset alignment rule and a cutting mark of a starting point in the part to be cut;

[0113] The adjusting module is configured to extract a reference mark and an alignment condition from the preset alignment rule, and adjust the position of the part to be cut, so that the position relationship between the cutting mark of the starting point and the reference mark meets the alignment condition.

[0114] In some optional implementations, the adjusting module includes a first calculation unit, a judging unit, a first calibration unit, and a second calibration unit. Wherein:

[0115] The first calculation unit is configured to obtain the cutting mark of the starting point in the part to be cut after calibration, and calculate an included angle parameter between the cutting mark of the starting point and the reference mark.

[0116] The judging unit is configured to extract a preset angle threshold from the preset alignment rule, and judge whether the included angle parameter meets the preset angle threshold.

[0117] The first calibration unit is configured to, if the included angle parameter meets the preset angle threshold, the cutting mark of the starting point is successfully aligned in position.

[0118] The second calibration unit is configured to, if the included angle parameter does not meet the preset angle threshold, the cutting mark of the starting point fails to be aligned in position, the position of the part to be cut is re-adjusted, and the included angle parameter between the cutting mark of the starting point after re-calibration and the reference mark is calculated, until the included angle parameter between the cutting mark of the starting point after re-calibration and the reference mark meets the preset angle threshold.

[0119] In some optional implementations, the first obtaining module 401 includes a first obtaining unit and a second calculation unit. Wherein:

[0120] The first obtaining unit is configured to obtain a first position parameter of the cutting mark of the starting point and a second position parameter of the cutting mark of the ending point in the part to be cut after calibration.

[0121] The second calculation unit is configured to calculate the length of the mark area according to the first position parameter and the second position parameter.

[0122] In some optional implementations, the position calibration module 403 includes a second obtaining unit, a third calculation unit, and a third calibration unit. Wherein:

[0123] The second obtaining unit is configured to obtain a current cutting frequency, and determine the cutting mark to be calibrated in the part to be cut according to the current cutting frequency.

[0124] The third computing unit is configured to calculate a third position parameter of the to-be-calibrated cutting mark according to the current cutting number, the first position parameter, the preset mark interval, and the mark offset parameter.

[0125] The third calibration unit is configured to calibrate the position of the to-be-calibrated cutting mark according to the third position parameter.

[0126] In some optional implementations, the offset amount computing module 402 includes a fourth computing unit and a fifth computing unit. Wherein:

[0127] The fourth computing unit is configured to calculate an actual mark interval according to the mark region length and the preset cutting number, wherein the actual mark interval represents the interval between two adjacent cutting marks in the to-be-cut part.

[0128] The fifth computing unit is configured to calculate a mark offset parameter according to the actual mark interval and the preset mark interval.

[0129] In some optional implementations, the offset amount computing module 402 includes a fourth computing unit and a fifth computing unit. Wherein:

[0130] The third acquisition module is configured to acquire a preset offset threshold, and determine whether the mark offset parameter meets the preset offset threshold.

[0131] The first output module is configured to output the mark offset parameter if the mark offset parameter meets the preset offset threshold.

[0132] The second output module is configured to acquire a preset determination rule and a historical mark offset parameter if the mark offset parameter does not meet the preset offset threshold, determine a mark offset parameter meeting the preset offset threshold from the historical mark offset parameter according to the preset determination rule, and output the mark offset parameter meeting the preset offset threshold.

[0133] To solve the above technical problems, the embodiment of the present application further provides a computer device. For details, please refer to Figure 5 , Figure 5 The basic structure block diagram of the computer device of the present embodiment is shown in the figure.

[0134] The computer device 5 comprises a memory 51, a processor 52, and a network interface 53 which are connected to each other through a system bus. It should be noted that only the computer device 5 with components 51-53 is shown in the figure, but it should be understood that all the shown components are not required to be implemented, and more or less components can be alternatively implemented. Among them, the computer device herein is understood by those skilled in the art as a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0135] The computer device can be a desktop computer, a notebook computer, a palm computer, a cloud server, and the like. The computer device can interact with a user through a keyboard, a mouse, a remote controller, a touchpad, a voice control device, and the like.

[0136] The memory 51 at least includes one type of readable storage medium, including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 51 can be an internal storage unit of the computer device 5, such as a hard disk or a memory of the computer device 5. In other embodiments, the memory 51 can also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 5. Of course, the memory 51 can also include both the internal storage unit and the external storage device of the computer device 5. In the present embodiment, the memory 51 is generally used to store an operating system and various application software installed on the computer device 5, such as program codes of the cutting calibration method, etc. In addition, the memory 51 can also be used to temporarily store various data that have been output or will be output.

[0137] The processor 52 may, in some embodiments, be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 52 is generally used to control the overall operation of the computer device 5. In the present embodiment, the processor 52 is configured to run program code or process data stored in the memory 51, such as program code for running the cutting calibration method.

[0138] The network interface 53 may include a wireless network interface or a wired network interface, and is generally used to establish a communication connection between the computer device 5 and other electronic devices.

[0139] In the present application, the identification offset parameter is calculated according to the identification region length, the preset cutting number, and the preset identification interval, so as to calibrate the position of the cutting identification to be calibrated according to the identification offset parameter. In this way, the position of each cutting identification to be calibrated is re-adjusted according to the identification offset parameter on the basis of the identification region length, so as to ensure the product quality obtained by cutting in the cutting region determined according to each cutting identification, and the cutting precision is high.

[0140] The present application also provides another embodiment, i.e., a computer readable storage medium storing a cutting calibration program, the cutting calibration program being executable by at least one processor to enable the at least one processor to perform the steps of the cutting calibration method as described above.

[0141] In the present application, the identification offset parameter is calculated according to the identification region length, the preset cutting number, and the preset identification interval, so as to calibrate the position of the cutting identification to be calibrated according to the identification offset parameter. In this way, the position of each cutting identification to be calibrated is re-adjusted according to the identification offset parameter on the basis of the identification region length, so as to ensure the product quality obtained by cutting in the cutting region determined according to each cutting identification, and the cutting precision is high.

[0142] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software and a general hardware platform as required, and of course, can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device) to perform the methods described in the various embodiments of the present application.

[0143] Obviously, the above-described embodiments are only some embodiments but not all the embodiments of the present application, the preferred embodiments of the present application are shown in the drawings, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, and conversely, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent replacements to some technical features therein. Any equivalent structure made by using the content of the specification and drawings, directly or indirectly applied to other related technical fields, is also within the patent protection scope of the present application.

Claims

1. A method of cutting calibration, characterized by, The method comprises the following steps: acquiring an identification area length of a to-be-cut piece and preset cutting data, wherein the to-be-cut piece has at least two cutting identifications, and the preset cutting data comprises a preset cutting number and a preset identification interval between two adjacent cutting identifications; calculating an identification offset parameter according to the identification area length, the preset cutting number and the preset identification interval; calibrating a position of a to-be-calibrated cutting identification in the to-be-cut piece according to the identification offset parameter; before the step of acquiring the identification area length of the to-be-cut piece and the preset cutting data, the method further comprises: acquiring a preset alignment rule and a starting-point cutting identification in the to-be-cut piece; extracting a reference mark and an alignment condition from the preset alignment rule, and adjusting a position of the to-be-cut piece so that a positional relationship between the starting-point cutting identification and the reference mark satisfies the alignment condition; the step of acquiring the identification area length of the to-be-cut piece comprises: acquiring a first position parameter of the starting-point cutting identification and a second position parameter of an end-point cutting identification in the to-be-cut piece after calibration; calculating the identification area length according to the first position parameter and the second position parameter; the step of calculating the identification offset parameter according to the identification area length, the preset cutting number and the preset identification interval comprises: calculating an actual identification interval according to the identification area length and the preset cutting number, wherein the actual identification interval represents an interval between two adjacent cutting identifications in the to-be-cut piece; calculating the identification offset parameter according to the actual identification interval and the preset identification interval.

2. The method of cutting calibration of claim 1, wherein, after the step of adjusting the position of the to-be-cut piece so that the positional relationship between the starting-point cutting identification and the reference mark satisfies the alignment condition, the method further comprises: acquiring the starting-point cutting identification in the to-be-cut piece after calibration, and calculating an included angle parameter between the starting-point cutting identification and the reference mark; extracting a preset angle threshold from the preset alignment rule, and judging whether the included angle parameter satisfies the preset angle threshold; if the included angle parameter satisfies the preset angle threshold, the starting-point cutting identification is successfully aligned; if the included angle parameter does not satisfy the preset angle threshold, the position of the starting-point cutting identification is readjusted, and the included angle parameter between the starting-point cutting identification after re-calibration and the reference mark is calculated until the included angle parameter between the starting-point cutting identification after re-calibration and the reference mark satisfies the preset angle threshold.

3. The method of cutting calibration of claim 1, wherein, the step of calibrating the position of the to-be-calibrated cutting identification in the to-be-cut piece according to the identification offset parameter comprises: acquiring a current cutting number, and determining a to-be-calibrated cutting identification in the to-be-cut piece according to the current cutting number; calculating a third position parameter of the to-be-calibrated cutting identification according to the current cutting number, the first position parameter, the preset identification interval and the identification offset parameter; calibrating the position of the to-be-calibrated cutting identification according to the third position parameter.

4. The method of cutting calibration of claim 1, wherein, Before the step of calibrating the position of the to-be-calibrated cutting mark in the to-be-cut piece according to the mark offset parameter, the method further comprises: acquiring a preset offset threshold, and determining whether the mark offset parameter meets the preset offset threshold; if the mark offset parameter meets the preset offset threshold, outputting the mark offset parameter; if the mark offset parameter does not meet the preset offset threshold, acquiring a preset determination rule and historical mark offset parameters, determining a mark offset parameter meeting the preset offset threshold from the historical mark offset parameters according to the preset determination rule, and outputting the mark offset parameter meeting the preset offset threshold.

5. A cutting calibration device, characterized by The cutting calibration device implements the steps of the cutting calibration method according to any one of claims 1 to 4, and comprises: a first acquisition module configured to acquire a mark region length of a to-be-cut piece and preset cutting data, wherein the to-be-cut piece has at least two cutting marks, and the preset cutting data comprises a preset cutting frequency and a preset mark interval between adjacent two cutting marks; an offset amount calculation module configured to calculate a mark offset parameter according to the mark region length, the preset cutting frequency and the preset mark interval; and a position calibration module configured to calibrate a position of a to-be-calibrated cutting mark in the to-be-cut piece according to the mark offset parameter.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the cutting calibration method according to any one of claims 1 to 4 when executing the computer program.

7. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the cutting calibration method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Methods for calibrating portioning apparatus

    CN110023050A

  • Label printing control device, non-transitory computer-readable storage medium storing label printing control program, and label printing control method

    US20170011286A1