A full-automatic gilding machine control method and system
By establishing mathematical relationships and image recognition algorithms through the fully automatic hot stamping machine control system, fully automated calculation of parameters and intelligent production are achieved, solving the difficulties in debugging and consistency issues of existing systems, and improving the production efficiency and product quality of the hot stamping machine.
Patent Information
- Application Number
- CN202510839818.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2045-06-23
AI Technical Summary
Existing fully automatic hot stamping machine control systems are difficult to debug, lack flexibility, and lack real-time sensing capabilities when dealing with multi-specification products or complex patterns. This leads to hot stamping position deviation and temperature control errors, affecting product consistency. Furthermore, they lack intelligent learning capabilities and are difficult to adapt to process adjustments.
By establishing mathematical relationships between substrate size, step distance, spindle speed, conveyor speed, and tension control, fully automated calculation and control of all parameters are achieved. Combined with image recognition algorithms, the position and clarity of hot stamping patterns are detected, and process parameters are dynamically adjusted to realize intelligent production.
To ensure the consistency and stability of hot stamping quality, improve production efficiency, reduce manual intervention and material waste, achieve precise positioning and clear pattern effects, and enhance product quality control.
Smart Images

Figure CN120620846B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of hot stamping processing, and in particular to a fully automatic hot stamping machine control method and system. Background Technology
[0002] Fully automatic hot stamping machines are high-precision processing equipment integrating mechanics, electronics, thermal energy, and pressure control. They are widely used in packaging printing, craft decoration, and surface treatment of plastic products. The control method directly affects the accuracy, efficiency, and stability of the hot stamping process. Currently, most control systems employ servo drives, PLCs (Programmable Logic Controllers), or industrial PCs in conjunction with touch-screen human-machine interfaces for overall coordination. These systems combine temperature control modules, pressure detection units, and position feedback mechanisms to achieve multi-axis linkage, high-speed, and stable hot stamping operations.
[0003] The mainstream control methods mainly include mechanical cam control, PLC control systems, and intelligent control systems based on industrial computers. Mechanical cam control is a mature technology with low cost, suitable for simple, repetitive machining tasks. However, it is difficult to debug, lacks flexibility, and struggles to adapt to rapid switching between multiple product specifications or complex patterns. PLC control, as one of the mainstream solutions, has advantages in industrial reliability and scalability, facilitating multi-dimensional linkage control of temperature, pressure, and position. However, PLCs have limited capabilities in image processing and complex motion trajectory control; their response speed and algorithm complexity are insufficient to meet the demands of precision machining.
[0004] Existing PLC and mechanical controls largely rely on manually set parameters, lacking real-time sensing capabilities for paper elasticity, foil thickness variations, and ambient temperature fluctuations. This can easily lead to stamping position deviations or temperature control errors, affecting product consistency. Furthermore, most control systems have limited compatibility with non-standard products, and mold changeovers and debugging are time-consuming, impacting production flexibility. Moreover, control programs lacking intelligent learning capabilities struggle to optimize and adjust based on historical process data, failing to achieve truly adaptive stamping and still relying on experience-based parameter settings, increasing operational difficulty and the risk of errors. Summary of the Invention
[0005] This application provides a fully automatic hot stamping machine control method, including the following steps:
[0006] A1, obtain the preset substrate size data;
[0007] A2, calculate and determine the corresponding step distance based on the substrate size data and the preset interval width;
[0008] A3, calculate the corresponding spindle speed based on the preset hot stamping production rate and step distance;
[0009] A4. Determine the corresponding substrate conveying speed based on the spindle speed and the preset substrate speed ratio.
[0010] A5, the corresponding hot foil advance speed is determined according to the spindle speed and the preset hot foil speed ratio;
[0011] A6, calculate the corresponding tension speed correction coefficient based on the hot foil advance speed and the preset hot foil reference speed;
[0012] A7. Calculate the corresponding hot stamping foil tension value by multiplying the preset hot stamping foil width, preset material tension coefficient, and tension speed correction coefficient.
[0013] A8 performs hot stamping trial production on preset substrates based on jump distance, spindle speed, substrate conveying speed, hot stamping foil advance speed, hot stamping foil force value, and preset timing synchronization parameters.
[0014] By adopting the above technical solution, the fully automatic hot stamping machine control method can establish a mathematical relationship between the substrate size, step distance, spindle speed, conveyor speed, and tension control, thereby achieving fully automated calculation and control of all parameters in the hot stamping production process. It can automatically adjust various process parameters according to different substrate specifications to ensure the consistency and stability of hot stamping quality. At the same time, through the dynamic calculation of the tension speed correction coefficient, it can effectively prevent problems such as wrinkling and tearing of hot stamping paper, thereby effectively improving production efficiency and reducing the need for manual intervention and material waste.
[0015] Optionally, the fully automatic hot stamping machine control method further includes the following steps:
[0016] B1, Obtain the standard hot stamping surface image data of the preset standard substrate hot stamping sample;
[0017] B2, based on the standard hot stamping surface image data, the corresponding substrate image sample position data and hot stamping pattern image sample position data are determined by a preset image position recognition algorithm;
[0018] B3. Determine the relative position data of the hot stamping pattern based on the position data of the printed image sample and the position data of the hot stamping pattern image sample.
[0019] B4, during the hot stamping trial production operation, obtain the image data of the finished hot stamping surface of the printed part;
[0020] B5. Based on the finished hot stamping surface image data, the corresponding substrate image position data and hot stamping pattern image position data are determined through an image position recognition algorithm.
[0021] B6. Determine the relative position data of the finished hot stamping pattern based on the image position data of the substrate and the image position data of the hot stamping pattern.
[0022] B7. Calculate the corresponding deviation data of the finished hot stamping pattern based on the relative position data of the sample hot stamping pattern and the relative position data of the finished hot stamping pattern.
[0023] B8. If the deviation of the finished hot stamping pattern is less than or equal to the preset pattern deviation threshold, then the corresponding hot stamping finished product on the substrate is defined as a qualified hot stamping finished product.
[0024] By adopting the above technical solution, the fully automatic hot stamping machine control method can automatically detect the position and judge the quality of hot stamping patterns by comparing and analyzing the images of standard samples and actual finished products. It can identify pattern offset problems in real time during the hot stamping process, automatically screen out hot stamping finished products with qualified positioning, effectively avoid the subjectivity and inefficiency of traditional manual visual inspection, ensure the positional accuracy and consistency of hot stamping products, and provide a reliable data basis for subsequent parameter optimization and adjustment, thereby improving the level of product quality control.
[0025] Optionally, the fully automatic hot stamping machine control method further includes the following steps:
[0026] C1. Obtain the hot stamping pattern image data of the sample based on the hot stamping pattern image sample position data and the corresponding standard hot stamping surface image data of the standard substrate hot stamping sample.
[0027] C2, calculate the corresponding sample hot stamping pattern clarity based on the sample hot stamping pattern image data using a preset image clarity algorithm;
[0028] C3. Obtain the finished hot stamping pattern image data based on the hot stamping pattern image position data corresponding to the qualified hot stamping finished product and the corresponding finished product hot stamping surface image data.
[0029] C4, calculate the corresponding clarity of the finished hot stamping pattern based on the image data of the finished hot stamping pattern using an image clarity algorithm;
[0030] C5, calculate the corresponding finished product clarity deviation based on the clarity of the hot stamping pattern in the sample and the clarity of the hot stamping pattern in the finished product;
[0031] C6. If the finished product's clarity deviation is less than the preset clarity deviation threshold, then the corresponding qualified hot stamping finished product is defined as a qualified hot stamping finished product.
[0032] By adopting the above technical solution, the fully automatic hot stamping machine control method can automatically identify quality defects such as blurred or unclear patterns caused by improper process parameters such as temperature, pressure, and speed during the hot stamping process by comparing and analyzing the clarity of hot stamping patterns between standard samples and actual finished products. This achieves automated detection from positional accuracy to pattern quality, ensuring that the hot stamping finished products have both accurate positional positioning and clear pattern effects, effectively improving product quality standards and consistency.
[0033] Optionally, the fully automatic hot stamping machine control method further includes the following steps for determining timing synchronization parameters:
[0034] D1, calculates and determines the corresponding spindle speed based on the spindle speed and the preset effective spindle diameter;
[0035] D2, determine the corresponding base heating time, base pressure response time and base cooling time based on the preset hot stamping foil substrate information;
[0036] D3, the corresponding base heating advance angle is calculated and determined based on the spindle speed and base heating time;
[0037] D4, the corresponding foundation pressurization delay angle is calculated and determined based on the spindle speed and foundation pressurization response time;
[0038] D5, the corresponding foundation separation advance angle is calculated and determined based on the spindle speed and foundation cooling time;
[0039] D6 generates timing synchronization parameters based on the combination of the base heating advance angle, base pressurization delay angle, and base separation advance angle.
[0040] By adopting the above technical solution, the fully automatic hot stamping machine control method can calculate the optimal timing and angle of each process step (heating, pressurizing, and cooling) by associating the characteristics of the hot stamping paper substrate with the spindle motion parameters. This achieves intelligent synchronous control of the hot stamping process sequence, ensuring optimal heating, pressure transmission, and cooling and setting time for different materials and production speeds. It effectively avoids quality problems such as poor hot stamping adhesion, pattern deformation, and material damage caused by improper timing, effectively improving the stability and adaptability of the hot stamping process and providing stable timing control for hot stamping production on different substrates.
[0041] Optionally, the fully automatic hot stamping machine control method further includes the following steps:
[0042] E1, during the trial production of hot stamping, collects the tension values of each hot stamping cycle;
[0043] E2 defines a hot stamping finished product with a deviation data greater than the pattern deviation threshold as a positioning defective hot stamping finished product.
[0044] E3, calculate and determine the corresponding pattern deviation direction based on the relative position data of the hot stamping pattern of the sample hot stamping pattern and the relative position data of the hot stamping pattern of the finished product with unqualified positioning.
[0045] E4 defines a hot stamping product with a positive deviation as one where the pattern deviates from the same direction as the hot stamping foil's forward direction.
[0046] E5 defines a hot stamping product with a pattern deviation direction that is opposite to the direction of the hot stamping foil as a non-conforming product with a reverse deviation.
[0047] E6: Obtain the corresponding tension values based on all positive deviation non-conforming finished products and combine them to generate positive deviation tension data;
[0048] E7: Obtain the corresponding tension values based on all non-conforming products with reverse deviation and combine them to generate reverse deviation tension data;
[0049] E8, based on the positive deviation tension data, calculates and determines the corresponding minimum value through a preset statistical algorithm and defines it as the positive deviation minimum tension value;
[0050] E9, based on the reverse deviation tension data, the corresponding maximum value is calculated and defined as the maximum reverse deviation tension value through a statistical algorithm;
[0051] E10, the corresponding effective tension range is determined based on the minimum tension value in the positive direction and the maximum tension value in the negative direction;
[0052] E11, the force value of hot stamping paper is corrected according to the effective tension range.
[0053] By adopting the above technical solution, the fully automatic hot stamping machine control method can intelligently identify different deviation modes caused by excessive or insufficient tension by statistically analyzing the correlation between the deviation direction of the pattern of defective products and the corresponding tension value, thereby determining the optimal tension control range. This achieves dynamic adaptive adjustment of the hot stamping paper force, solves the problem of pattern position offset caused by improper tension control, improves the hot stamping positioning accuracy and finished product qualification rate, and continuously improves the tension control strategy through continuous data feedback and parameter optimization, providing intelligent quality assurance for achieving high-precision and high-stability automated hot stamping production.
[0054] Optionally, the fully automatic hot stamping machine control method further includes the following steps:
[0055] F1, during the trial production of hot stamping, collects the actual heating time, actual pressurization time and actual cooling time of each hot stamping cycle;
[0056] F2, obtain the actual heating time, actual pressurization time and actual cooling time combination corresponding to qualified hot stamping finished products to generate the corresponding qualified product actual time sequence synchronization time data;
[0057] F3, determine the corresponding timing synchronization duration weight value based on the finished product clarity deviation of qualified hot stamping finished products;
[0058] F4, calculate the corresponding weight adjustment timing synchronization time data based on the actual timing synchronization time data and timing synchronization time weight value of qualified hot stamping finished products;
[0059] F5 determines the optimal timing synchronization time data by calculating the weighted average of the timing synchronization time data of all qualified hot stamping finished products.
[0060] F6 calculates and determines the corresponding optimal timing synchronization parameters based on the optimal timing synchronization duration data and spindle speed.
[0061] F7 corrects the timing synchronization parameters based on the optimal timing synchronization parameters.
[0062] By adopting the above technical solution, the fully automatic hot stamping machine control method can collect and analyze the actual time-series data of qualified hot stamping products, and perform weighted average calculation based on the weight value set according to the clarity deviation. It can automatically identify and extract the optimal heating, pressurizing, and cooling time-series parameters, realizing the transformation from theoretical calculation to a time-series control strategy driven by actual production data. It can continuously optimize process parameters according to actual production results, effectively eliminate the deviation between theoretical values and actual optimal values, and thus improve the stability and consistency of hot stamping quality. It provides a reliable technical path for realizing intelligent process parameter self-learning and continuous improvement based on production data.
[0063] Optionally, the image sharpness algorithm includes the following steps:
[0064] G1 generates a corresponding grayscale image of the hot stamping pattern based on the preset input hot stamping pattern image data through a preset grayscale image algorithm.
[0065] G2 generates corresponding hot stamping pattern Laplacian response map data based on the preset Laplacian convolution kernel and the grayscale image of the hot stamping pattern using the preset Laplacian algorithm.
[0066] G3 calculates the corresponding variance based on the Laplacian value of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the response map variance.
[0067] G4 determines the maximum absolute value of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the maximum absolute value of the response map.
[0068] G5, calculates the mean of the absolute values of the Laplacian values of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the mean of the absolute values of the response map.
[0069] G6 determines the clarity of the corresponding hot stamping pattern by calculating the variance, maximum absolute value, and mean absolute value of the response map using a preset weighted algorithm.
[0070] By adopting the above technical solution, the fully automatic hot stamping machine control method can convert the hot stamping pattern image into a grayscale image and apply a Laplacian convolution kernel for edge detection. By comprehensively utilizing the statistical features of three dimensions—variance, maximum absolute value, and mean absolute value—it achieves a quantitative evaluation of the clarity of the hot stamping pattern. It can effectively identify the edge sharpness, contrast, and overall clarity of the image, providing a numerical judgment standard for the automated detection of hot stamping quality. This ensures the objectivity and consistency of the clarity evaluation and effectively avoids the errors and instability of subjective human judgment.
[0071] This application also provides a fully automatic hot stamping machine control system, including:
[0072] Image acquisition module;
[0073] Detection module;
[0074] Processing control module;
[0075] The image acquisition module and the detection module are respectively connected to the processing and control module.
[0076] The detection module includes a position detection module, a temperature detection module, a pressure detection module, and a tension detection module, and the position detection module, the temperature detection module, the pressure detection module, and the tension detection module are respectively connected to the processing and control module.
[0077] The fully automatic hot stamping machine control system further includes an automatic hot stamping strategy, comprising the following steps:
[0078] H1, the preset substrate size data is obtained through the processing control module;
[0079] H2, the processing control module calculates and determines the corresponding step distance based on the substrate size data and the preset interval width;
[0080] H3, the processing control module calculates the corresponding spindle speed based on the preset hot stamping production rate and step distance;
[0081] H4 determines the corresponding substrate conveying speed based on the spindle speed and the preset substrate speed ratio;
[0082] H5 determines the corresponding hot foil advance speed based on the spindle speed and the preset hot foil speed ratio;
[0083] H6, calculates the corresponding tension speed correction coefficient based on the hot stamping foil advance speed and the preset hot stamping foil reference speed;
[0084] H7 calculates the corresponding hot stamping foil force value by multiplying the preset hot stamping foil width, preset material tension coefficient, and tension speed correction coefficient.
[0085] H8, through the processing control module, controls the preset hot stamping machine to perform hot stamping trial production on the preset substrate based on the step distance, spindle speed, substrate conveying speed, hot stamping foil advance speed, hot stamping foil force value and preset timing synchronization parameters.
[0086] By adopting the above technical solution, the fully automatic hot stamping machine control system can establish a mathematical relationship between substrate size, step distance, spindle speed, conveyor speed, and tension control, thereby achieving fully automated calculation and control of all parameters in the hot stamping production process. It can automatically adjust various process parameters according to different substrate specifications to ensure the consistency and stability of hot stamping quality. At the same time, through the dynamic calculation of the tension speed correction coefficient, it can effectively prevent problems such as wrinkling and tearing of hot stamping paper, thereby effectively improving production efficiency and reducing the need for manual intervention and material waste.
[0087] In summary, this application includes at least one of the following beneficial technical effects:
[0088] 1. By establishing mathematical relationships between substrate size, step distance, spindle speed, conveyor speed, and tension control, the entire hot stamping production process can be automatically calculated and controlled. This allows for the automatic adjustment of various process parameters based on different substrate specifications, ensuring the consistency and stability of hot stamping quality. Furthermore, the dynamic calculation of tension and speed correction coefficients effectively prevents problems such as wrinkling and tearing of hot stamping paper, thereby significantly improving production efficiency and reducing the need for manual intervention and material waste.
[0089] 2. By comparing and analyzing images of standard samples and actual finished products, the position of hot stamping patterns can be automatically detected and the quality can be judged. It can identify pattern offset problems in real time during the hot stamping process, automatically screen out hot stamping finished products with qualified positioning, effectively avoid the subjectivity and inefficiency of traditional manual visual inspection, ensure the positional accuracy and consistency of hot stamping products, and provide a reliable data basis for subsequent parameter optimization and adjustment, thereby improving the level of product quality control.
[0090] 3. By comparing the clarity of hot stamping patterns between standard samples and actual finished products, the system can automatically identify quality defects such as blurred or unclear patterns caused by improper process parameters such as temperature, pressure, and speed during the hot stamping process. This achieves automated detection from positional accuracy to pattern quality, ensuring that the finished hot stamping products have both accurate positional positioning and clear pattern effects, effectively improving product quality standards and consistency. Attached Figure Description
[0091] Figure 1This is a schematic diagram of the process of a fully automatic hot stamping machine control method according to the present invention.
[0092] Figure 2 This is a schematic diagram of the principle of a fully automatic hot stamping machine control system according to the present invention. Detailed Implementation
[0093] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0094] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0095] refer to Figure 1 This invention provides a fully automatic hot stamping machine control method for automatically adjusting and controlling the hot stamping machine to perform hot stamping operations, comprising the following steps:
[0096] A1, obtain the preset substrate size data;
[0097] The substrate size data refers to the dimensions of the substrate that needs to be hot stamped, which can be set or entered in advance by the staff.
[0098] A2, calculate and determine the corresponding step distance based on the substrate size data and the preset interval width;
[0099] The spacing width is the distance between two hot stamping patterns, which can be determined according to the spacing between adjacent printed materials.
[0100] The jump distance is the distance that the foil travels during a single foil stamping operation.
[0101] A3, calculate the corresponding spindle speed based on the preset hot stamping production rate and step distance;
[0102] The hot stamping production rate is the pre-set hot stamping speed of the substrate, for example, the hot stamping production requirement is 1000 pieces / hour;
[0103] The spindle speed is the linear speed of the spindle that drives the hot stamping operation. For example, if the hot stamping production needs to reach 1000 pieces / hour and the step distance is 50mm, then the spindle speed = 1000 × 50 ÷ 60 = 833 mm / min.
[0104] A4. Determine the corresponding substrate conveying speed based on the spindle speed and the preset substrate speed ratio.
[0105] The substrate speed ratio is the preset ratio of the substrate conveying speed to the spindle speed, which is usually 1.
[0106] The substrate conveying speed is the linear speed of the substrate conveying.
[0107] A5, the corresponding hot foil advance speed is determined according to the spindle speed and the preset hot foil speed ratio;
[0108] The hot foil speed ratio is the preset ratio of the hot foil feed speed to the spindle speed, which is usually 1.
[0109] The forward speed of the hot foil is the linear velocity of the hot foil.
[0110] A6, calculate the corresponding tension speed correction coefficient based on the hot foil advance speed and the preset hot foil reference speed;
[0111] The reference speed of hot stamping foil is the preset forward speed of the equipment, which can be determined according to the equipment or by measurement by the staff.
[0112] The corresponding tension speed correction coefficient can be calculated based on the hot foil advance speed and the hot foil reference speed, combined with the set adjustment coefficient. For example, the tension speed correction coefficient = 1 + (hot foil advance speed - hot foil reference speed) / hot foil reference speed × adjustment coefficient. The adjustment coefficient here can be set according to the requirements. For example, the value of the adjustment coefficient can be 0.001.
[0113] A7. Calculate the corresponding hot stamping foil tension value by multiplying the preset hot stamping foil width, preset material tension coefficient, and tension speed correction coefficient.
[0114] The width of the hot stamping foil is the width of the selected hot stamping foil, which can be determined by measurement or according to the material markings;
[0115] The material tension coefficient is the tension coefficient corresponding to various hot stamping foil substrates, which can be determined according to the hot stamping foil substrate. For example, the tension coefficient of PET substrate hot stamping foil is generally 0.8-1.2 N / mm, the tension coefficient of OPP substrate hot stamping foil is generally 0.6-1.0 N / mm, and the tension coefficient of paper-based hot stamping foil is generally 0.4-0.8 N / mm.
[0116] The foil tension value is the tension value that the foil needs to achieve at the foil's forward speed. It can be calculated and determined based on the foil width, material tension coefficient, and tension speed correction coefficient. For example, foil tension value (N) = foil width (mm) × material tension coefficient × tension speed correction coefficient.
[0117] Furthermore, the tension of the hot stamping paper can be adjusted according to the temperature and humidity in the production environment. For example, for temperature adjustment, the tension decreases by 3-5% for every 10°C increase; for humidity adjustment, the tension increases by 2-3% for every 10% increase in humidity.
[0118] A8 performs hot stamping trial production on preset substrates based on jump distance, spindle speed, substrate conveying speed, hot stamping foil advance speed, hot stamping foil force value, and preset timing synchronization parameters.
[0119] The timing synchronization parameters are preset parameters for various actions during the hot stamping process, including heating advance angle, pressure delay angle, and separation advance angle;
[0120] Based on the control of various parameters, the corresponding hot stamping machine is used to conduct trial production of the printed parts in order to test or verify the various calculated parameters.
[0121] Through the above steps, the fully automatic hot stamping machine control method can establish a mathematical relationship between substrate size, step distance, spindle speed, conveyor speed, and tension control, thereby achieving fully automated calculation and control of all parameters in the hot stamping production process. It can automatically adjust various process parameters according to different substrate specifications to ensure the consistency and stability of hot stamping quality. At the same time, through the dynamic calculation of the tension speed correction coefficient, it can effectively prevent problems such as wrinkling and tearing of hot stamping paper, thereby effectively improving production efficiency and reducing the need for manual intervention and material waste.
[0122] Furthermore, the fully automatic hot stamping machine control method further includes the following steps:
[0123] B1, Obtain the standard hot stamping surface image data of the preset standard substrate hot stamping sample;
[0124] Standard hot stamping samples are pre-produced standard hot stamping samples that meet the requirements of hot stamping production and can be used as a reference standard for whether the product is qualified.
[0125] The standard hot stamping surface image data is the image data of the sample hot stamping surface.
[0126] B2, based on the standard hot stamping surface image data, the corresponding substrate image sample position data and hot stamping pattern image sample position data are determined by a preset image position recognition algorithm;
[0127] The image position recognition algorithm is a pre-set recognition algorithm used to identify the position of the printed material and hot stamping pattern in the image. It can match and locate the identification based on the pre-set shape information of the printed material and the shape information of the hot stamping pattern.
[0128] The image sample position data of the printed part is the position data of the image of the printed part in the standard hot stamping surface image data;
[0129] The position data of the hot stamping pattern image sample is the position data of the hot stamping pattern in the standard hot stamping surface image data.
[0130] B3. Determine the relative position data of the hot stamping pattern based on the position data of the printed image sample and the position data of the hot stamping pattern image sample.
[0131] The relative position data of the hot stamping pattern in the sample is the position data of the hot stamping pattern in the standard sample relative to the substrate, that is, the positioning data of the hot stamping pattern on the substrate of the standard sample.
[0132] The corresponding positioning reference points can be determined based on the position data of the printed image sample and the position data of the hot stamping pattern image sample, and the orientation vector between the two positioning reference points can be calculated to determine the positioning reference points.
[0133] B4, during the hot stamping trial production operation, obtain the image data of the finished hot stamping surface of the printed part;
[0134] The image data of the finished hot stamping surface is the image data of the hot stamping finished product generated during the trial production process.
[0135] B5. Based on the finished hot stamping surface image data, the corresponding substrate image position data and hot stamping pattern image position data are determined through an image position recognition algorithm.
[0136] The image position data of the substrate is the position data of the image of the substrate within the image position data of the hot stamping pattern;
[0137] The hot stamping pattern image position data refers to the position data of the hot stamping pattern within the hot stamping pattern image position data.
[0138] B6. Determine the relative position data of the finished hot stamping pattern based on the image position data of the substrate and the image position data of the hot stamping pattern.
[0139] The relative position data of the finished hot stamping pattern refers to the position data of the hot stamping pattern relative to the substrate in the finished hot stamping product.
[0140] B7. Calculate the corresponding deviation data of the finished hot stamping pattern based on the relative position data of the sample hot stamping pattern and the relative position data of the finished hot stamping pattern.
[0141] The deviation data of the finished hot stamping pattern is data representing the degree of deviation between the relative position data of the sample hot stamping pattern and the relative position data of the finished hot stamping pattern. It can be calculated by taking the vector difference between the two vectorized relative position data, or by calculating the corresponding Euclidean distance or cosine similarity data from the two vectorized relative position data.
[0142] B8. If the deviation of the finished hot stamping pattern is less than or equal to the preset pattern deviation threshold, then the corresponding hot stamping finished product of the substrate is defined as a qualified hot stamping finished product.
[0143] The pattern deviation threshold is a preset reference value used to determine the degree of deviation of the finished hot stamping pattern. If the finished hot stamping pattern deviation data is a numerical value, it can be directly compared with the pattern deviation threshold. If the finished hot stamping pattern deviation data is a vector, the magnitude of the vector can be obtained first and then compared with the pattern deviation threshold.
[0144] A qualified hot stamping finished product is a hot stamping finished product of a substrate that meets the positioning requirements of the hot stamping pattern.
[0145] Through the above steps, the fully automatic hot stamping machine control method can automatically detect and judge the position of the hot stamping pattern by comparing and analyzing the images of standard samples and actual finished products. It can identify pattern offset problems in real time during the hot stamping process, automatically screen out hot stamping finished products with qualified positioning, effectively avoid the subjectivity and inefficiency of traditional manual visual inspection, ensure the positional accuracy and consistency of hot stamping products, and provide a reliable data basis for subsequent parameter optimization and adjustment, thereby improving the product quality control level.
[0146] Furthermore, the fully automatic hot stamping machine control method further includes the following steps:
[0147] C1. Obtain the hot stamping pattern image data of the sample based on the hot stamping pattern image sample position data and the corresponding standard hot stamping surface image data of the standard substrate hot stamping sample.
[0148] The hot stamping pattern image data of the sample is the image data of the hot stamping pattern in the standard hot stamping surface image data.
[0149] C2, calculate the corresponding sample hot stamping pattern clarity based on the sample hot stamping pattern image data using a preset image clarity algorithm;
[0150] Image sharpness algorithms are pre-defined image algorithms used to determine the sharpness of an image, such as gradient algorithms, frequency domain methods, Tenengrad algorithms, etc.
[0151] The clarity of the hot stamping pattern on the sample refers to the clarity value corresponding to the image data of the hot stamping pattern on the sample.
[0152] C3. Obtain the finished hot stamping pattern image data based on the hot stamping pattern image position data corresponding to the qualified hot stamping finished product and the corresponding finished product hot stamping surface image data.
[0153] The image data of the finished hot stamping pattern is the image data of the hot stamping pattern in the image data of the finished hot stamping surface corresponding to the qualified hot stamping finished product.
[0154] C4, calculate the corresponding clarity of the finished hot stamping pattern based on the image data of the finished hot stamping pattern using an image clarity algorithm;
[0155] The clarity of the finished hot stamping pattern is the clarity value corresponding to the image data of the finished hot stamping pattern, that is, the clarity value of the hot stamping pattern of the finished product.
[0156] C5, calculate the corresponding finished product clarity deviation based on the clarity of the hot stamping pattern in the sample and the clarity of the hot stamping pattern in the finished product;
[0157] The finished product clarity deviation is the degree of deviation between the clarity of the sample hot stamping pattern and the clarity of the finished product hot stamping pattern. It can be determined by calculating the difference between the clarity of the sample hot stamping pattern and the clarity of the finished product hot stamping pattern.
[0158] C6. If the finished product's clarity deviation is less than the preset clarity deviation threshold, then the corresponding qualified hot stamping finished product is defined as a qualified hot stamping finished product.
[0159] The sharpness deviation threshold is a preset reference value used to determine the magnitude of the sharpness deviation in the finished product.
[0160] A qualified hot stamping product is a hot stamping product with a clear hot stamping pattern that meets the positioning requirements.
[0161] Through the above steps, the fully automatic hot stamping machine control method can automatically identify quality defects such as blurred or unclear patterns caused by improper process parameters such as temperature, pressure, and speed during the hot stamping process by comparing and analyzing the clarity of hot stamping patterns between standard samples and actual finished products. This achieves automated detection from positional accuracy to pattern quality, ensuring that the hot stamping finished products have both accurate positional positioning and clear pattern effects, effectively improving product quality standards and consistency.
[0162] Furthermore, the fully automatic hot stamping machine control method further includes the following steps for determining timing synchronization parameters:
[0163] D1, calculates and determines the corresponding spindle speed based on the spindle speed and the preset effective spindle diameter;
[0164] The effective diameter of the spindle is the effective circumferential diameter of the hot stamping machine spindle driving the hot stamping action, which is usually the diameter of the cam, gear, or synchronous pulley;
[0165] The spindle speed is the spindle's angular velocity, which can be calculated using the following formula:
[0166] Spindle speed (rpm) = spindle speed (mm / min) ÷ (π × effective spindle diameter (mm)).
[0167] D2, determine the corresponding base heating time, base pressure response time and base cooling time based on the preset hot stamping foil substrate information;
[0168] The hot stamping foil substrate information refers to the material information of the substrate of the hot stamping foil;
[0169] The basic heating time is the heating time corresponding to the hot stamping foil substrate information, that is, the time difference between when the hot stamping plate starts heating and when it comes into contact with the substrate;
[0170] The basic pressure response time is the pressure response time corresponding to the hot stamping foil substrate, that is, the time delay from contact to the application of pressure;
[0171] The basic cooling time is the cooling time corresponding to the hot stamping foil substrate, that is, the time point at which the hot stamping plate is lifted from the surface of the substrate after the hot stamping process is completed.
[0172] D3, the corresponding base heating advance angle is calculated and determined based on the spindle speed and base heating time;
[0173] The basic heating advance angle is the advance angle corresponding to the basic heating duration, which can be calculated using the following formula:
[0174] Heating advance angle (degrees) = Heating duration (seconds) × Spindle speed (rpm) × 6
[0175] The coefficient 6 is calculated by converting 360 degrees to 60 seconds.
[0176] D4, the corresponding foundation pressurization delay angle is calculated and determined based on the spindle speed and foundation pressurization response time;
[0177] The base pressurization delay angle is the delay angle corresponding to the base pressurization response time, and can be calculated using the following formula:
[0178] Pressure delay angle (degrees) = Material response time (seconds) × Spindle speed (revolutions / minute) × 6.
[0179] D5, the corresponding foundation separation advance angle is calculated and determined based on the spindle speed and foundation cooling time;
[0180] The basic separation advance angle is the advance angle corresponding to the basic cooling time for the end of hot stamping, which can be calculated using the following formula:
[0181] Separation advance angle (degrees) = Cooling time (seconds) × Spindle speed (revolutions / minute) × 6.
[0182] D6, generates timing synchronization parameters based on the combination of the base heating advance angle, the base pressurization delay angle, and the base separation advance angle;
[0183] The timing synchronization parameters are formed by combining the foundation heating advance angle, foundation pressurization delay angle, and foundation separation advance angle.
[0184] Through the above steps, the fully automatic hot stamping machine control method can calculate the optimal timing and angle for each process step—heating, pressurizing, and cooling—by associating the characteristics of the hot stamping foil substrate with the spindle motion parameters. This achieves intelligent synchronous control of the hot stamping process sequence, ensuring optimal heating, pressure transmission, and cooling and setting time for different materials and production speeds. It effectively avoids quality problems such as poor hot stamping adhesion, pattern deformation, and material damage caused by improper timing, effectively improving the stability and adaptability of the hot stamping process and providing stable timing control guarantees for hot stamping production on different substrates.
[0185] Furthermore, the fully automatic hot stamping machine control method further includes the following steps:
[0186] E1, during the trial production of hot stamping, collects the tension values of each hot stamping cycle;
[0187] The tension value is the tension value experienced by the hot stamping foil during each hot stamping cycle.
[0188] E2 defines a hot stamping finished product with a deviation data greater than the pattern deviation threshold as a positioning defective hot stamping finished product.
[0189] A non-compliant hot stamping finished product is a hot stamping finished product whose hot stamping pattern deviates from the data greater than the pattern deviation threshold, that is, a hot stamping finished product with a large positioning deviation of the hot stamping pattern.
[0190] E3, calculate and determine the corresponding pattern deviation direction based on the relative position data of the hot stamping pattern of the sample hot stamping pattern and the relative position data of the hot stamping pattern of the finished product with unqualified positioning.
[0191] The deviation direction of the pattern is the deviation direction of the hot stamping pattern of the unqualified hot stamping finished product compared with the hot stamping pattern of the standard substrate hot stamping sample. It can be calculated and determined based on the vector corresponding to the relative position data of the hot stamping pattern of the sample and the relative position data of the hot stamping pattern of the finished product.
[0192] Furthermore, the deviation direction of the pattern can be a binary quantity. For example, the angle of the deviation direction can be defined as 1 in a certain set angle range and -1 in another set angle range. For instance, when the deviation direction is between -90° and 90°, the deviation direction is set to 1, and when the deviation direction is between 90° and 270°, the deviation direction is set to -1.
[0193] E4 defines a hot stamping product with a positive deviation as one where the pattern deviates from the same direction as the hot stamping foil's forward direction.
[0194] The direction in which the hot foil is moved is the same as the direction in which the hot foil is moved.
[0195] Positive deviation refers to defective hot stamping products where the pattern deviates in the same direction as the hot stamping foil's forward direction, indicating a positioning defect.
[0196] For example, the value of the forward direction of the hot foil can be set to 1, and the direction can be determined to be the same or different by comparing it with the deviation direction of the binarized pattern exemplified in E3.
[0197] E5 defines a hot stamping product with a pattern deviation direction that is opposite to the direction of the hot stamping foil as a non-conforming product with a reverse deviation.
[0198] Reverse deviation defective finished products are those with positioning defects where the pattern deviates in a different direction from the direction the hot stamping foil is moving.
[0199] E6: Obtain the corresponding tension values based on all positive deviation non-conforming finished products and combine them to generate positive deviation tension data;
[0200] The positive deviation tension data is a collection of tension values corresponding to each non-conforming finished product with positive deviation.
[0201] E7: Obtain the corresponding tension values based on all non-conforming products with reverse deviation and combine them to generate reverse deviation tension data;
[0202] The reverse deviation tension data is a collection of tension values corresponding to unqualified finished products that deviate in the reverse direction.
[0203] E8, based on the positive deviation tension data, calculates and determines the corresponding minimum value through a preset statistical algorithm and defines it as the positive deviation minimum tension value;
[0204] The statistical algorithm is a pre-defined algorithm used to calculate the minimum value of the positive deviation tension data and determine a reasonable minimum value after appropriate data processing of the positive deviation tension data.
[0205] The minimum tension value for positive deviation is the smallest among the tension values that may cause positive deviation of the hot stamping pattern. That is, tension values less than the minimum tension value for positive deviation will not cause positive deviation of the hot stamping pattern.
[0206] E9, based on the reverse deviation tension data, the corresponding maximum value is calculated and defined as the maximum reverse deviation tension value through a statistical algorithm;
[0207] The maximum tension value for reverse deviation is the maximum value among the tension values that may cause the hot stamping pattern to deviate in the reverse direction. That is, a tension value greater than the maximum tension value for reverse deviation will not cause the hot stamping pattern to deviate in the reverse direction.
[0208] E10, the corresponding effective tension range is determined based on the minimum tension value in the positive direction and the maximum tension value in the negative direction;
[0209] The effective tension range is determined by taking the maximum reverse deviation as the lower limit and the minimum forward deviation as the upper limit. That is, when the tension of the hot stamping foil falls within the effective tension range, the resulting hot stamping pattern will neither deviate forward nor backward.
[0210] E11, the force value of hot stamping paper is corrected according to the effective tension range;
[0211] The force value of hot stamping paper is adjusted by modifying the effective tension range. A reasonable force value of hot stamping paper is selected or calculated within the effective tension range.
[0212] Through the above steps, the fully automatic hot stamping machine control method can intelligently identify different deviation modes caused by excessive or insufficient tension by statistically analyzing the correlation between the deviation direction of the pattern in defective products and the corresponding tension value, thereby determining the optimal tension control range. This achieves dynamic adaptive adjustment of the hot stamping paper force, solves the problem of pattern position offset caused by improper tension control, improves the hot stamping positioning accuracy and finished product qualification rate, and continuously improves the tension control strategy through continuous data feedback and parameter optimization, providing intelligent quality assurance for achieving high-precision and high-stability automated hot stamping production.
[0213] Furthermore, the fully automatic hot stamping machine control method further includes the following steps:
[0214] F1, during the trial production of hot stamping, collects the actual heating time, actual pressurization time and actual cooling time of each hot stamping cycle;
[0215] The actual heating time is the actual heating time during each hot stamping cycle, which can be collected by setting the corresponding temperature sensor;
[0216] The actual pressure application time is the actual pressure application time during each hot stamping cycle, which can be collected by setting the corresponding pressure sensor;
[0217] The actual cooling time is the actual cooling time during each hot stamping cycle. The corresponding time can be determined by collecting component position data through the setting of corresponding position sensors.
[0218] F2, obtain the actual heating time, actual pressurization time and actual cooling time combination corresponding to qualified hot stamping finished products to generate the corresponding qualified product actual time sequence synchronization time data;
[0219] The actual time synchronization duration data for qualified products is a collection of data on the actual heating time, actual pressurization time, and actual cooling time corresponding to qualified hot stamping finished products.
[0220] F3, determine the corresponding timing synchronization duration weight value based on the finished product clarity deviation of qualified hot stamping finished products;
[0221] The timing synchronization duration weight value is determined based on the finished product clarity deviation of qualified hot stamping finished products. The smaller the finished product clarity deviation, the higher the weight value, and the larger the finished product clarity deviation, the lower the weight value.
[0222] F4, calculate the corresponding weight adjustment timing synchronization time data based on the actual timing synchronization time data and timing synchronization time weight value of qualified hot stamping finished products;
[0223] The weighted timing synchronization duration data is the actual timing synchronization duration data of qualified products calculated after weighting.
[0224] F5 determines the optimal timing synchronization time data by calculating the weighted average of the timing synchronization time data of all qualified hot stamping finished products.
[0225] The optimal timing synchronization duration data is the weighted average of the timing synchronization duration data of all qualified hot stamping finished products.
[0226] F6 calculates and determines the corresponding optimal timing synchronization parameters based on the optimal timing synchronization duration data and spindle speed.
[0227] The actual heating time, actual pressurization time, and actual cooling time in the optimal timing synchronization duration data are combined with the spindle speed to convert them into actual heating advance angle, actual pressurization delay angle, and actual separation advance angle. Then, the actual heating advance angle, actual pressurization delay angle, and actual separation advance angle are combined to obtain the optimal timing synchronization parameters.
[0228] F7, adjusts the timing synchronization parameters according to the optimal timing synchronization parameters;
[0229] Replace the timing synchronization parameters with the optimal timing synchronization parameters or modify them based on the correction algorithm.
[0230] Through the above steps, the fully automatic hot stamping machine control method can collect and analyze the actual time-series data of qualified hot stamping products, and perform weighted average calculation based on the weight value set according to the clarity deviation. It can automatically identify and extract the optimal heating, pressurizing, and cooling time-series parameters, realizing the transformation from theoretical calculation to a time-series control strategy driven by actual production data. It can continuously optimize process parameters according to actual production results, effectively eliminate the deviation between theoretical values and actual optimal values, and thus improve the stability and consistency of hot stamping quality. It provides a reliable technical path for realizing intelligent process parameter self-learning and continuous improvement based on production data.
[0231] Furthermore, the image sharpness algorithm includes the following steps:
[0232] G1 generates a corresponding grayscale image of the hot stamping pattern based on the preset input hot stamping pattern image data through a preset grayscale image algorithm.
[0233] The input hot stamping pattern image data is the hot stamping pattern for which image clarity calculation is required, such as the sample hot stamping pattern image data and the finished hot stamping pattern image data mentioned above.
[0234] Grayscale image algorithms are pre-defined image processing algorithms used to convert color images into grayscale images. Grayscale images can reduce redundant information, retain brightness variations related to sharpness, reduce computational dimensionality, and reduce noise interference.
[0235] The grayscale image of the hot stamping pattern is the grayscale data corresponding to the input hot stamping pattern image data.
[0236] G2 generates corresponding hot stamping pattern Laplacian response map data based on the preset Laplacian convolution kernel and the grayscale image of the hot stamping pattern using the preset Laplacian algorithm.
[0237] The Laplacian convolution kernel is a predefined convolution kernel. For example, a commonly used discrete Laplacian kernel is:
[0238] [ 0 -1 0 ]
[0239] [-1 4 -1 ]
[0240] [ 0 -1 0 ];
[0241] The Laplacian algorithm is a pre-defined image algorithm that can highlight the edges and high-frequency information of an image by calculating its second derivative.
[0242] The Laplacian response map data of the hot stamping pattern is a new image obtained by calculating the grayscale image of the hot stamping pattern using the Laplacian algorithm. Its pixel value represents the intensity of the second-order change of each point.
[0243] G3 calculates the corresponding variance based on the Laplacian value of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the response map variance.
[0244] The response map variance is the variance of the Laplacian values of each pixel in the Laplacian response map data of the hot stamping pattern.
[0245] G4 determines the maximum absolute value of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the maximum absolute value of the response map.
[0246] The maximum absolute value of the response map is the maximum absolute value of the Laplacian value of each pixel in the Laplacian response map data of the hot stamping pattern.
[0247] G5, calculates the mean of the absolute values of the Laplacian values of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the mean of the absolute values of the response map.
[0248] The absolute mean of the response map is the average of the absolute values of the Laplacian values of each pixel in the Laplacian response map data of the hot stamping pattern.
[0249] G6 determines the clarity of the corresponding hot stamping pattern by calculating the variance of the response map, the maximum absolute value of the response map, and the mean absolute value of the response map using a preset weighted algorithm.
[0250] The clarity of the hot stamping pattern is calculated based on the variance of the response plot, the maximum absolute value of the response plot, the mean absolute value of the response plot, and the corresponding weight ratio. The weight ratio of each value can be set based on experience or fitted with experimental data.
[0251] The clarity of the hot stamping pattern can be either the clarity of the sample hot stamping pattern or the clarity of the finished hot stamping pattern.
[0252] Through the above steps, the fully automatic hot stamping machine control method can convert the hot stamping pattern image into a grayscale image and apply a Laplacian convolution kernel for edge detection. By comprehensively utilizing the statistical features of three dimensions—variance, maximum absolute value, and mean absolute value—it achieves a quantitative assessment of the clarity of the hot stamping pattern. This method can effectively identify the edge sharpness, contrast, and overall clarity of the image, providing a numerical standard for the automated detection of hot stamping quality. It ensures the objectivity and consistency of the clarity assessment and effectively avoids the errors and instability of subjective human judgment.
[0253] refer to Figure 2 The present invention also provides a fully automatic hot stamping machine control system, comprising:
[0254] Image acquisition module 10;
[0255] Detection module 20;
[0256] Processing control module 30;
[0257] The image acquisition module 10 and the detection module 20 are respectively connected to the processing and control module 30.
[0258] The detection module 20 includes a position detection module 21, a temperature detection module 22, a pressure detection module 23, and a tension detection module 24. The position detection module 21, the temperature detection module 22, the pressure detection module 23, and the tension detection module 24 are respectively connected to the processing and control module 30.
[0259] The image acquisition module 10 is mainly used to acquire image data of hot stamping finished products and hot stamping samples.
[0260] The detection module 20 is mainly used to detect various parameters of the hot stamping machine during the hot stamping process;
[0261] The position detection module 21 is mainly used to detect the angular position of various components of the hot stamping machine;
[0262] The temperature detection module 22 is mainly used to detect the temperature data of the hot stamping plate;
[0263] The pressure detection module 23 is mainly used to detect the pressure data of the hot stamping plate;
[0264] The tension detection module 24 is mainly used to detect the tension data of hot stamping foil.
[0265] The processing and control module 30 is mainly used to receive data from other modules and to control other data and modules.
[0266] The fully automatic hot stamping machine control system further includes an automatic hot stamping strategy, comprising the following steps:
[0267] H1, the preset substrate size data is obtained through the processing control module 30;
[0268] H2, the processing control module 30 calculates and determines the corresponding step distance by summing the substrate size data and the preset interval width;
[0269] H3, the processing control module 30 calculates the corresponding spindle speed based on the preset hot stamping production rate and step distance;
[0270] H4 determines the corresponding substrate conveying speed based on the spindle speed and the preset substrate speed ratio;
[0271] H5 determines the corresponding hot foil advance speed based on the spindle speed and the preset hot foil speed ratio;
[0272] H6, calculates the corresponding tension speed correction coefficient based on the hot stamping foil advance speed and the preset hot stamping foil reference speed;
[0273] H7 calculates the corresponding hot stamping foil force value by multiplying the preset hot stamping foil width, preset material tension coefficient, and tension speed correction coefficient.
[0274] H8, through the processing control module 30, controls the preset hot stamping machine to perform hot stamping trial production on the preset substrate according to the step distance, spindle speed, substrate conveying speed, hot stamping foil advance speed, hot stamping foil force value and preset timing synchronization parameters.
[0275] Through the above technical solutions, the fully automatic hot stamping machine control system can establish a mathematical relationship between the substrate size, step distance, spindle speed, conveyor speed, and tension control to achieve fully automated calculation and control of all parameters in the hot stamping production process. It can automatically adjust various process parameters according to different substrate specifications to ensure the consistency and stability of hot stamping quality. At the same time, through the dynamic calculation of the tension speed correction coefficient, it can effectively prevent problems such as wrinkling and tearing of hot stamping paper, thereby effectively improving production efficiency and reducing the need for manual intervention and material waste.
[0276] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A control method for a fully automatic hot stamping machine, characterized in that, Includes the following steps: A1, obtain the preset substrate size data; A2, calculate and determine the corresponding step distance based on the substrate size data and the preset interval width; A3, calculate the corresponding spindle speed based on the preset hot stamping production rate and step distance; A4. Determine the corresponding substrate conveying speed based on the spindle speed and the preset substrate speed ratio. A5, the corresponding hot foil advance speed is determined according to the spindle speed and the preset hot foil speed ratio; A6, calculate the corresponding tension speed correction coefficient based on the hot foil advance speed and the preset hot foil reference speed; A7. Calculate the corresponding hot stamping foil tension value by multiplying the preset hot stamping foil width, preset material tension coefficient, and tension speed correction coefficient. A8 performs hot stamping trial production on preset substrates based on jump distance, spindle speed, substrate conveying speed, hot stamping foil advance speed, hot stamping foil force value, and preset timing synchronization parameters. Further steps include: B1, Obtain the standard hot stamping surface image data of the preset standard substrate hot stamping sample; B2, based on the standard hot stamping surface image data, the corresponding substrate image sample position data and hot stamping pattern image sample position data are determined by a preset image position recognition algorithm; B3. Determine the relative position data of the hot stamping pattern based on the position data of the printed image sample and the position data of the hot stamping pattern image sample. B4, during the hot stamping trial production operation, obtain the image data of the finished hot stamping surface of the printed part; B5. Based on the finished hot stamping surface image data, the corresponding substrate image position data and hot stamping pattern image position data are determined through an image position recognition algorithm. B6. Determine the relative position data of the finished hot stamping pattern based on the image position data of the substrate and the image position data of the hot stamping pattern. B7. Calculate the corresponding deviation data of the finished hot stamping pattern based on the relative position data of the sample hot stamping pattern and the relative position data of the finished hot stamping pattern. B8. If the deviation of the finished hot stamping pattern is less than or equal to the preset pattern deviation threshold, then the corresponding hot stamping finished product on the substrate is defined as a qualified hot stamping finished product.
2. The fully automatic hot stamping machine control method according to claim 1, characterized in that, Further steps include: C1. Obtain the hot stamping pattern image data of the sample based on the hot stamping pattern image sample position data and the corresponding standard hot stamping surface image data of the standard substrate hot stamping sample. C2, calculate the corresponding sample hot stamping pattern clarity based on the sample hot stamping pattern image data using a preset image clarity algorithm; C3. Obtain the finished hot stamping pattern image data based on the hot stamping pattern image position data corresponding to the qualified hot stamping finished product and the corresponding finished product hot stamping surface image data. C4, calculate the corresponding clarity of the finished hot stamping pattern based on the image data of the finished hot stamping pattern using an image clarity algorithm; C5, calculate the corresponding finished product clarity deviation based on the clarity of the hot stamping pattern in the sample and the clarity of the hot stamping pattern in the finished product; C6. If the finished product's clarity deviation is less than the preset clarity deviation threshold, then the corresponding qualified hot stamping finished product is defined as a qualified hot stamping finished product.
3. The fully automatic hot stamping machine control method according to claim 2, characterized in that, The process further includes the following steps for determining timing synchronization parameters: D1, calculates and determines the corresponding spindle speed based on the spindle speed and the preset effective spindle diameter; D2, determine the corresponding base heating time, base pressure response time and base cooling time based on the preset hot stamping foil substrate information; D3, the corresponding base heating advance angle is calculated and determined based on the spindle speed and base heating time; D4, the corresponding foundation pressurization delay angle is calculated and determined based on the spindle speed and foundation pressurization response time; D5, the corresponding foundation separation advance angle is calculated and determined based on the spindle speed and foundation cooling time; D6 generates timing synchronization parameters based on the combination of the base heating advance angle, base pressurization delay angle, and base separation advance angle.
4. The fully automatic hot stamping machine control method according to claim 3, characterized in that, Further steps include: E1, during the trial production of hot stamping, collects the tension values of each hot stamping cycle; E2 defines a hot stamping finished product with a deviation data greater than the pattern deviation threshold as a positioning defective hot stamping finished product. E3, calculate and determine the corresponding pattern deviation direction based on the relative position data of the hot stamping pattern of the sample hot stamping pattern and the relative position data of the hot stamping pattern of the finished product with unqualified positioning. E4 defines a hot stamping product with a positive deviation as one where the pattern deviates from the same direction as the hot stamping foil's forward direction. E5 defines a hot stamping product with a pattern deviation direction that is opposite to the direction of the hot stamping foil as a non-conforming product with a reverse deviation. E6: Obtain the corresponding tension values based on all positive deviation non-conforming finished products and combine them to generate positive deviation tension data; E7: Obtain the corresponding tension values based on all non-conforming products with reverse deviation and combine them to generate reverse deviation tension data; E8, based on the positive deviation tension data, calculates and determines the corresponding minimum value through a preset statistical algorithm and defines it as the positive deviation minimum tension value; E9, based on the reverse deviation tension data, the corresponding maximum value is calculated and defined as the maximum reverse deviation tension value through a statistical algorithm; E10, the corresponding effective tension range is determined based on the minimum tension value in the positive direction and the maximum tension value in the negative direction; E11, the force value of hot stamping paper is corrected according to the effective tension range.
5. The fully automatic hot stamping machine control method according to claim 3, characterized in that, Further steps include: F1, during the trial production of hot stamping, collects the actual heating time, actual pressurization time and actual cooling time of each hot stamping cycle; F2, obtain the actual heating time, actual pressurization time and actual cooling time combination corresponding to qualified hot stamping finished products to generate the corresponding qualified product actual time sequence synchronization time data; F3, determine the corresponding timing synchronization duration weight value based on the finished product clarity deviation of qualified hot stamping finished products; F4, calculate the corresponding weight adjustment timing synchronization time data based on the actual timing synchronization time data and timing synchronization time weight value of qualified hot stamping finished products; F5 determines the optimal timing synchronization time data by calculating the weighted average of the timing synchronization time data of all qualified hot stamping finished products. F6 calculates and determines the corresponding optimal timing synchronization parameters based on the optimal timing synchronization duration data and spindle speed. F7 corrects the timing synchronization parameters based on the optimal timing synchronization parameters.
6. The fully automatic hot stamping machine control method according to claim 5, characterized in that, Image sharpness algorithms include the following steps: G1 generates a corresponding grayscale image of the hot stamping pattern based on the preset input hot stamping pattern image data through a preset grayscale image algorithm. G2 generates the corresponding Laplacian response map data of the hot stamping pattern using a preset Laplacian algorithm based on the preset Laplacian convolution kernel and the grayscale image of the hot stamping pattern. G3 calculates the corresponding variance based on the Laplacian value of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the response map variance. G4 determines the maximum absolute value of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the maximum absolute value of the response map. G5, calculates the mean of the absolute values of the Laplacian values of each pixel in the Laplacian response map data of the hot stamping pattern and defines it as the mean of the absolute values of the response map. G6 determines the clarity of the corresponding hot stamping pattern by calculating the variance, maximum absolute value, and mean absolute value of the response map using a preset weighted algorithm.
7. A fully automatic hot stamping machine control system, used to implement the fully automatic hot stamping machine control method as described in any one of claims 1-6, characterized in that, include: Image acquisition module; Detection module; Processing control module; The image acquisition module and the detection module are respectively connected to the processing and control module. The detection module includes a position detection module, a temperature detection module, a pressure detection module, and a tension detection module, and the position detection module, the temperature detection module, the pressure detection module, and the tension detection module are respectively connected to the processing and control module. The fully automatic hot stamping machine control system further includes an automatic hot stamping strategy, comprising the following steps: H1, the preset substrate size data is obtained through the processing control module; H2, the processing control module calculates and determines the corresponding step distance based on the substrate size data and the preset interval width; H3, the processing control module calculates the corresponding spindle speed based on the preset hot stamping production rate and step distance; H4 determines the corresponding substrate conveying speed based on the spindle speed and the preset substrate speed ratio; H5 determines the corresponding hot foil advance speed based on the spindle speed and the preset hot foil speed ratio; H6, calculates the corresponding tension speed correction coefficient based on the hot stamping foil advance speed and the preset hot stamping foil reference speed; H7, calculate the corresponding hot stamping paper force value by multiplying the preset hot stamping paper width, preset material tension coefficient and tension speed correction coefficient; H8, control the preset hot stamping machine to perform hot stamping trial production on the preset substrate through the processing control module according to the step distance, spindle speed, substrate conveying speed, hot stamping paper forward speed, hot stamping paper force value and preset timing synchronization parameters.
Citation Information
Patent Citations
Gold stamping film material consumption control method and system
CN118144423A
Automatic tipping paper printing control method based on image detection
CN119610879A