Self-adaptive program control method for linkage of printing ink supply and drying of a can end

CN122606991APending Publication Date: 2026-08-21HEJIN (SHANDONG) PACKAGING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610828932.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-09
Publication Date
2026-08-21

AI Technical Summary

Technical Problem

但传统统一温度的烘干方式无法适配单罐体的墨量差异,导致烘干质量波动大、能耗高;多控制器间数据交互延迟与不一致问题,成为高速精准控制的核心瓶颈

Benefits of technology

本发明聚焦于高速易拉罐印刷烘干场景,构建了“物理-数字”刚性映射的单罐级精准控制架构,实现了从进罐到烘干的全流程自动化、智能化控制,在保证烘干质量的同时显著降低能耗,提升生产效率和系统稳定性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122606991A_ABST
    Figure CN122606991A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of industrial automation control, and discloses a self-adaptive program control method for linkage of printing ink supply and drying of a pop can, comprising: obtaining physical parameters of a production line, configuring a trigger phase and priority of an atomic transaction, establishing double-trigger logic for can feeding, and generating data addressing rules; positioning corresponding single-can data storage positions, collecting can feeding identification information and color group ink supply parameters, and generating single-can ink supply data units; generating equivalent heat demand data through a preset multi-dimensional rule table, synchronizing the equivalent heat demand data to a drying end, and generating single-can heat demand locking data units; reading corresponding heat demand data, performing three-level safety verification, hardware latching power output of each drying zone, updating actual execution and participation status, and generating single-can execution data units; obtaining feedback data of single-can quality detection, periodically scanning global quality feedback data to optimize the multi-dimensional rule table, arbitrating conflicting rules, and forming a closed-loop adaptive program control link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial automation control technology, and more specifically, to an adaptive program control method for linking the supply and drying of printing ink for beverage cans. Background Technology

[0002] With the rapid development of the food and beverage industry, can printing production lines have reached high speeds of over 2400 cans per minute. However, traditional drying methods with uniform temperatures cannot adapt to the differences in ink volume in individual cans, resulting in large fluctuations in drying quality and high energy consumption. The delay and inconsistency in data interaction between multiple controllers have become the core bottleneck for high-speed and precise control.

[0003] Existing drying control solutions for aluminum can printing mostly adopt a unified drying strategy for the entire production line, which cannot be adjusted according to the actual ink volume and ink type of each can. This results in an excessively high drying defect rate, serious energy waste, and excessively high response delays due to multiple controllers exchanging data via message transmission. Under high-speed production, data misalignment will inevitably occur, and precise control will completely fail. Summary of the Invention

[0004] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: an adaptive program control method for linking the supply and drying of printing ink for beverage cans, comprising: S1: Obtain the physical parameters of the production line, initialize the global tank data array, configure the trigger phase of atomic transactions and the highest non-preemptive priority to form transaction scheduling rules, establish the dual trigger logic for entering the tank, and generate data addressing rules that map to the physical production line tank positions. S2: Based on the global tank data array and transaction scheduling rules, trigger the tank entry transaction, locate the corresponding single tank data storage location through the data addressing rules, and trigger the color group acquisition transaction to collect and write the tank entry identification information and color group ink supply parameters to generate a single tank ink supply data unit. S3: Based on the single-tank ink supply data unit, trigger the data locking transaction mark to lock the status, generate equivalent heat demand data through the preset multi-dimensional rule table and synchronize it to the drying end, and generate a single-tank heat demand locking data unit. S4: Based on the single-tank heat demand locking data unit, trigger the drying execution transaction, read the corresponding heat demand data, perform three-level security verification, hardware latch the power output of each drying zone, update the actual execution and participation status, and generate a single-tank execution data unit containing complete drying execution data. S5: Obtain feedback data from single-tank quality inspection, write it into the corresponding single-tank execution data unit, and then periodically scan the global quality feedback data to optimize the multi-dimensional rule table and arbitrate conflicting rules to form a closed-loop adaptive program control link.

[0005] Furthermore, the method for initializing the global tank data array includes: Obtain the physical parameters of the aluminum can printing production line and verify the accuracy of the spindle angle signal of the printing press spindle encoder. Based on the production line parameters and the spindle angle signal after verification, the single tank passage time, the total transmission time of the production line and the number of basic slots are extracted to obtain the initial global tank data array total size; In the continuous physical memory shared by the ink supply PLC, drying PLC and edge controller, a cross-controller shared memory space is allocated, and the single-tank data unit of each tank is pre-built to form the initial operating environment.

[0006] Furthermore, the data addressing rule is generated in a manner that includes: Based on the initialized operating environment, according to the key nodes of the entire life cycle of the production line process, the corresponding tank entry transaction, each color group acquisition transaction, data locking transaction and drying execution transaction are defined as independent atomic transactions and assigned the highest non-preemptive priority. Based on the physical parameters of the production line, the atomic transaction main axis triggering phases corresponding to the final color group completion station, the drying inlet station and the visual inspection station of the production line are calibrated, and a transaction scheduling table is generated as a transaction scheduling rule. Preset physical location direct conversion hard rules rigidly bind the physical location of the tank to the data storage address of the global data array, generating data addressing rules that map to the physical production line tanks.

[0007] Furthermore, the method for triggering the tank entry transaction includes: Based on the global tank data array and transaction scheduling rules, when the preset dual trigger logic of the tank entry sensor and the main shaft angle is met at the same time, the highest priority tank entry transaction is triggered. Read the current spindle angle, locate the memory address corresponding to the current tank through the data addressing rules, and then access the corresponding single tank data unit in the global tank data array to perform atomic initialization and obtain the initialized single tank data unit.

[0008] Furthermore, the method for generating a single ink supply data unit includes: Based on the initialized single-tank data unit, when the main axis angle reaches the trigger phase of each color group in sequence, the highest priority color group acquisition transaction is triggered in sequence; The real-time ink supply parameters of the corresponding color group are obtained by hardware latching, written into the corresponding single-tank data unit according to the data addressing rules, and the ink supply parameters of each color group are sequentially spliced ​​in the single-tank data unit to generate the single-tank ink supply data unit.

