Calculation method and device for positioning mode of servo shaft of stamping machine and stamping machine
By generating simulated strings and simulating the positioning method of the servo axis of the hot stamping machine, the problems of long calculation time and low material utilization of the servo axis of the hot stamping machine are solved, and fast and efficient positioning method calculation and material utilization optimization are achieved.
Patent Information
- Application Number
- CN202210716179.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2042-06-23
AI Technical Summary
In the existing technology, the positioning method of the servo axis of the hot stamping machine has a long calculation time, resulting in low production efficiency and low utilization of hot stamping materials, which is especially obvious when there are many hot stamping patterns, many modules, or inconsistencies.
By generating a simulated string corresponding to the hot stamping mold and simulating the positioning method of the servo axis through multiple rounds of movement of the simulated string, the hot stamping material utilization rate under various candidate movement methods is calculated, and finally the efficient servo axis positioning method is determined.
It enables rapid calculation of the positioning method of the hot stamping machine's servo axis, improving production efficiency and the utilization rate of hot stamping materials, while reducing calculation time and labor costs.
Smart Images

Figure CN115130294B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of printing control, and in particular to a calculation method and device for positioning of a servo shaft of a hot stamping machine and the hot stamping machine. BACKGROUND
[0002] The hot stamping pattern of a hot stamping machine is determined by a hot stamping die. In operation, the hot stamping die is fixed, and the servo shaft of the hot stamping machine drives the hot stamping material to move to realize hot stamping of the pattern. The hot stamping modules on the hot stamping die are random in size and number, and there can be as many as 10 hot stamping modules on a hot stamping die. In order to save hot stamping material and improve the utilization rate of the hot stamping material, the positioning mode (uniform positioning or step positioning) of the servo shaft needs to be calculated in real time according to the random hot stamping pattern during hot stamping.
[0003] At present, when the positioning mode of the servo shaft is calculated, the workers calculate it on site according to the pattern to be hot stamped.
[0004] However, in the case of a small number of hot stamping patterns, the calculation by the workers is still relatively accurate. Once the number of hot stamping patterns increases, the hot stamping modules are more, the sizes of the hot stamping patterns or the hot stamping modules are inconsistent, the distances between the hot stamping modules are inconsistent, etc., the difficulty of calculation by the human brain becomes very great. Not only does it take a lot of calculation time, which seriously affects the production efficiency, but it can also result in low utilization rate of the hot stamping material. SUMMARY
[0005] Therefore, the present application provides a calculation method and device for positioning of a servo shaft of a hot stamping machine and the hot stamping machine, so as to shorten the calculation time of the positioning mode of the servo shaft of the hot stamping machine, improve the production efficiency, and improve the utilization rate of the hot stamping material.
[0006] In a first aspect, a calculation method for positioning of a servo shaft of a hot stamping machine is provided, which includes:
[0007] generating a simulation string corresponding to the hot stamping die according to the composition and arrangement of the hot stamping modules in the hot stamping die;
[0008] simulating various positioning modes of the servo shaft of the hot stamping machine when hot stamping the pattern by moving the simulation string in multiple rounds;
[0009] determining at least one candidate movement mode according to the movement results of the simulation string in each round;
[0010] calculating the utilization rate of the hot stamping material when the servo shaft is positioned in various candidate movement modes according to the simulation string and the simulation string after movement in each round;
[0011] determining the positioning mode of the servo shaft of the hot stamping machine according to each utilization rate.
[0012] In one embodiment of the first aspect, the generating the simulation string corresponding to the stamping die according to the composition and arrangement of the stamping modules in the stamping die comprises:
[0013] obtaining the width, arrangement interval and arrangement sequence of each stamping module in the stamping die;
[0014] determining the arrangement string of the stamping modules according to the width, arrangement interval and arrangement sequence of each stamping module;
[0015] obtaining the unit length during the conversion of the string;
[0016] converting the quotient value between the character representing the width of the stamping module in the arrangement string of the stamping modules and the unit length into a corresponding number of first characters, and converting the quotient value between the character representing the arrangement interval in the arrangement string of the stamping modules and the unit length into a corresponding number of second characters;
[0017] combining the first characters and the second characters according to the arrangement sequence to obtain the simulation string corresponding to the stamping die.
[0018] In one embodiment of the first aspect, the determining at least one candidate movement mode according to the movement result of each round of the simulation string comprises:
[0019] for each round of movement, determining whether the application of the movement result of the simulation string to the positioning of the servo shaft will cause the pattern overlap phenomenon;
[0020] if not, determining the movement mode of the simulation string in this round of movement as a candidate movement mode.
[0021] In one embodiment of the first aspect, the dividing the simulation string into multiple rounds of movement to simulate various positioning modes of the stamping pattern of the stamping machine servo shaft comprises:
[0022] in each round of movement of the simulation string, adopting the step-by-step movement or the uniform step movement to move the simulation string to simulate one positioning mode of the stamping pattern of the stamping machine servo shaft, wherein, in each round of movement of the simulation string, the simulation string is moved at least once; the length of each movement of the simulation string in the step-by-step movement is different, and the length of each movement of the simulation string in the uniform step movement is equal.
[0023] In one embodiment of the first aspect, a positioning method for moving the simulation string in a step-by-step manner to simulate the positioning of the stamping pattern of the servo shaft of the stamping machine comprises: determining a moving step length for moving the simulation string in the step-by-step manner, wherein the moving step length comprises a first step length and a second step length, the first step length is determined according to the maximum width of each stamping module, and the second step length is determined according to the length of the stamping die and the moving times of the first step length; moving the simulation string by the first step length for M times, and then moving the simulation string by the second moving step length for one time, wherein M is obtained by rounding off the ratio between the minimum distance between adjacent stamping modules and the maximum width of each stamping module.
[0024] and / or,
[0025] A positioning method for moving the simulation string in a uniform manner to simulate the positioning of the stamping pattern of the servo shaft of the stamping machine comprises: determining a specified step length as the moving step length for moving the simulation string in the uniform manner, and moving the simulation string according to the specified step length.
[0026] In one embodiment of the first aspect, the calculation of the usage rate of the stamping material when the servo shaft is positioned in each candidate moving manner according to the simulation string and the simulation string after each round of movement comprises:
[0027] The calculation of the usage rate of the stamping material when the servo shaft is positioned in each candidate moving manner according to the proportion of the number of the first character and the second character in the simulation string and the simulation string after each round of movement.
[0028] In one embodiment of the first aspect, the determination of the positioning method of the servo shaft of the stamping machine according to each usage rate comprises:
[0029] sequentially displaying each usage rate and the corresponding candidate moving manner;
[0030] When any candidate moving manner is detected to be selected, the positioning method of the servo shaft corresponding to the selected candidate moving manner is determined as the positioning method of the servo shaft of the stamping machine.
[0031] In the second aspect, a positioning method calculation device for the servo shaft of the stamping machine is provided, which comprises:
[0032] A generating unit configured to generate a simulation string corresponding to a stamping die according to the composition and arrangement of stamping modules in the stamping die;
[0033] A moving unit configured to move the simulation string in multiple rounds to simulate various positioning methods of the stamping pattern of the servo shaft of the stamping machine;
[0034] The first determining unit is configured to determine at least one candidate movement mode according to the movement result of the simulation string by each wheel;
[0035] The calculating unit is configured to calculate the usage rate of the hot stamping material when the servo shaft is positioned in each candidate movement mode according to the simulation string and the simulation string after movement by each wheel;
[0036] The second determining unit is configured to determine the positioning mode of the servo shaft of the hot stamping machine according to each usage rate.
[0037] In one embodiment of the second aspect, the generating unit comprises:
[0038] The first obtaining module is configured to obtain the width, arrangement interval and arrangement sequence of each hot stamping module in the hot stamping die;
[0039] The determining module is configured to determine the hot stamping module arrangement string according to the width, arrangement interval and arrangement sequence of each hot stamping module;
[0040] The second obtaining module is configured to obtain the unit length during string conversion;
[0041] The converting module is configured to convert the quotient value between the character representing the width of the hot stamping module in the hot stamping module arrangement string and the unit length into a corresponding number of first characters, and convert the quotient value between the character representing the arrangement interval in the hot stamping module arrangement string and the unit length into a corresponding number of second characters;
[0042] The combining module is configured to combine the first characters and the second characters according to the arrangement sequence to obtain the simulation string corresponding to the hot stamping die.
[0043] In one embodiment of the second aspect, the first determining unit is configured to:
[0044] For each round of movement, it is determined whether the pattern overlap phenomenon will occur when the movement result of the simulation string is applied to the positioning of the servo shaft;
[0045] If not, the movement mode of the simulation string in this round of movement is determined as one candidate movement mode.
[0046] In one embodiment of the second aspect, the moving unit is configured to:
[0047] In each round of movement of the simulation string, the simulation string is moved in a step-by-step manner or a uniform step manner to simulate one positioning mode of the hot stamping machine servo shaft when hot stamping a pattern, wherein the simulation string is moved at least once in each round of movement of the simulation string; the movement length of the simulation string in each step of the step-by-step manner is different, and the movement length of the simulation string in each step of the uniform step manner is equal.
[0048] In an embodiment of the second aspect, the moving unit moves the simulation string in a skip mode to simulate the positioning of the stamping pattern of the servo shaft of the stamping machine, including: determining a moving step length when the simulation string is moved in the skip mode, the moving step length including a first step length and a second step length, the first step length being determined according to the maximum width of each stamping module, and the second step length being determined according to the length of the stamping die and the moving times of the first step length; moving the simulation string by the first step length M times, and then moving the simulation string by the second step length once, M being obtained by rounding the ratio between the minimum distance between adjacent stamping modules and the maximum width of each stamping module.
[0049] and / or,
[0050] The moving unit moves the simulation string in a uniform mode to simulate the positioning of the stamping pattern of the servo shaft of the stamping machine, including: determining a specified step length as the moving step length when the simulation string is moved in the uniform mode, and moving the simulation string according to the specified step length.
[0051] In an embodiment of the second aspect, the computing unit is configured to:
[0052] According to the number proportion of the first character and the second character in the simulation string and the simulation string after each round of movement, respectively calculate the use rate of the stamping material when the servo shaft is positioned in each candidate moving mode.
[0053] In an embodiment of the second aspect, the second determining unit includes:
[0054] The display module is configured to display each use rate and the corresponding candidate moving mode in sequence.
[0055] The determining module is configured to determine that the selected candidate moving mode corresponds to the positioning mode of the servo shaft of the stamping machine when it is detected that any candidate moving mode is selected.
[0056] In a third aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. When the computer program is executed in a computer, the method of the first aspect is executed.
[0057] In a fourth aspect, a stamping machine is provided, including a memory and a processor, the memory stores executable code, and the processor executes the executable code to implement the method of the first aspect.
[0058] It can be seen from the above scheme that the present application provides a method for calculating the positioning mode of the servo shaft of the hot stamping machine by a computer or other device with computing function, through which the positioning mode of the servo shaft of the hot stamping machine can be quickly calculated, thereby saving the calculation time and improving the production efficiency, and through calculating the utilization rate of the hot stamping material when the servo shaft is positioned in various candidate moving modes and determining the positioning mode of the servo shaft of the hot stamping machine according to each utilization rate, the positioning mode with higher utilization rate of the hot stamping material can be selected, thereby saving the cost. In addition, since the machine calculation is adopted, even when the number of hot stamping patterns increases, the hot stamping modules are more, the sizes of the hot stamping patterns or the hot stamping modules are inconsistent, the distances between the hot stamping modules are inconsistent and the like, the calculation can be accurately and quickly performed, and the calculation time can be shortened and the labor cost can be saved. BRIEF DESCRIPTION OF DRAWINGS
[0059] The preferred embodiments of the present application will be described in detail below with reference to the accompanying drawings, so that the above and other features and advantages of the present application can be more clearly understood by those skilled in the art.
[0060] Figure 1 The flow chart of the method for calculating the positioning mode of the servo shaft of the hot stamping machine provided by the embodiments of the present application.
[0061] Figure 2 The flow chart of the method for generating the simulation string corresponding to the hot stamping die provided by the embodiments of the present application.
[0062] Figure 3 The schematic diagram of the moving process of a skip moving mode.
[0063] Figure 4 The block diagram of the calculating device of the positioning mode of the servo shaft of the hot stamping machine provided by the embodiments of the present application.
[0064] Figure 5 The block diagram of the generating unit provided by the embodiments of the present application.
[0065] Figure 6 The block diagram of the second determining unit provided by the embodiments of the present application.
[0066] LIST OF REFERENCE NUMERALS
[0067] 101: generating the simulation string corresponding to the hot stamping die according to the composition and arrangement of the hot stamping modules in the hot stamping die
[0068] 103: moving the simulation string in multiple rounds to simulate various positioning modes of the servo shaft of the hot stamping machine when the hot stamping patterns are printed
[0069] 105: determining at least one candidate moving mode according to the moving result of the simulation string in each round
[0070] 107: calculating the usage of the hot stamping material when the servo shaft is positioned in each candidate moving mode according to the simulation string and the simulation string after moving in each round
[0071] 109: determining the positioning mode of the servo shaft of the hot stamping machine according to each usage
[0072] 1011: obtaining the width, arrangement interval and arrangement sequence of each hot stamping module in the hot stamping die
[0073] 1013: determining the hot stamping module arrangement string according to the width, arrangement interval and arrangement sequence of each hot stamping module
[0074] 1015: obtaining the unit length during the conversion of the string
[0075] 1017: converting the quotient value between the character representing the width of the hot stamping module in the hot stamping module arrangement string and the unit length into a corresponding number of first characters, and converting the quotient value between the character representing the arrangement interval in the hot stamping module arrangement string and the unit length into a corresponding number of second characters
[0076] 1019: combining the first characters and the second characters according to the arrangement sequence to obtain the corresponding simulation string of the hot stamping die
[0077] 401: generation unit
[0078] 403: moving unit
[0079] 405: first determination unit
[0080] 407: calculation unit
[0081] 409: second determination unit
[0082] 4011: first obtaining module
[0083] 4013: determination module
[0084] 4015: second obtaining module
[0085] 4017: conversion module
[0086] 4019: combination module
[0087] 4091: display module
[0088] 4093: determination module DETAILED DESCRIPTION
[0089] In order to make the objects, technical solutions and advantages of the present application clearer, the following further describes the present application in detail with examples.
[0090] When the hot stamping machine stamps different patterns, the number, spacing and arrangement of the hot stamping dies used by the hot stamping dies may be the same or different. In order to meet the hot stamping requirements of different patterns, the positioning mode of the servo shaft needs to be calculated before hot stamping. Among them, the positioning mode of the servo shaft of the hot stamping machine refers to the way the servo shaft moves, whether it is a step mode or a uniform step mode, and how many steps are set when moving in a certain way. In order to solve the problem that manual calculation of the positioning mode of the servo shaft of the hot stamping machine requires a lot of calculation time, seriously affects production efficiency, and may cause the problem of low utilization rate of hot stamping materials, the present application provides a calculation method for the positioning mode of the servo shaft of the hot stamping machine. The method provides several candidate moving modes for selection by simulating the moving mode of the servo shaft on the hot stamping material when stamping the pattern. The method can be executed by any device, equipment, platform or device cluster with calculation and processing capability. As shown in Figure 1 The calculation method for the positioning mode of the servo shaft of the hot stamping machine provided by the present application includes the following steps:
[0091] Step 101, generating a simulation string corresponding to the hot stamping die according to the composition and arrangement of the hot stamping dies in the hot stamping die.
[0092] Among them, the hot stamping die includes several hot stamping dies, and the width of each hot stamping die may be the same or different; the spacing between adjacent hot stamping dies may be the same or different. The composition of the hot stamping die refers to the number of hot stamping dies, and the arrangement of the hot stamping die refers to the. The simulation string is a digital model that can be recognized by a CPU or other computing device, so as to provide candidate moving modes based on the simulation string subsequently.
[0093] Step 103, moving the simulation string in multiple rounds to simulate various positioning modes of the servo shaft of the hot stamping machine when stamping the pattern.
[0094] Moving the simulation string includes moving direction and moving distance. Moving the simulation string in one round simulates one positioning mode of the servo shaft when stamping the pattern.
[0095] Step 105, determining at least one candidate moving mode according to the moving results of the simulation string in each round.
[0096] The candidate moving mode refers to the moving mode of the simulation string applied to the moving mode of the servo shaft on the hot stamping material, which will not cause hot stamping problems, such as pattern overlap. When the moving mode of the simulation string in a certain round is applied to the moving mode of the servo shaft on the hot stamping material, the stamped pattern will be out of order, and the moving mode will be discarded directly.
[0097] Step 107, calculate the usage of the stamping material when the servo shaft is positioned in various candidate moving modes according to the simulation string and the simulation string after each round of movement.
[0098] Step 109, determine the positioning mode of the servo shaft of the stamping machine according to each usage.
[0099] The purpose of calculating the positioning mode of the servo shaft is to maximize the use of the stamping material, i.e., to improve the utilization rate of the stamping material, so as to save costs. Therefore, by calculating the usage of the stamping material when the servo shaft is positioned in various candidate moving modes and determining the positioning mode of the servo shaft of the stamping machine according to each usage, the candidate moving mode with the most reasonable utilization rate of the stamping material can be selected.
[0100] The method provided by the embodiment of the present application can generate a simulation string corresponding to the stamping die according to the composition and arrangement of the stamping modules in the stamping die, simulate various positioning modes of the servo shaft of the stamping machine when stamping a pattern by moving the simulation string, and provide a method for calculating the positioning mode of the servo shaft of the stamping machine by using a computer or other device with computing function. The positioning mode of the servo shaft of the stamping machine can be quickly calculated by using the method, which can not only save calculation time and improve production efficiency, but also facilitate the selection of a positioning mode with a high utilization rate of the stamping material by calculating the usage of the stamping material when the servo shaft is positioned in various candidate moving modes and determining the positioning mode of the servo shaft of the stamping machine according to each usage, thereby saving costs. In addition, since the calculation is performed by a machine, even if the number of stamping patterns increases, the stamping modules are more, the sizes of the stamping patterns or the stamping modules are inconsistent, the distances between the stamping modules are inconsistent, or the like, accurate and fast calculation can still be performed, and the calculation time can be shortened and the labor cost can be saved.
[0101] Specifically, as shown in FIG. 1, step 101 includes the following steps when generating a simulation string corresponding to the stamping die according to the composition and arrangement of the stamping modules in the stamping die: Figure 2
[0102] Step 1011, obtain the width, arrangement distance and arrangement sequence of each stamping module in the stamping die.
[0103] For example, the present embodiment provides a stamping die attribute UI interface, and an operator can input the number of stamping modules, the width, arrangement distance and arrangement sequence of each stamping module and other information on the UI interface. On this basis, the width, arrangement distance and arrangement sequence of each stamping module in the stamping die can be input by the operator in advance, and when the width, arrangement distance and arrangement sequence of each stamping module in the stamping die are obtained, the data input and stored by the user can be directly obtained.
[0104] In step 1013, the arrangement string of the hot stamping modules is determined according to the width, arrangement interval and arrangement sequence of the hot stamping modules.
[0105] The arrangement string can reflect the width, arrangement interval and arrangement sequence of the hot stamping modules. For example, if the hot stamping mold comprises three hot stamping modules, i.e., hot stamping module a, hot stamping module b and hot stamping module c arranged in sequence, the width of the hot stamping module a, the hot stamping module b and the hot stamping module c is 2 cm, 1 cm and 1 cm respectively, the arrangement interval between the hot stamping module a and the hot stamping module b is 6 cm, and the arrangement interval between the hot stamping module b and the hot stamping module c is 4 cm, the arrangement string of the hot stamping modules can be represented as 26141.
[0106] In step 1015, the unit length during the conversion of the string is obtained.
[0107] The unit length can be set as needed, and the embodiment does not make specific limitation thereon. In order to facilitate the conversion of the arrangement string, the unit length can be the minimum value between the width and the arrangement interval of the hot stamping modules. In combination with the above example, the unit length can be 1 cm.
[0108] In step 1017, the quotient value between the character representing the width of the hot stamping module in the arrangement string of the hot stamping modules and the unit length is converted into a corresponding number of first characters, and the quotient value between the character representing the arrangement interval in the arrangement string of the hot stamping modules and the unit length is converted into a corresponding number of second characters.
[0109] The first character and the second character can be set at will as needed, such as A and B, @ and #, 8 and 9, etc. However, in order to facilitate the recognition of the CPU and other computing devices and improve the computing efficiency, the first character and the second character are preferably set to 1 and 0 which can be directly recognized by the computing device. In order to facilitate the conversion of the simulation string, the unit length is preferably set to the minimum value between the width and the arrangement interval of the hot stamping modules.
[0110] In step 1019, the first character and the second character are combined according to the arrangement sequence to obtain the simulation string corresponding to the hot stamping mold.
[0111] In order to enable the simulation string to represent the width, arrangement interval and arrangement sequence of the hot stamping modules, the first character and the second character are combined according to the arrangement sequence, and the simulation string can be obtained.
[0112] For example, when the arrangement string of the hot stamping modules is 26141, the unit length is 1 cm, and the first character and the second character are 1 and 0 respectively, the simulation string is 11000000100001.
[0113] In another embodiment of the present invention, the purpose of step 103, which involves multiple rounds of simulated movement of the simulated string, is to simulate various positioning methods when the servo axis is hot-pressing the pattern, so that the optimal servo axis positioning method can be found subsequently. The direction and distance of movement of each round of simulated movement of the simulated string can be determined in combination with the positioning method when the hot-pressing machine's servo axis is hot-pressing the pattern.
[0114] Specifically, in one round of movement of the simulated string, the movement can be either moving a certain distance in one direction, or moving a certain distance in one direction followed by moving another distance in the same direction. That is, one round of movement of the simulated string can include moving the simulated string once or moving it multiple times (at least twice). When one round of movement of the simulated string includes at least two movements, and each movement is the same distance, this movement method is called a uniform movement method; when the distances of each movement differ, this movement method is called a skip movement method. Furthermore, in a skip movement method, there can be cases where the first few movements are the same distance, but the distance of the last movement differs from the distances of the previous movements.
[0115] Based on the above, in step 103, during each round of moving the simulated string, either a skipping or uniform step method can be used to move the simulated string to simulate a positioning method when the hot stamping machine's servo axis is used to stamp the pattern. Specifically, there are two methods:
[0116] The first method: This method uses a skip-step movement of the simulated string to simulate the positioning of a hot stamping machine's servo axis when stamping patterns. The implementation of this method involves determining the step size when moving the simulated string using the skip-step movement technique. The step size can be set as needed.
[0117] In one specific embodiment, the step size of the skip-step method includes a first step size and a second step size. The first step size is determined based on the maximum width of each hot stamping module, and the second step size is determined based on the length of the hot stamping mold and the number of moves according to the first step size. In this case, during one round of movement, the simulated string is first moved M times according to the first step size, and then the simulated string is moved once according to the second step size. M is obtained by rounding down the ratio between the minimum distance between adjacent hot stamping modules and the maximum width of each hot stamping module.
[0118] like Figure 3 As shown, it is a schematic diagram of this type of jump movement. Figure 3 The number 0 represents the arrangement before the hot stamping mold moves, number 1 represents the arrangement after the first movement, number 2 represents the arrangement after the second movement, and number 3 represents the arrangement after the third movement. Figure 3 Therefore, the distance that needs to be moved for the fourth time is the sum of the length of the hot stamping mold and M times the length of the first step.
[0119] It should be noted that the first mode only exemplarily lists the case that the one round jump mode includes moving with two moving steps, however, in actual hot stamping process, the number of moving steps included in the one round jump mode can be set as multiple according to needs.
[0120] The second mode: a positioning mode for moving the simulation string in a uniform step mode to simulate the hot stamping pattern of the servo shaft of the hot stamping machine, including: determining a specified step length as the moving step length when moving the simulation string in the uniform step mode, and moving the simulation string according to the specified step length. Wherein, the specified step length can be set according to needs, which is not specifically limited in the embodiment.
[0121] Further, in step 103, when moving the simulation string in multiple rounds, the number of rounds of moving the simulation string can be obtained by rounding off the ratio between the minimum distance between adjacent hot stamping modules and the maximum width of each hot stamping module. Through this way of determining the number of moving rounds, a reasonable number of candidate moving modes can be selected, and the problem of low calculation efficiency caused by large calculation amount can be avoided.
[0122] Optionally, in step 105, when determining at least one candidate moving mode according to the moving result of the simulation string in each round, since the pattern overlapping phenomenon occurs when the moving result of the simulation string is applied to the servo shaft positioning, which will cause the printing error of the hot stamping pattern, therefore, in the specific implementation, for each round of moving, it is judged whether the pattern overlapping phenomenon will occur when the moving result of the simulation string is applied to the servo shaft positioning; if the pattern overlapping phenomenon will not occur when the moving result of the simulation string is applied to the servo shaft positioning, then the moving mode of the simulation string in this round is determined as a candidate moving mode.
[0123] In combination with the above example, when the simulation string is 11000000100001 and the moving mode is moving one unit length (1 cm) to the right, the simulation string and the simulation string after moving are as follows: 11000000100001 11000000100001
[0126] Therefore, after moving according to this moving mode, the pattern printed by the hot stamping module a overlaps, therefore, this is an invalid movement, and this moving mode cannot be used as a candidate moving mode.
[0127] When the simulation string is 11000000100001 and the moving mode is moving one unit length (2 cm) to the right, then after moving, the pattern overlapping phenomenon will not occur, therefore, the moving mode of moving two unit lengths to the right is a candidate moving mode.
[0128] Specifically, when the first character and the second character are 1 and 0 respectively, in judging whether the pattern overlap phenomenon will occur when the moving result of the simulation string is applied to the positioning of the servo axis, the simulation string and the simulation string after moving can be subjected to AND operation (the empty position after moving is filled with 0), and when the AND operation result is non-zero, it is determined that the pattern overlap phenomenon will occur when the moving result of the simulation string is applied to the positioning of the servo axis; when the AND operation result is 0, it is determined that the pattern overlap phenomenon will not occur when the moving result of the simulation string is applied to the positioning of the servo axis.
[0129] In combination with the above, since the space occupied by the first character simulation hot stamping material and the space not occupied on the second character simulation hot stamping material, in another embodiment of the present application, step 107 can calculate the usage rate of the hot stamping material when the servo axis is positioned in various candidate moving ways according to the simulation string and the simulation string after each round of moving, respectively, according to the proportion of the number of the first character and the second character in the simulation string and the simulation string after each round of moving.
[0130] Specifically, when the first character and the second character are 1 and 0 respectively, for a certain round of moving, the simulation string and the simulation string after moving can be subjected to OR operation, and the proportion of 1 and 0 in the OR operation result is used to determine the usage rate of the hot stamping material corresponding to the candidate moving way.
[0131] For example, when the simulation string is 11000000100001 and the moving way is moving two unit lengths (1 cm) to the right, the result of OR operation of the simulation string and the simulation string after moving is 1111000010100101, and the proportion of the number 1 in the result can be used to determine that the usage rate of the hot stamping material when positioned in this candidate moving way is 8 / 16, i.e. 50%.
[0132] Further, in order to facilitate the user to select the positioning way of the servo axis of the hot stamping machine, step 109 can first display each usage rate and the corresponding candidate moving way in order when determining the positioning way of the servo axis of the hot stamping machine according to each usage rate, so as to directly display the specific moving way of each candidate moving way and the usage rate corresponding to each candidate moving way. On this basis, when any candidate moving way is detected to be selected, the positioning way of the servo axis corresponding to the selected candidate moving way is determined as the positioning way of the servo axis of the hot stamping machine.
[0133] An embodiment of the present application also provides a positioning way calculation device for the servo axis of the hot stamping machine, which can be any device, equipment, platform or device cluster with computing and processing capabilities. As shown in the figure, the device comprises: Figure 4 a processor, a memory and a communication interface.
[0134] The generating unit 401 is configured to generate a simulation string corresponding to the hot stamping die according to the composition and arrangement of the hot stamping modules in the hot stamping die.
[0135] The moving unit 403 is configured to move the simulation string in multiple rounds to simulate various positioning modes of the hot stamping machine servo shaft when printing the pattern.
[0136] The first determining unit 405 is configured to determine at least one candidate moving mode according to the moving result of the simulation string in each round.
[0137] The calculating unit 407 is configured to calculate the usage rate of the hot stamping material when the servo shaft is positioned in each candidate moving mode according to the simulation string and the simulation string after moving in each round.
[0138] The second determining unit 409 is configured to determine the positioning mode of the hot stamping machine servo shaft according to each usage rate.
[0139] Optionally, as shown in the figure, Figure 5 The generating unit 401 includes:
[0140] The first obtaining module 4011 is configured to obtain the width, arrangement interval and arrangement sequence of each hot stamping module in the hot stamping die.
[0141] The determining module 4013 is configured to determine the hot stamping module arrangement string according to the width, arrangement interval and arrangement sequence of each hot stamping module.
[0142] The second obtaining module 4015 is configured to obtain the unit length when converting the string.
[0143] The converting module 4017 is configured to convert the quotient value between the character representing the width of the hot stamping module in the hot stamping module arrangement string and the unit length into a corresponding number of first characters, and convert the quotient value between the character representing the arrangement interval in the hot stamping module arrangement string and the unit length into a corresponding number of second characters.
[0144] The combining module 4019 is configured to combine the first characters and the second characters according to the arrangement sequence to obtain the simulation string corresponding to the hot stamping die.
[0145] Optionally, the first determining unit 405 is configured to:
[0146] For each round of movement, it is judged whether the pattern overlap phenomenon will occur when the moving result of the simulation string is applied to the positioning of the servo shaft;
[0147] If not, the moving mode of the simulation string in this round of movement is determined as a candidate moving mode.
[0148] Optionally, the moving unit 403 is configured to:
[0149] In each round of moving the simulation string, the simulation string is moved in a skip mode or a uniform mode to simulate a positioning mode of the hot stamping machine when the hot stamping pattern is positioned by the servo shaft, wherein the simulation string is moved at least once in each round of moving the simulation string; the length of each movement of the simulation string in the skip mode is different, and the length of each movement of the simulation string in the uniform mode is equal.
[0150] Optionally, the moving unit 403 moves the simulation string in a skip mode to simulate a positioning mode of the hot stamping machine when the hot stamping pattern is positioned by the servo shaft, comprising: determining a movement step length of the simulation string in the skip mode, the movement step length comprising a first step length and a second step length, the first step length being determined according to a maximum width of each hot stamping module, and the second step length being determined according to a length of the hot stamping die and a movement number of the first step length; moving the simulation string M times according to the first step length, and then moving the simulation string once according to the second movement step length, M being obtained by rounding a ratio between a minimum distance between adjacent hot stamping modules and the maximum width of each hot stamping module.
[0151] And / or,
[0152] The moving unit 403 moves the simulation string in a uniform mode to simulate a positioning mode of the hot stamping machine when the hot stamping pattern is positioned by the servo shaft, comprising: determining a specified step length as a movement step length of the simulation string in the uniform mode, and moving the simulation string according to the specified step length.
[0153] Optionally, the calculation unit 407 is configured to: calculate, according to the number ratio of the first character and the second character in the simulation string and the simulation string after each round of movement, a usage rate of the hot stamping material when the servo shaft is positioned in each candidate movement mode.
[0154] Optionally, as shown in Figure 6 The second determination unit 409 comprises:
[0155] The display module 4091 is configured to display each usage rate and the corresponding candidate movement mode in sequence.
[0156] The determination module 4093 is configured to determine, when any candidate movement mode is detected to be selected, that a servo shaft positioning mode corresponding to the selected candidate movement mode is the positioning mode of the hot stamping machine servo shaft.
[0157] The device provided by the embodiment of the present application generates a corresponding simulation string of the hot stamping mold according to the composition and arrangement of the hot stamping modules in the hot stamping mold, and simulates various positioning modes of the hot stamping machine servo shaft when printing the pattern by moving the simulation string, thereby providing a method for calculating the positioning mode of the hot stamping machine servo shaft by using a computer or other devices with computing functions. The method can quickly calculate the positioning mode of the hot stamping machine servo shaft, thereby saving the calculation time and improving the production efficiency, and determining the positioning mode of the hot stamping machine servo shaft according to the use rate of the hot stamping material when the servo shaft is positioned in various candidate moving modes, thereby facilitating the selection of the positioning mode with a higher use rate of the hot stamping material, and saving the cost. In addition, since the machine calculation is adopted, the accurate and rapid calculation can be performed even when the number of hot stamping patterns increases, the hot stamping modules are more, the sizes of the hot stamping patterns or the hot stamping modules are inconsistent, the distances between the hot stamping modules are inconsistent, and the like, and the calculation time can be shortened and the labor cost can be saved.
[0158] It should be noted that the hot stamping machine in the embodiment of the present application can be any hot stamping machine that needs to calculate the positioning mode, such as a hot stamping machine flat press flat die cutting gold stamping machine or other precious metal hot stamping machine.
[0159] One embodiment of the present specification provides a computer readable storage medium, which stores a computer program, and when the computer program is executed in a computer, the computer executes the method in any one of the embodiments of the specification.
[0160] One embodiment of the present specification provides a hot stamping machine, which comprises a memory and a processor, the memory stores executable code, and when the processor executes the executable code, the method in any one of the embodiments of the specification is implemented.
[0161] It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the device service life calculation device. In other embodiments of the specification, the device service life calculation device can include more or fewer components than the illustration, or combine certain components, or split certain components, or different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0162] The information interaction, execution process and the like between the modules in the above device and system are based on the same concept as the method embodiments of the present specification, and the specific content can be referred to the description in the method embodiments of the present specification, which will not be described here.
[0163] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0164] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, widgets, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium.
[0165] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for calculating the positioning of a servo axis of a hot stamping machine, characterized in that, The method comprises the following steps: generating a simulation string corresponding to the stamping die according to the composition and arrangement of the stamping modules in the stamping die; simulating various positioning modes of the servo shaft of the stamping machine when stamping a pattern by moving the simulation string in multiple rounds; determining at least one candidate movement mode according to the movement results of the simulation string in each round, the candidate movement mode being used to represent a movement mode that will not cause stamping problems when the movement mode is applied to the movement of the servo shaft on the stamping material; calculating the usage rate of the stamping material when the servo shaft is positioned in various candidate movement modes according to the simulation string and the simulation string after each round of movement; determining the positioning mode of the servo shaft of the stamping machine according to the usage rate; The method comprises the following steps: obtaining the width, arrangement interval and arrangement sequence of each stamping module in the stamping die; determining a stamping module arrangement string according to the width, arrangement interval and arrangement sequence of each stamping module, the stamping arrangement string being used to represent the width, arrangement interval and arrangement sequence of each stamping module; obtaining the unit length during string conversion; converting the quotient value between the character representing the width of the stamping module in the stamping module arrangement string and the unit length into a corresponding number of first characters, and converting the quotient value between the character representing the arrangement interval in the stamping module arrangement string and the unit length into a corresponding number of second characters; combining the first characters and the second characters according to the arrangement sequence to obtain the simulation string corresponding to the stamping die; The method comprises the following steps: calculating the usage rate of the stamping material when the servo shaft is positioned in various candidate movement modes according to the proportion of the number of first characters and second characters in the simulation string and the simulation string after each round of movement.
2. The method of claim 1, wherein, The method comprises the following steps: for each round of movement, determining whether the movement result of the simulation string will cause pattern overlap when the servo shaft is positioned; if not, determining the movement mode of the simulation string in this round of movement as a candidate movement mode.
3. The method of claim 1, wherein, The method comprises the following steps: in each round of moving the simulation string, moving the simulation string in a step-by-step manner or a uniform step-by-step manner to simulate a positioning mode of the servo shaft of the stamping machine when stamping a pattern, wherein the simulation string is moved at least once in each round of moving the simulation string; the length of the simulation string moved each time in the step-by-step manner is different, and the length of the simulation string moved each time in the uniform step-by-step manner is equal.
4. The method of claim 3, wherein The positioning mode for simulating the stamping pattern of the servo shaft of the stamping machine by moving the simulation string in a step-by-step manner, comprising: determining a moving step length for moving the simulation string in the step-by-step manner, wherein the moving step length comprises a first step length and a second step length, the first step length is determined according to the maximum width of each stamping module, and the second step length is determined according to the length of the stamping die and the moving times of the first step length; moving the simulation string by the first step length M times, and then moving the simulation string by the second step length once, wherein M is obtained by rounding off the ratio between the minimum distance between adjacent stamping modules and the maximum width of each stamping module; and / or, The positioning mode for simulating the stamping pattern of the servo shaft of the stamping machine by moving the simulation string in a uniform manner, comprising: determining a specified step length as the moving step length for moving the simulation string in the uniform manner, and moving the simulation string according to the specified step length.
5. The method of claim 1, wherein, The positioning mode of the servo shaft of the stamping machine according to each usage rate, comprising: sequentially displaying each usage rate and the corresponding candidate moving mode; when detecting that any candidate moving mode is selected, determining that the corresponding servo shaft positioning mode of the selected candidate moving mode is the positioning mode of the servo shaft of the stamping machine.
6. A device for calculating the positioning of a servo axis of a stamping press, characterized in that, comprising: a generating unit configured to generate a simulation string corresponding to the stamping die according to the composition and arrangement of stamping modules in the stamping die; a moving unit configured to move the simulation string in multiple rounds to simulate various positioning modes of the servo shaft of the stamping machine when stamping a pattern; a first determining unit configured to determine at least one candidate moving mode according to the moving result of the simulation string in each round, wherein the candidate moving mode represents a moving mode that does not cause stamping problems when the moving mode of the simulation string is applied to the moving mode of the stamping material by the servo shaft; a calculating unit configured to calculate the usage rate of the stamping material when the servo shaft is positioned in various candidate moving modes according to the simulation string and the simulation string after each round of moving; a second determining unit configured to determine the positioning mode of the servo shaft of the stamping machine according to each usage rate; the generating unit configured to generate a simulation string corresponding to the stamping die according to the composition and arrangement of stamping modules in the stamping die, comprising: obtaining the width, arrangement interval and arrangement order of each stamping module in the stamping die; determining a stamping module arrangement string according to the width, arrangement interval and arrangement order of each stamping module, wherein the stamping arrangement string represents the width, arrangement interval and arrangement order of each stamping module; obtaining the unit length when converting the string; converting the quotient value between the character representing the width of the stamping module in the stamping module arrangement string and the unit length into a corresponding number of first characters, and converting the quotient value between the character representing the arrangement interval in the stamping module arrangement string and the unit length into a corresponding number of second characters; combining the first characters and the second characters according to the arrangement order to obtain the simulation string corresponding to the stamping die; The usage of the stamping material when the servo shaft is positioned in various candidate moving modes is calculated according to the simulated string and the simulated string after each round of movement, respectively, including: The usage of the stamping material when the servo shaft is positioned in various candidate moving modes is calculated according to the number proportion of the first character and the second character in the simulated string and the simulated string after each round of movement, respectively.
7. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and when the computer program is executed in the computer, the method in any one of claims 1-5 is executed.
8. A stamping press, characterized by The computer readable storage medium stores a computer program, and when the computer program is executed in the computer, the method in any one of claims 1-5 is executed. The computer readable storage medium stores a computer program, and when the computer program is executed in the computer, the method in any one of claims 1-5 is executed.
Citation Information
Patent Citations
Holographic positioning film with one cursor controlling plurality of hot stamping positions
CN211166171U