[0009] Furthermore, the method for generating the single-tank heat demand locking data unit includes: When the spindle angle reaches the final color group completion station trigger phase, a data locking transaction is triggered; the integrity of the ink supply parameters of each color group in the single ink supply data unit is checked; after the check passes, it is marked as locked. Equivalent heat demand data is generated by a preset multi-dimensional rule table containing basic heat load, environmental correction factor and power allocation, and transmitted synchronously to the tank drying end to generate a single tank heat demand locking data unit.

[0010] Furthermore, the method for performing the three-level security verification includes: When the spindle angle reaches the trigger phase at the drying inlet station, the drying execution transaction is triggered; the corresponding single tank heat demand data unit is located by the data addressing rules, the equivalent heat demand data of each drying zone is read, and three-level safety checks of hard limit clamping, single tank margin authorization and over-limit interlock are performed in sequence to obtain the final safe power output value of each drying zone.

[0011] Furthermore, the method for generating the single-tank execution data unit includes: The obtained safe power output value is hardware latched to each drying zone in one go, and the actual execution power and status flag of the single tank heat demand locking data unit are atomically updated to obtain a single tank execution data unit containing complete drying execution information.

[0012] Furthermore, the method for acquiring feedback data from single-tank quality inspection and writing it into the corresponding single-tank execution data unit includes: When the spindle angle reaches the trigger phase of the vision inspection station, the printing quality inspection of a single can is triggered, the quality feedback data is obtained, and it is written to the corresponding single can execution data unit.

[0013] Furthermore, the method of optimizing the multidimensional rule table and arbitrating conflicting rules to form a closed-loop adaptive program control link includes: The system scans all single-tank execution data units in the global tank data array that have completed drying and written feedback data at a preset fixed cycle to form a quality statistics data set. It then performs quality defect statistics and analysis, and finally optimizes the multidimensional rule table with strict parameter constraints based on the statistical and analysis results. When an abnormality of insufficient continuous drying is detected, a single-tank-level margin borrowing closed-loop negotiation mechanism is triggered to obtain the maximum allowable margin for closed-loop negotiation. When multiple rules are triggered and conflict, the conflict is arbitrated through a preset three-level priority arbitration rule to form a closed-loop adaptive program control link.

[0014] The technical effects and advantages of the adaptive program control method for linking ink supply and drying in beverage can printing of the present invention are as follows: This invention focuses on the high-speed printing and drying of beverage cans, and constructs a single-can-level precision control architecture with a rigid "physical-digital" mapping. It realizes full-process automation and intelligent control from can entry to drying, significantly reducing energy consumption and improving production efficiency and system stability while ensuring drying quality.

[0015] First, by rigidly binding the physical location of the tank to the memory address of the global data array through data addressing rules, all read and write operations on a single tank data unit are directly calculated by pure arithmetic operations, without any ID matching, data forwarding or index lookup, which fundamentally solves the problem of data misalignment and consistency under high-speed production.

[0016] Secondly, a dual triggering mechanism of the tank entry sensor and the spindle angle is adopted. Through hardware logic and circuit synchronous verification, the tank entry transaction will only be triggered when both signals are valid at the same time. This physically eliminates problems such as false triggering of empty tank positions and false triggering of sensor signals, ensuring that only tanks that actually exist and are in the correct position will be allocated data units.

[0017] Then, all critical operations are designed as atomic transactions with the highest non-preemptive priority, including tank loading, color-by-color sampling, data locking, drying execution, etc. The execution time of each transaction is strictly controlled within microseconds, and the entire process is written with linear branchless logic, so the execution time is fixed and predictable, the timing is highly deterministic, and it fully meets the requirements of higher-speed production.

[0018] Next, using a pure lookup table-based equivalent heat demand generation method, heat demand data is generated based on an offline calibrated and solidified three-dimensional basic heat load table, two-dimensional environmental correction coefficient table, and two-dimensional power distribution table. The entire process involves no complex algorithms or model calculations and can automatically compensate for the impact of changes in ambient temperature and humidity and the aging of drying lamps on the drying effect.

[0019] Subsequently, a three-level safety verification mechanism was established, consisting of hard limit clamping, single-tank margin authorization, and over-limit interlocking. This mechanism comprehensively ensures the safe operation of the drying system from three levels: hardware, single-tank, and system. It not only prevents equipment overload damage but also provides flexible power margin allocation for tanks with special requirements.

[0020] Furthermore, by adopting an incremental data transmission method that compares data byte by byte, only the changed parts of the heat demand data are transmitted, which greatly reduces network bandwidth consumption. Transmission is carried out through a real-time industrial Ethernet channel, ensuring stable transmission latency and enabling the drying controller to obtain the latest heat demand data in a timely manner.

[0021] Finally, a full-link closed-loop adaptive control system was constructed. The rule engine scans global quality feedback data at a fixed period and automatically optimizes the multi-dimensional rule table under strict parameter constraints. At the same time, it supports single-tank-level margin borrowing closed-loop negotiation and arbitrates rule conflicts according to a three-level priority order of safety-related rules > quality-related rules > energy-related rules, thereby realizing continuous optimization of drying quality and adaptive adjustment of the system.

[0022] This invention achieves precise drying control at the single-can level through an innovative physical-digital rigid mapping architecture and atomic transaction scheduling mechanism. It is applicable to various high-speed beverage can printing production lines, reducing drying defect rate and energy consumption, while significantly improving system stability and reliability, and reducing manual intervention and maintenance costs. Attached Figure Description

[0023] Figure 1 This is a schematic diagram of the adaptive program control method for linking the supply and drying of printing ink for aluminum cans according to the present invention. Figure 2 This is a schematic diagram of the three-level safety verification operation process in the adaptive program control method for linking the supply and drying of printing ink for beverage cans according to the present invention. Figure 3 This is a schematic diagram of the adaptive program control system for the linkage between ink supply and drying in beverage can printing according to the present invention. Detailed Implementation

[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Example 1

[0025] Please see Figure 1 and Figure 2 As shown in this embodiment, the adaptive program control method for linking the supply and drying of printing ink on beverage cans includes: S1: Obtain the physical parameters of the production line, initialize the global tank data array, configure the trigger phase of atomic transactions and the highest non-preemptive priority to form transaction scheduling rules, establish the dual trigger logic for entering the tank, and generate data addressing rules that map to the physical production line tank positions. S2: Based on the global tank data array and transaction scheduling rules, trigger the tank entry transaction, locate the corresponding single tank data storage location through the data addressing rules, and trigger the color group acquisition transaction to collect and write the tank entry identification information and color group ink supply parameters to generate a single tank ink supply data unit. S3: Based on the single-tank ink supply data unit, trigger the data locking transaction mark to lock the status, generate equivalent heat demand data through the preset multi-dimensional rule table and synchronize it to the drying end, and generate a single-tank heat demand locking data unit. S4: Based on the single-tank heat demand locking data unit, trigger the drying execution transaction, read the corresponding heat demand data, perform three-level security verification, hardware latch the power output of each drying zone, update the actual execution and participation status, and generate a single-tank execution data unit containing complete drying execution data. S5: Obtain feedback data from single-tank quality inspection, write it into the corresponding single-tank execution data unit, and then periodically scan the global quality feedback data to optimize the multi-dimensional rule table and arbitrate conflicting rules to form a closed-loop adaptive program control link.

[0026] The methods for initializing the global tank data array include: After the hardware self-test of the can printing production line is completed after power-on, the pre-calibrated and solidified set of physical parameters of the production line is read to obtain the physical parameters of the production line, including: production line geometric parameters, process configuration parameters and station position parameters. The production line geometric parameters include the total physical length from the inlet sensor to the outlet sensor, the conveyor belt pitch, the standard tank diameter, and the fixed spacing between tanks; the process configuration parameters include the maximum designed production speed, the number of tanks per spindle revolution, the total number of printing color groups, the total number of drying zones, and the fixed size of the data unit per tank; the station position parameters include the center of each printing color group, the final color group completion point, the drying inlet, and the precise mechanical position of the online visual inspection station relative to the inlet sensor. All acquired production line physical parameters are verified for rationality. The parameters are checked to see if they are within the preset engineering allowable range. For example, the number of tanks per spindle revolution should be between 6 and 16, and the number of drying zones should be between 4 and 8. If the parameter exceeds the reasonable range, a parameter abnormality alarm will be triggered, prompting the operator to manually confirm and correct it. After the correction is completed, the parameter verification process will be re-executed. A real-time communication link was established between the absolute encoder of the printing press spindle and the control center. The spindle angle signal was transmitted via the industrial Ethernet real-time protocol. The encoder output mode was configured as absolute angle output. Then, the spindle angle signal was continuously acquired for 10 seconds, and three accuracy verifications were performed: First, the continuity of the spindle angle signal was checked to confirm that there were no angle jumps, data loss, or out-of-order phenomena. Second, the linear correspondence between the angle change and the actual spindle speed was verified to ensure that the speed measurement error was less than 0.1%. Third, the alignment accuracy between the encoder zero point and the mechanical zero point of the production line was calibrated. By fine-tuning the encoder installation position, the zero point alignment error was ensured to be no more than 0.01 degrees. If the signal verification fails, reconfigure the encoder communication parameters. If the verification fails three times in a row, a hardware fault alarm will be triggered, prompting you to check the encoder hardware connection and installation status. After the spindle angle signal is verified, the single tank passage time (i.e., the time for a single tank to pass through any fixed point on the production line at the designed maximum production speed), the total production line transmission time (i.e., the total running time of the tank from the inlet sensor to the outlet sensor), and the number of basic slots are extracted or calculated based on the production line parameters. To address fluctuations in production speed and temporary anomalies, a certain percentage (e.g., 10%) of redundant operations is reserved based on the basic number of slots to obtain the final total number of slots in the global tank data array, thus forming the final total scale of the global tank data array. For example, for a production line designed with a maximum speed of 2400 cans / minute, the single can throughput time is 25 milliseconds. If the total transmission time of the production line is 15 seconds, then the basic number of slots is 600. After reserving 60 redundant slots, the total number of slots in the array is 660. In the continuous physical memory area shared by the ink supply PLC, drying PLC and edge controller, a continuous content space of size equal to the total number of slots × the size of a single tank data unit is allocated. Through memory mapping technology, the three controllers can access this memory space with the same virtual address. As a cross-controller shared memory space, it ensures that all controllers' read and write operations on the same data unit point to the same physical address, thus guaranteeing data consistency at the hardware level. It should be noted that a single-can data unit is a standardized and fixed-size independent memory block allocated to each can. It is used to store all status information, process parameters and quality feedback data of the can throughout its entire life cycle from can entry to can exit. It is a unique mapping of the physical can in the digital space. All single-can data units have the same structure and include four data fields: status control, color-by-color ink supply, heat demand and execution feedback. Verify the read and write permissions of all controllers to the shared memory, ensuring that the three controllers can correctly read and write any address in the shared memory and that the data read and write are consistent, thereby completing the initialization of the basic operating environment.

[0027] The methods for generating data addressing rules include: Based on the initialized operating environment, 11 independent atomic transactions are defined according to the key nodes of the entire life cycle of the production line process, covering the key nodes of the entire life cycle from can entry to drying execution. These include 1 can entry transaction, 8 color group acquisition transactions, 1 data locking transaction, and 1 drying execution transaction. All atomic transactions are assigned the highest non-preemptible interrupt priority, which is higher than other operating tasks such as PLC cycle tasks, communication tasks, and human-machine interaction tasks. Among them, the 8 color groups are the global industry standard configuration of the high-speed offset printing production line for aluminum cans, which just covers the complete printing process requirements; Once an atomic transaction is triggered, it immediately interrupts any low-priority tasks that are currently executing, and the process will not be interrupted by any other tasks. Based on the station position parameters in the physical parameters of the production line, the corresponding atomic transaction spindle trigger phase of each station in the production line is calibrated by the correspondence between mechanical position and spindle angle: the can inlet transaction corresponds to the spindle angle of the can inlet sensor installation position, the 8 color group acquisition transactions correspond to the spindle angle of the 8 color group printing centers respectively, the data locking transaction corresponds to the spindle angle of the last color group completion position, and the drying execution transaction corresponds to the spindle angle of the drying inlet position. The number, trigger phase, and priority information of all atomic transactions are organized into a transaction scheduling table and stored in the non-volatile memory of the PLC as the transaction scheduling rules when a transaction is triggered. The logic and circuitry for the hardware signals of the inlet sensor and the angle signals of the spindle encoder are constructed. An interrupt request for the inlet transaction will only be generated when both signals simultaneously meet the triggering conditions. The inlet sensor is triggered when it detects the actual tank passing by, and the spindle angle is triggered when it reaches the preset inlet phase. This dual-trigger logic can physically ensure that only real tanks will trigger the tank entry transaction and allocate data units, completely avoiding the problem of empty tank slots generating invalid data units; The preset physical location is directly converted to a hard rule, which is: target memory address = array base address + INT (current spindle angle ÷ single tank angle interval) × single tank data unit size; The formula uses 360 degrees ÷ number of tanks per spindle revolution to represent the interval between single-tank data units. The array base address is the starting memory address of the global tank data array, and the INT function represents taking the integer part. This formula means that starting from the starting point of the global tank data array, it calculates which single-tank data unit it should correspond to based on the current spindle angle, and then multiplies it by the size of each single-tank data unit to find the precise location (target memory address) of that single-tank data unit in memory. This rule directly maps the physical location of the tank on the production line to the data storage address of the global data array, serving as a data addressing rule for mapping the physical production line tank. All read and write operations on a single tank data unit must calculate the address using data addressing rules.

[0028] The ways to trigger a tank entry transaction include: Based on the global tank data array and transaction scheduling rules, the hardware output signal of the tank inlet sensor and the real-time angle signal of the spindle encoder are continuously monitored in parallel. When the dual triggering logic of the tank inlet sensor and the spindle angle is met, the highest priority tank inlet transaction is triggered, and a tank inlet transaction interruption request is sent to the PLC interrupt controller. Upon receiving a request to interrupt the inlet transaction, all low-priority tasks currently being executed are immediately interrupted because the inlet transaction is configured with the highest non-preemptive priority. Save the current state of all CPU registers to a dedicated stack to ensure that the execution state of the interrupted task can be accurately restored after the interrupt is completed; After the tank entry transaction interrupt service routine starts, it first reads the current spindle angle value; The data addressing rules are invoked to locate the memory address of the single tank data unit corresponding to the current tank. The calculated memory address is then used to directly access the corresponding single tank data unit in the global tank data array. Perform atomic initialization operations, within the same CPU instruction cycle, set the status flag field to "into tank" and write the unique tank ID generated based on the incrementing counter into the ID field; Record the current spindle angle as the tank entry angle, and then clear all other fields (color group data, heat demand data, execution feedback data, etc.) in the single tank data unit to ensure that the initial state of the data unit is clean, and obtain the initialized single tank data unit; The entire initialization operation must not be interrupted by any task to avoid the situation where partially initialized data units are accessed by subsequent transactions. After initialization is complete, the interrupt service routine automatically restores the previously saved CPU register state from the dedicated stack and returns to the interrupted low-priority task to continue execution.

[0029] The methods for generating a single ink supply data unit include: Based on the initialized single-tank data unit, the spindle angle signal of the spindle encoder is monitored in real time. When the spindle angle reaches the trigger phase of the calibrated 8 color group printing centers in sequence, the 1st to 8th highest priority color group acquisition transactions are triggered in sequence. Each color group acquisition transaction is configured with the highest non-preemptive priority. Once triggered, all low-priority tasks are immediately interrupted to ensure that data acquisition is performed at the precise moment when the can arrives at the color group printing center. The stored instructions are sent to the ink supply controller of the corresponding color group through the hardware interface, and then all ink supply parameters at the current moment are immediately locked, including the average opening value of the ink fountain, the independent opening value of the 12 axial ink keys, and the actual rotation speed of the ink roller. Using hardware latching instead of software polling is to completely eliminate parameter deviations caused by software read latency, ensuring that the collected parameters are the instantaneous true values ​​when the tank passes through the printing center. The current spindle angle is read, the data addressing rules are called, the memory address of the single tank data unit corresponding to the current tank is located, and then the ink supply parameters latched by the hardware are directly written into the field of the corresponding color group in the corresponding single tank data unit. The entire writing process is written through linear branchless logic without any condition judgment or loop operation, which greatly shortens the execution time and can ensure that the timing is absolutely determined. After the ink supply parameters are written, within the same CPU instruction cycle, the status flag of a single tank data unit is atomically updated from "color group N-1 completed" to "color group N" completed. The atomic update of the status flag ensures the consistency of data reading and writing, which can prevent subsequent transactions from reading some incomplete data that has been written. Furthermore, by tracking the processing progress of each tank through the status flag, it can be ensured that all color group data is collected in sequence. When the last color group acquisition transaction is completed, the status flag of the single-tank data unit is updated to "Color group 8 completed". At this time, the single-tank data unit has been filled with the completed ink supply parameters of the 8 color groups. The parameters are spliced ​​in the order of 1 to 8 to generate a single-tank ink supply data unit filled with complete color-by-color ink supply parameters.

[0030] Methods for generating single-tank heat demand locking data units include: When the spindle angle reaches the calibrated final color group completion trigger phase, a data locking transaction is triggered; this transaction is also configured with the highest non-preemptive priority to ensure that the data locking operation is performed at the precise moment when the can leaves the last printed color group; After a low-priority task is interrupted by a data locking transaction, the corresponding single-tank ink supply data unit is located through the data addressing rules. The integrity of the ink supply parameters of each color group in the single-tank ink supply data unit is checked to see if all ink supply parameter fields of each color group have been written and are not at the initial zero value. If any ink supply parameter of any color group is missing or abnormal, the status flag of the single-tank ink supply data unit is changed to "removed" and all subsequent processing flows are terminated to prevent invalid data from entering the drying process. After the data verification is passed, the status flag is changed from "color group 8 completed" to "locked", and then immediately changed to "awaiting drying". These two status transition operations are completed within the same CPU instruction cycle and cannot be interrupted by any other task. After the status is marked as locked, all subsequent transactions can only read the data unit and cannot modify the ink supply parameters in it, which fundamentally prevents the data from being accidentally tampered with. Based on the locked ink supply parameters, equivalent heat demand data is generated through preset parameters. Specifically, the multidimensional rule table contains three tables: the basic heat load table, the environmental correction factor table, and the power allocation table. First, obtain the total ink equivalent of the 8 color groups (representing the proportion of the total ink on the surface of the can to the maximum printing area). Then, use the total ink equivalent, ink type ID, and current printing speed as indexes to query the basic heat load table to obtain the basic heat demand. Then, using the current ambient temperature and humidity as indexes, the environmental correction factor table is queried, and the basic heat load is multiplied by the environmental correction factor to compensate for the basic heat demand. Finally, using the drying zone number and the cumulative running time of the lamps as indexes, the power allocation table is queried to distribute the total heat demand to all drying zones, generating an equivalent heat demand map and axial heat load distribution. The basic heat load table is preset based on the amount of ink in the printed content, the drying characteristics of the ink, and the printing speed to determine the basic energy requirements for drying. The preset method is to measure the minimum heat load required to completely dry the ink without over-drying for each type of ink during the production line debugging phase, at different printing speeds and ink coverage rates. The drying temperatures of different types of inks vary significantly. For example, white ink requires a heat load that is about 1.5 times that of ordinary colored ink. For example, a table fragment: [Total ink equivalent; Ink type ID; Printing speed (cans / minute); Base heat load (kW·h / thousand cans)]; [0.2; 1; 2400; 12.5]; [0.4; 1; 2400; 18.3]; [0.6; 1; 2400; 24.1]; The environmental correction factor table is preset to compensate for the impact of changes in ambient temperature and humidity on ink drying speed. The lower the ambient temperature and the higher the humidity, the slower the ink dries and the greater the required heat load; conversely, the lower the humidity, the greater the required heat load. The preset method is to keep the basic heat load constant under different ambient temperature and humidity conditions, measure the drying effect, and when the drying effect deteriorates, gradually increase the heat load until the standard requirements are met. Calculate the correction factor = actual heat load ÷ basic heat load, and fill the result into the table. For example, a table excerpt: [Ambient temperature (°C); Ambient humidity (%); Environmental correction factor]; [20; 50; 1.00]; [25; 50; 0.95]; The power distribution table is preset to compensate for the decrease in luminous efficiency caused by the aging of the drying lamps. As the lamps are used for longer periods, their luminous efficiency gradually decreases. It is necessary to appropriately increase the power ratio of the drying zone where the aging lamps are located to ensure a uniform overall drying effect. The preset method is to periodically measure the luminous efficiency of the lamps at different operating times and adjust the power distribution ratio of each drying zone according to the efficiency decay to ensure that the actual heat output of the six drying zones is evenly distributed. It should be noted that in high-speed beverage can printing production, the current global mainstream standard for continuous drying zones is usually divided into 6 core temperature zones; For example, a table fragment: [Drying zone number; Lamp running time (hours); Power allocation factor]; [1; 1000; 0.16]; [2; 1000; 0.17]; Example of complete heat demand calculation: Assume the production parameters of a certain tank include: total ink equivalent of 8 color groups = 0.6, ink type ID = 1 (ordinary white ink), current printing speed = 2400 tanks / minute, ambient temperature = 25℃, ambient humidity = 60%, and cumulative running time of all drying zone lamps = 1000 hours; Calculation process: According to the three-dimensional basic heat load table, the basic heat load is 24.1 kW·h / thousand tanks. The environmental correction factor table shows an environmental correction factor of 1.05. Total heat demand = Base heat load × Environmental correction factor = 24.1 × 1.05 = 25.305 kW·h / thousand tanks; According to the two-dimensional power allocation table, the power allocation coefficients for the six drying zones are 0.16, 0.17, 0.18, 0.18, 0.17, and 0.14, respectively. The heat demand of each drying zone is obtained by multiplying the total heat demand by the power allocation coefficient of the corresponding 6 drying zones. The equivalent heat demand of the six drying zones is finally generated and transmitted synchronously to the drying controller via a real-time industrial Ethernet channel. The drying controller will then precisely control the power output of each drying zone based on these values. After the data transmission is completed, the status of the single-tank locked ink supply data unit is "awaiting drying" and contains complete heat demand information. At this time, it is recorded as the single-tank heat demand locked data unit.

[0031] The methods for performing Level 3 security checks include: The real-time angle signal of the spindle encoder is continuously monitored. When the spindle angle reaches the calibrated drying inlet trigger phase, the highest non-preemptive priority drying execution transaction is triggered. The corresponding single-tank heat demand locking data unit is located by the data addressing rules, and the status flag is read. If the status flag is "to be dried", the subsequent three-level safety verification process is continued. If the status flag is empty or has been deleted, the preset safety baseline power (usually 30% of the rated power) is sent directly to all drying areas to maintain the basic temperature of the drying box and avoid large temperature fluctuations from affecting the subsequent tanks. The specific steps for Level 3 security verification are as follows: First, perform hard limit clamping verification: obtain the equivalent heat demand data for each drying zone, and compare the requested power of the equivalent heat demand for each drying zone with the preset hardware hard limit threshold one by one. The hardware hard limit threshold is determined by the rated power of the drying lamp and the equipment safety specifications, and it is an absolute upper limit that cannot be exceeded. If the requested power of any drying zone exceeds the hard limit threshold, it will be unconditionally clamped to the hard limit value, and a hard limit clamping exception will be recorded in the exception code field of the data unit. This verification is performed at the hardware level, ensuring that the drying power will not exceed the safe range even if the software program malfunctions, thus fundamentally preventing serious accidents such as equipment overheating and fires. After the verification passes, the requested power values ​​between the soft margin threshold and the hard limit threshold will be subject to single-tank margin authorization verification: The soft margin threshold is typically set to 85% to 90% of the hard limit threshold, and is the recommended upper limit of power for normal operation of the equipment. Check the single-tank margin authorization flag corresponding to the single-tank heat demand lockout data unit: If the authorization flag is true (indicating that the tank has been authorized through margin borrowing negotiation), it is allowed to use power above the soft margin, and the requested power remains unchanged; If the authorization flag is false, the requested power will be clamped to the soft margin threshold, and the insufficient margin anomaly will be recorded. This verification achieves dynamic allocation of safety margin at the single-tank level, providing additional drying power for tanks with special needs without compromising overall safety; After the verification is passed, an over-limit interlock verification is performed: the number of tanks that are continuously clamped by the first-level hard limit is counted. If three tanks are clamped consecutively, it is determined to be a core production abnormality and a chain protection action is executed: a command to reduce the production speed by 10% is sent to the main control center; an audible and visual alarm is triggered to prompt the operator to check the status of the drying system; if ten tanks are clamped consecutively, an emergency shutdown procedure is automatically executed. This verification prevents continuous overload operation due to equipment failure, abnormal parameters, etc., and protects the long service life of the drying equipment. After all three levels of safety verification are completed, the final safe power output values ​​for the six drying zones are generated. The safe power output value is temporarily stored in the CPU's dedicated output register, awaiting subsequent hardware latching operations.

[0032] The methods for generating single-tank execution data units include: The safe power output value, temporarily stored in the dedicated output register, is simultaneously latched by sending latching instructions to the power control units of all six drying zones via the hardware interface. This writes the safe power output value into the power output registers of all drying zones at once. Through this hardware latching mechanism that triggers simultaneously and writes in parallel, the power output of the six drying zones can be completely synchronized, avoiding uneven axial drying of the tanks due to differences in output timing. Once the power value is latched, it remains unchanged throughout the entire time the current tank passes through the drying zone, unaffected by any software tasks or equipment interruptions. Locate the corresponding single-tank heat demand locking data unit and perform an atomic write operation within the same CPU instruction cycle, including: writing the actual output safe power output values ​​of the 6 drying zones into the actual drying power field of the single-tank heat demand locking data unit, writing all the anomalies recorded during the three-level safety verification into the anomaly record field, and updating the status flag from pending drying to drying completed. The atomic update of the status flag ensures the consistency of data reading and writing, and avoids subsequent quality inspection transactions reading partially updated and incomplete data; After the data update is completed, the single-tank heat demand locking data unit contains complete drying execution information, including: original equivalent heat demand data, three-level safety verification results, actual output power, anomaly records, and drying completion status; this is recorded as the single-tank execution data unit.

[0033] The methods for obtaining feedback data from single-tank quality inspection and writing it into the corresponding single-tank execution data unit include: The system continuously monitors the real-time angle signal of the spindle encoder. When the spindle angle reaches the trigger phase of the vision inspection station, it sends a synchronous trigger signal to the vision inspection center to immediately perform high-speed image acquisition on the surface of the can and inspect the printing quality of the can, identifying common defects such as color difference, insufficient drying, excessive drying, and misregistration. Standardized quality feedback codes are generated based on the test results, such as: 0 = qualified, 1 = color difference, 2 = insufficient drying, 3 = excessive drying, 4 = misregistration; The quality feedback code is obtained from the visual inspection center as quality feedback data. The memory address of the single tank execution data unit corresponding to the current tank is located through the data addressing rules, and then written into the quality feedback field of the corresponding single tank execution data unit.

[0034] The methods for optimizing the rule table and arbitrating conflicting rules to form a closed-loop adaptive program control link include: By using a rule engine running on the edge controller at a preset fixed period (default 10 seconds), all single-tank execution data units in the global tank data array that have been written with feedback data and whose status is drying complete are scanned. The color group ink supply data, equivalent heat demand data, actual execution power and quality feedback code of each data unit are extracted to form a quality statistics data set. The quality statistics dataset is categorized and statistically analyzed to determine the occurrence rate and distribution of various quality defects, such as qualified, color difference, and insufficient drying. Four-dimensional cross-grouping is performed based on total ink volume range, ink type ID, printing speed setting (200 cans / minute step), and temperature and humidity range (5℃ / 10% step). The insufficient drying rate and over-drying rate of each group are calculated. The defect rate of each group is compared with the average of historical qualified data, and parameter combinations with a defect rate exceeding 50% of the average are marked as target objects for rule table optimization. If three or more cans exhibit the same type of drying defect, it is marked as a continuous defect anomaly. If, under the same parameter combination, the defect rate exceeds 20% within a certain time (default 10 minutes), it is marked as a parameter set anomaly. If the defect rate of a can in a certain drying zone is more than twice that of other zones, it is marked as a zone anomaly. Based on the statistical and analytical results, the multidimensional rule table was optimized with strict parameter constraints: The system matches the preset rule optimization library and fine-tunes the basic heat load table, environmental correction factor table, and power distribution table. Strictly enforce parameter adjustment constraints: single parameter adjustment range ≤3%, daily cumulative adjustment range ≤10%, to prevent production instability caused by sudden parameter changes; The optimization logic for the basic heat load table is as follows: If the under-drying rate or over-drying rate of a certain combination of "total ink volume + ink type + printing speed" exceeds 50% of the average value, the basic heat load table optimization will be triggered. If the drying insufficiency rate exceeds the standard: increase the basic heat load value corresponding to this parameter combination by 1% to 3%; If the over-drying rate exceeds the standard: reduce the base heat load value corresponding to this parameter combination by 1% to 3%; Modifying only the table entry corresponding to the single parameter combination that triggered the exception does not affect other table entries; The optimization logic for the environmental correction factor table is as follows: If the drying defect rate of a certain combination of "ambient temperature + ambient humidity" parameters exceeds 50% of the average value, the optimization of the environmental correction coefficient table will be triggered. If the drying incomplete rate exceeds the standard: increase the correction factor corresponding to this parameter combination by 0.02 to 0.05; If the over-drying rate exceeds the standard: reduce the correction factor corresponding to this parameter combination by 0.02 to 0.05; Modify only the table entry corresponding to the single temperature and humidity range that triggered the anomaly; The optimization logic for the power allocation table is as follows: If the defect rate of a certain drying zone is more than twice the average level of other zones, power allocation table optimization is triggered. If the drying rate in this area is too high: increase the power allocation coefficient for the corresponding operating time of this area by 0.01 to 0.02, and at the same time, decrease the coefficients of other areas proportionally (keeping the total sum at 1.0). If the over-drying rate in this area is too high: the power allocation coefficient for the corresponding operating time in this area will be reduced by 0.01 to 0.02, while the coefficients for other areas will be increased proportionally. Only modify the table entries for the drying area that triggered the exception during the corresponding runtime; If the corresponding defect rate does not decrease by more than 0.5% after adjustment, the system will automatically roll back to the parameter value before adjustment and trigger a manual intervention alarm. All rule table optimization operations are performed only in the rule engine and do not affect currently running production tasks. The optimized rule tables are applied to the next round of production.

[0035] When a continuous drying insufficiency anomaly is detected (default is 10 large-area solid tanks (total ink equivalent ≥ 0.8) with insufficient drying defects), a single-tank margin borrowing closed-loop negotiation mechanism is triggered, and a single-tank margin borrowing request is sent to the safety PLC. The request content includes: the physical address of the target tank, the requested overshoot value, and the duration. After receiving the request, the safety PLC queries a preset lookup table containing the safety margin based on the current lamp temperature, fan current, and enclosure temperature to obtain the maximum allowable margin. If the requested value is within the maximum allowable margin range, the "margin authorization flag" of the corresponding single tank data unit is set and a countdown is started. The flag is automatically reset upon expiration. If the requested value exceeds the maximum allowable margin, the request is rejected and the maximum available margin value is returned. The rule engine adjusts the request parameters based on the returned value and then re-initiates the negotiation. When multiple rules are triggered simultaneously and their action directions conflict, the conflict is arbitrated according to a three-level fixed priority system: safety-related rules > quality-related rules > energy-related rules. The action values ​​of rules with the same priority are taken as the arithmetic mean. The optimized multidimensional rule table and safety margin rules are applied to the heat demand data generation process of the next round of production. After the new heat demand data is locked, transmitted, verified for safety and executed for power, quality feedback data is generated again, forming a closed-loop adaptive program control link of ink supply data acquisition, heat demand generation, drying execution, quality feedback and rule optimization. Example 2

[0036] Please see Figure 3 As shown, for parts not described in detail in this embodiment, please refer to the description in Embodiment 1. An adaptive programmable control system for linking the supply and drying of printing ink for aluminum cans is provided, including: Basic configuration module: Obtain production line physical parameters, initialize global tank data array, configure the trigger phase of atomic transactions and the highest non-preemptible priority to form transaction scheduling rules, establish dual trigger logic for tank entry, and generate data addressing rules that map to physical production line tank positions; Color-by-color acquisition module: Based on the global tank data array and transaction scheduling rules, it triggers the tank entry transaction, locates the corresponding single tank data storage location through data addressing rules, and triggers the color group acquisition transaction to collect and write the tank entry identification information and color group ink supply parameters, and generates a single tank ink supply data unit. Heat demand generation module: Based on the single-tank ink supply data unit, trigger the data locking transaction mark to lock the status, generate equivalent heat demand data through the preset multi-dimensional rule table and synchronize it to the drying end, and generate a single-tank heat demand locking data unit; Drying execution module: Based on the single tank heat demand locking data unit, it triggers the drying execution transaction, reads the corresponding heat demand data, performs three-level security verification, hardware latches the power output of each drying zone, updates the actual execution and participation status, and generates a single tank execution data unit containing complete drying execution data. Closed-loop control module: It acquires feedback data from the quality inspection of a single tank, writes it into the corresponding single tank execution data unit, and then periodically scans the global quality feedback data to optimize the multi-dimensional rule table and arbitrates conflicting rules, forming a closed-loop adaptive program control link. Example 3

[0037] This embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the operation mode of the adaptive program control system for the linkage between ink supply and drying of the can printing ink provided above.

[0038] Since the electronic device described in this embodiment is the electronic device used to implement the adaptive program control method for linking the supply and drying of printing ink on cans in this application embodiment, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the adaptive program control method for linking the supply and drying of printing ink on cans described in this application embodiment. Therefore, how the electronic device implements the method in this application embodiment will not be described in detail here. Any electronic device used by those skilled in the art to implement the adaptive program control method for linking the supply and drying of printing ink on cans in this application embodiment falls within the scope of protection of this application.

[0039] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters and thresholds in the formulas are set by those skilled in the art according to the actual situation.

[0040] The above description is merely a preferred embodiment of the present invention, and the scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for users of ordinary technical skills, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. An adaptive program control method for linking ink supply and drying in aluminum can printing, characterized in that, include: S1: Obtain the physical parameters of the production line, initialize the global tank data array, configure the trigger phase of atomic transactions and the highest non-preemptive priority to form transaction scheduling rules, establish the dual trigger logic for entering the tank, and generate data addressing rules that map to the physical production line tank positions. S2: Based on the global tank data array and transaction scheduling rules, trigger the tank entry transaction, locate the corresponding single tank data storage location through the data addressing rules, and trigger the color group acquisition transaction to collect and write the tank entry identification information and color group ink supply parameters to generate a single tank ink supply data unit. S3: Based on the single-tank ink supply data unit, trigger the data locking transaction mark to lock the status, generate equivalent heat demand data through the preset multi-dimensional rule table and synchronize it to the drying end, and generate a single-tank heat demand locking data unit. S4: Based on the single-tank heat demand locking data unit, trigger the drying execution transaction, read the corresponding heat demand data, perform three-level security verification, hardware latch the power output of each drying zone, update the actual execution and participation status, and generate a single-tank execution data unit containing complete drying execution data. S5: Obtain feedback data from single-tank quality inspection, write it into the corresponding single-tank execution data unit, and then periodically scan the global quality feedback data to optimize the multi-dimensional rule table and arbitrate conflicting rules to form a closed-loop adaptive program control link.

2. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 1, characterized in that, The methods for initializing the global tank data array include: Obtain the physical parameters of the aluminum can printing production line and verify the accuracy of the spindle angle signal of the printing press spindle encoder. Based on the production line parameters and the spindle angle signal after verification, the single tank passage time, the total transmission time of the production line and the number of basic slots are extracted to obtain the initial global tank data array total size; In the continuous physical memory shared by the ink supply PLC, drying PLC and edge controller, a cross-controller shared memory space is allocated, and the single-tank data unit of each tank is pre-built to form the initial operating environment.

3. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 2, characterized in that, The data addressing rules are generated in the following ways: Based on the initialized operating environment, according to the key nodes of the entire life cycle of the production line process, the corresponding tank entry transaction, each color group acquisition transaction, data locking transaction and drying execution transaction are defined as independent atomic transactions and assigned the highest non-preemptive priority. Based on the physical parameters of the production line, the atomic transaction main axis triggering phases corresponding to the final color group completion station, the drying inlet station and the visual inspection station of the production line are calibrated, and a transaction scheduling table is generated as a transaction scheduling rule. Preset physical location direct conversion hard rules rigidly bind the physical location of the tank to the data storage address of the global data array, generating data addressing rules that map to the physical production line tanks.

4. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 3, characterized in that, The methods for triggering the tank entry transaction include: Based on the global tank data array and transaction scheduling rules, when the preset dual trigger logic of the tank entry sensor and the main shaft angle is met at the same time, the highest priority tank entry transaction is triggered. Read the current spindle angle, locate the memory address corresponding to the current tank through the data addressing rules, and then access the corresponding single tank data unit in the global tank data array to perform atomic initialization and obtain the initialized single tank data unit.

5. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 4, characterized in that, The methods for generating a single ink supply data unit include: Based on the initialized single-tank data unit, when the main axis angle reaches the trigger phase of each color group in sequence, the highest priority color group acquisition transaction is triggered in sequence; The real-time ink supply parameters of the corresponding color group are obtained by hardware latching, written into the corresponding single-tank data unit according to the data addressing rules, and the ink supply parameters of each color group are sequentially spliced ​​in the single-tank data unit to generate the single-tank ink supply data unit.

6. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 5, characterized in that, The methods for generating single-tank heat demand locking data units include: When the spindle angle reaches the final color group completion station trigger phase, a data locking transaction is triggered; the integrity of the ink supply parameters of each color group in the single ink supply data unit is checked; after the check passes, it is marked as locked. Equivalent heat demand data is generated by a preset multi-dimensional rule table containing basic heat load, environmental correction factor and power allocation, and transmitted synchronously to the tank drying end to generate a single tank heat demand locking data unit.

7. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 6, characterized in that, The methods for performing the three-level security verification include: When the spindle angle reaches the trigger phase at the drying inlet station, the drying execution transaction is triggered; the corresponding single tank heat demand data unit is located by the data addressing rules, the equivalent heat demand data of each drying zone is read, and three-level safety checks of hard limit clamping, single tank margin authorization and over-limit interlock are performed in sequence to obtain the final safe power output value of each drying zone.

8. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 7, characterized in that, The generation methods for the single-tank execution data unit include: The obtained safe power output value is hardware latched to each drying zone in one go, and the actual execution power and status flag of the single tank heat demand locking data unit are atomically updated to obtain a single tank execution data unit containing complete drying execution information.

9. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 8, characterized in that, The method of obtaining feedback data from single-tank quality inspection and writing it into the corresponding single-tank execution data unit includes: When the spindle angle reaches the trigger phase of the vision inspection station, the printing quality inspection of a single can is triggered, the quality feedback data is obtained, and it is written to the corresponding single can execution data unit.

10. The adaptive program control method for linking ink supply and drying in beverage can printing according to claim 9, characterized in that, The methods for optimizing the multidimensional rule table and arbitrating conflicting rules to form a closed-loop adaptive program control link include: The system scans all single-tank execution data units in the global tank data array that have completed drying and written feedback data at a preset fixed cycle to form a quality statistics data set. It then performs quality defect statistics and analysis, and finally optimizes the multidimensional rule table with strict parameter constraints based on the statistical and analysis results. When an abnormality of insufficient continuous drying is detected, a single-tank-level margin borrowing closed-loop negotiation mechanism is triggered to obtain the maximum allowable margin for closed-loop negotiation. When multiple rules are triggered and conflict, the conflict is arbitrated through a preset three-level priority arbitration rule to form a closed-loop adaptive program control link.