Printing ink supply quantity control method and system of printing machine

By combining image data analysis of the printing press with multi-dimensional sensor data and a rolling time-domain optimization algorithm, the problems of lag and overshoot in ink supply control of the printing press were solved, achieving stability and accuracy in ink supply, and improving printing quality and production efficiency.

CN121799046APending Publication Date: 2026-04-07NANJING HAIXING PRINTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610174333.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-06
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing printing presses struggle to adapt ink supply control to changes in production conditions during high-speed operation, resulting in delayed or overshooting of controller output adjustment commands, which affects print quality and production continuity.

Method used

By analyzing the ink distribution in the image data, combining multi-dimensional sensor data and state models to calculate the compensation amount, and employing a rolling time-domain optimization algorithm for feedforward feedback composite control, the optimal control sequence is generated to ensure the stability and accuracy of ink supply.

Benefits of technology

It achieves continuous, stable and precise control of ink supply under complex conditions, improves printing quality and production efficiency, shortens preparation time, and enhances the robustness and intelligence of the control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121799046A_ABST
    Figure CN121799046A_ABST
Patent Text Reader

Abstract

A printing ink supply quantity control method and system of a printing machine relates to the field of general control systems.The method comprises the steps that ink area distribution analysis is conducted on image data of current printing operation, and basic printing ink supply data are determined; in the printing process, sensor data of one or more physical dimensions are collected in real time, and real-time operation state data are obtained; calculating to obtain a state deviation value of each physical dimension, calculating to obtain an ink supply compensation amount for counteracting the influence of the state deviation on the printing ink color, and generating a target ink supply instruction at the current moment; and the target ink supply instruction serves as an optimization target, the physical stroke and the response rate of the printing machine serve as constraint conditions, a control value of the current time step is extracted, the control value is converted into a target set value of a corresponding ink supply executing mechanism, and the target set value is sent to the ink supply executing mechanism to execute ink supply. By means of the printing ink supply control method and device, the printing ink supply amount in the printing process can be accurately controlled under complex conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the general field of control systems, and more particularly to a method and system for controlling the ink supply of a printing press. Background Technology

[0002] In the modern printing industry, the quality of printed materials and production efficiency are key indicators for measuring a company's core competitiveness. Ink, as a core consumable in the printing process, directly determines the final color, density, and uniformity of the printed product through its transfer amount onto the substrate. Therefore, how to stably and precisely control the ink supply to the printing press during high-speed operation has always been an important goal and a continuous research direction in the field of printing technology.

[0003] In related technologies, a density feedback-based adjustment scheme is employed. This scheme involves installing an online density detection device in the paper delivery section of the printing press to measure the image density of the printed product in real time. This measurement is compared with a standard density target value preset by the operator, generating a density error signal. Subsequently, a PID controller calculates based on this error signal and generates an adjustment command. This command is sent to the actuator of the inking system, which, for example, adjusts the gap between the doctor blade and the ink fountain roller or changes the rotation speed of the ink fountain roller, thereby altering the overall ink output. The aim is to gradually bring the density of subsequent printed materials closer to the set target value.

[0004] However, in related technologies, the parameters of the PID controller remain fixed once tuned. But when production conditions such as printing speed and substrate fluctuate, the ink transfer characteristics also change. The fixed control parameters in related technologies are difficult to match the changing transfer characteristics, resulting in lag or overshoot in the controller's output adjustment commands. This manifests as continuous color deviation in printed materials, requiring operator intervention for manual recalibration, thus affecting the continuity of production and yield. Summary of the Invention

[0005] This application provides a method and system for controlling the ink supply of a printing press, which is used to achieve precise control of the ink supply during the printing process under complex conditions.

[0006] In a first aspect, this application provides a method for controlling the ink supply of a printing press, applied to a printing control system. The method includes: analyzing the ink zone distribution of image data from the current printing operation to determine the basic ink supply data for each ink zone of the printing press; during the printing process, real-time acquisition of sensor data from at least one or more physical dimensions within the printing press, including printing pressure, ink viscosity, printing plate temperature, ambient humidity, printing speed, and substrate ink absorption, to obtain real-time operation status data; comparing the real-time operation status data with preset reference status data to calculate the state deviation values ​​for each physical dimension; calculating the ink supply compensation amount to offset the influence of the state deviation on the printing ink color based on the state deviation values ​​and a pre-established state supply influence model; generating a target ink supply command for the current moment based on the basic ink supply data and the ink supply compensation amount; using the target ink supply command as an optimization objective, and combining it with the physical stroke and response rate of the printing press's ink supply actuator as constraints, determining the optimal control sequence for multiple preset time steps in the future through a rolling time-domain optimization algorithm; extracting the control value for the current time step from the optimal control sequence, converting the control value into the target setpoint value for the corresponding ink supply actuator, and sending it to the ink supply actuator to execute the ink supply.

[0007] In the above embodiments, the printing control system determines the basic supply through image analysis, calculates the compensation amount by combining multi-dimensional sensor data and state model, and adopts a rolling time-domain optimization algorithm to comprehensively consider physical constraints, thereby realizing feedforward feedback composite control of ink supply. It can anticipate and offset disturbances, avoid the lag and overshoot of traditional PID control, improve dynamic response speed and control accuracy, and ensure the stability of printing ink color under complex working conditions.

[0008] In conjunction with some embodiments of the first aspect, in some embodiments, the step of analyzing the ink zone distribution of the image data of the current printing operation to determine the basic ink supply data of each ink zone of the printing press specifically includes: dividing the image data into multiple grid units according to a preset resolution and calculating the color coverage of each grid unit; performing cluster analysis on the grid units based on the color coverage to identify sets of similar ink zones with similar printing characteristics; establishing an ink zone supply demand model based on the color coverage and spatial distribution characteristics of the sets of similar ink zones, and calculating the basic ink supply data of each ink zone of the printing press.

[0009] In the above embodiments, the printing control system accurately identifies the ink supply requirements of different ink zones by performing gridding, color coverage calculation and cluster analysis on the image, avoiding the problem of uneven initial ink supply caused by the complexity of image content, shortening the job preparation time, and improving printing quality from the source.

[0010] In conjunction with some embodiments of the first aspect, in some embodiments, the step of acquiring real-time operation status data from sensor data of at least one or more physical dimensions, including printing pressure, ink viscosity, printing plate temperature, ambient humidity, printing speed, and substrate ink absorption, during the printing process, specifically includes: determining the optimal sampling time interval for each physical dimension based on the sampling characteristics of each sensor in the printing machine; acquiring sensor data according to the optimal sampling time interval, and performing filtering and noise reduction processing on the sensor data to obtain standardized data; and synchronizing and aligning the standardized data according to timestamps to obtain real-time operation status data.

[0011] In the above embodiments, the printing control system ensures the accuracy, real-time performance, and consistency of real-time operation status data by determining the optimal sampling interval, filtering and noise reduction, and synchronizing timestamps, thus avoiding control misjudgments caused by data noise or timing errors.

[0012] In conjunction with some embodiments of the first aspect, in some embodiments, before comparing real-time operation status data with preset reference status data to calculate the status deviation values ​​of each physical dimension, the method further includes: constructing a coupling relationship model between each physical dimension and determining the influence weight of each physical dimension on ink transfer characteristics; training reference status data based on historical production data using machine learning methods; and performing weighted calculation of the status deviation values ​​according to the influence weights to obtain a comprehensive status deviation index.

[0013] In the above embodiments, the printing control system integrates the independent state deviations into a comprehensive state deviation index by constructing a coupling relationship model between physical dimensions and determining the influence weights, making the compensation calculation more targeted and accurate, and avoiding one-sided responses to deviations in a single dimension.

[0014] In conjunction with some embodiments of the first aspect, in some embodiments, the step of calculating the ink supply compensation amount to offset the influence of state deviation on printing ink color based on the state deviation value and a pre-established state supply influence model specifically includes: predicting the ink color deviation trend based on the comprehensive state deviation index and the state supply influence model; and calculating the adjustment direction and adjustment amplitude of the ink supply compensation amount required by the printing press in each ink zone based on the ink color deviation trend.

[0015] In the above embodiments, the printing control system predicts the future ink color deviation trend based on the comprehensive state deviation index and the state supply influence model, and calculates the adjustment direction and amplitude of the compensation amount accordingly, thereby realizing early intervention in ink color changes and effectively suppressing ink color fluctuations during the printing process.

[0016] In conjunction with some embodiments of the first aspect, in some embodiments, after taking the target ink supply command as the optimization objective and combining the physical stroke and response rate of the ink supply actuator of the printing press as constraints, and determining the optimal control sequence for multiple preset time steps in the future through a rolling time-domain optimization algorithm, the method further includes: constructing a set of constraint equations based on the physical stroke and response rate of the ink supply actuator, verifying the feasibility of the optimal control sequence, and obtaining an effective control sequence that satisfies the physical constraints; establishing a multi-dimensional evaluation function including the rate of change of control quantity, system response delay, and actuator power consumption, and calculating the performance index score of the effective control sequence; constructing an optimization objective function based on the performance index score, and obtaining the output value of the control sequence with the optimal performance index score through gradient descent iterative calculation.

[0017] In the above embodiments, after the printing control system is optimized in the rolling time domain, the control sequence is optimized again through feasibility verification and multi-dimensional evaluation functions to ensure the physical realizability of the control commands, while taking into account control stability, system response and energy consumption, and outputting the execution sequence with the best comprehensive performance, thereby improving the overall robustness and economy of the control system.

[0018] In conjunction with some embodiments of the first aspect, in some embodiments, the step of extracting the control value of the current time step from the optimal control sequence, converting the control value into the target setpoint of the corresponding ink supply actuator, and sending it to the ink supply actuator to perform ink supply specifically includes: mapping the control value into PWM signal parameters of the actuator driver based on the transmission characteristic equation of the ink supply actuator; collecting position sensor data and speed sensor data of the ink supply actuator, calculating the deviation between the actual output value of the actuator and the target setpoint; establishing a dynamic compensation function based on the deviation, generating a corrected control sequence correction value, and superimposing the corrected control sequence value onto the target setpoint of the next control cycle.

[0019] In the above embodiments, the printing control system converts the control value into a PWM signal and introduces closed-loop feedback correction at the actuator level to compensate for the deviation between the target set value and the actual output value, ensuring the accurate execution of the upper-level optimization instructions, eliminating the cumulative effect of transmission errors, and guaranteeing the final accuracy of ink supply.

[0020] In a second aspect, embodiments of this application provide a printing control system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the printing control system to perform the method described in the first aspect and any possible implementation thereof.

[0021] Thirdly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a printing control system, cause the printing control system to perform the method described in the first aspect and any possible implementation thereof.

[0022] Fourthly, embodiments of this application provide a computer program product containing instructions that, when the computer program product is run on a printing control system, cause the printing control system to perform the method described in the first aspect and any possible implementation thereof.

[0023] Understandably, the printing control system provided in the second aspect, the computer storage medium provided in the third aspect, and the computer program product provided in the fourth aspect are all used to execute the methods provided in the embodiments of this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.

[0024] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0025] 1. By analyzing the ink distribution of image data to determine the basic ink supply data, and combining it with real-time data from multiple physical dimension sensors to calculate the state deviation, and then generating the ink supply compensation amount based on the state supply influence model, the target instruction combining the basic data and the compensation amount is used as the optimization objective. The optimal control sequence is solved by using the rolling time domain optimization algorithm under the condition of considering physical constraints. Therefore, continuous, stable and precise automated control of the printing ink supply is achieved under complex and ever-changing production conditions, which significantly improves production efficiency and yield.

[0026] 2. By employing a method that divides image data into grid cells, calculates color coverage, performs cluster analysis on the grid cells to identify sets of similar ink areas, and finally establishes a model based on the color coverage and spatial distribution characteristics of the ink area sets to calculate basic ink supply data, it achieves rapid and accurate initial ink supply settings for any complex image, significantly shortens job preparation time, reduces startup defects, and lays a solid foundation for high-quality operation of the entire printing process.

[0027] 3. By constructing a coupling relationship model between various physical dimensions to determine their influence weights on ink transfer characteristics, and obtaining reference state data through machine learning training based on historical data, and finally calculating the state deviation values ​​of each dimension according to the influence weights to obtain a comprehensive state deviation index, the system achieves accurate diagnosis of the printing press state. This provides a reliable basis for subsequent calculation of accurate ink compensation, making the control system more targeted and improving the robustness and intelligence of the control. Attached Figure Description

[0028] Figure 1 This is a flowchart illustrating a method for controlling the ink supply of a printing press in an embodiment of this application.

[0029] Figure 2 This is another schematic flowchart of the ink supply control method for the printing press in the embodiments of this application;

[0030] Figure 3 This is a schematic diagram of the physical device structure of a printing control system according to an embodiment of this application. Detailed Implementation

[0031] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions a, an, the above, the, and this are intended to also include the plural expressions unless the context clearly indicates otherwise. It should also be understood that the terms used in this application refer to any or all possible combinations that include one or more of the listed items.

[0032] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0033] In the printing scenario described in this application, several technical terms have specific meanings. For example, an ink zone refers to the smallest unit on the printing plate that requires independent control of ink supply, defined according to image content and color requirements; it typically corresponds to a physical ink key on the printing press. Basic ink supply data is an initial ink supply setpoint calculated by the control system for each ink zone after preprocessing and analyzing the image file to be printed (i.e., image data). This data forms the basis for subsequent dynamic adjustments. After printing begins, the data set acquired in real time by the system through various sensors is called real-time operational status data. This data includes multi-dimensional physical quantities such as printing pressure, ink viscosity, and ambient humidity, collectively depicting the health status of the printing press at the current moment.

[0034] The state-supply influence model is a pre-established mathematical model that describes the quantitative relationship between changes in the aforementioned real-time operational state data (such as temperature increases) and changes in the required ink supply. When a state deviation is detected, the control system uses this model to calculate the compensation amount. The rolling time-domain optimization algorithm, on the other hand, is an advanced control strategy. It doesn't just calculate the optimal control quantity for the current moment; instead, it looks ahead a period of time (time domain), predicts the system state, calculates a series of optimal control actions, executes only the first action, and repeats this process at the next moment. This gives the control both predictability and rapid response to new information. Finally, these calculated control commands are sent to the ink supply actuator, i.e., the component that physically regulates the ink quantity, such as the motor controlling the opening of the ink fountain blade, to complete the final ink supply adjustment.

[0035] The following describes the process of the method provided in this implementation. Please refer to [link / reference]. Figure 1 This is a flowchart illustrating a method for controlling the ink supply of a printing press in an embodiment of this application.

[0036] S101. Analyze the ink zone distribution of the image data of the current printing operation to determine the basic ink supply data of each ink zone of the printing press.

[0037] The image data for the current printing job refers to the electronic layout file, such as TIFF or PDF, that will be used for printing; the ink zone refers to the control area on the printing press where the amount of ink can be adjusted independently; and the basic ink supply data is the initial ink setting value calculated for each ink zone based on the image content.

[0038] Specifically, before the printing operation begins, the printing control system first loads the image data. The system analyzes the image, identifies the color and coverage of different areas, and maps them to the physical ink zone division of the printing press. It then calculates a theoretical initial ink requirement for each ink zone, forming a complete set of initial setting parameters.

[0039] In some embodiments, this step can be implemented in several ways: Optionally, the printing control system converts the image data into the CMYK color space, extracts the grayscale image of each color channel, calculates the average grayscale value of the image area corresponding to each ink zone, and then obtains the basic supply data through a preset grayscale-ink quantity curve. Optionally, the printing control system uses an image segmentation algorithm to identify large areas of color blocks, text, and highlight areas, and applies different ink calculation strategies to different types of areas, finally summarizing them to each ink zone. It is understood that other image processing methods can also be used to implement this step, which are not limited here. In some embodiments, there may be a mismatch between the image resolution and the physical width of the ink zone. To address this, the printing control system uses interpolation or averaging algorithms to resample the image data, ensuring that its pixel grid accurately corresponds to the ink zone division, thus ensuring the accuracy of the calculation.

[0040] S102. During the printing process, sensor data from at least one or more physical dimensions of the printing press, including printing pressure, ink viscosity, printing plate temperature, ambient humidity, printing speed, and substrate ink absorption, are collected in real time to obtain real-time operation status data.

[0041] Among them, the physical dimension refers to the key process parameters that affect the ink transfer characteristics; sensor data refers to the raw electrical signals or values ​​measured by sensors installed in various parts of the printing press; and real-time operation status data is a multi-dimensional data set that reflects the overall status of the current printing process after processing and integration.

[0042] Specifically, during the operation of the printing press, the printing control system continuously receives data from devices such as pressure sensors, viscometers, temperature and humidity sensors, and encoders. These data streams are collected and preliminarily processed to form a dynamically updated database that depicts the precise operating conditions of the printing press at every moment.

[0043] In some embodiments, data acquisition for this step can be implemented in several ways: Optionally, the printing control system sets a fixed high-frequency sampling rate for each sensor, and removes high-frequency noise after acquisition using a digital low-pass filter. Optionally, the printing control system adopts an event-triggered sampling mechanism, only acquiring and recording data when the reading of a certain sensor changes beyond a preset threshold, thereby reducing the data processing burden. It is understood that other data acquisition strategies can also be used to implement this step, which are not limited here. In some embodiments, there may be situations where different sensors have different response speeds and data formats. To address this, the printing control system establishes a data synchronization and standardization module, using timestamps to align all data to a unified time axis, and normalizing data of different units and dimensions to the [0, 1] interval for easier subsequent comparison and calculation.

[0044] S103. Compare the real-time operation status data with the preset reference status data, and calculate the status deviation values ​​for each physical dimension.

[0045] Among them, the preset reference state data refers to the target values ​​or ranges of values ​​that each physical dimension should have under ideal or standard production conditions. This data can be trained based on the data of the best historical production batches; the state deviation value refers to the difference between the real-time collected data and the reference data.

[0046] Specifically, the printing control system compares the real-time operation status data obtained in step S102 with the reference status database stored in the system item by item. For example, it compares the real-time measured ink viscosity value with the standard viscosity value and calculates the difference between the two. This difference is the status deviation value of the viscosity dimension.

[0047] In some embodiments, the deviation calculation in this step can be implemented in several ways: Optionally, the printing control system calculates the absolute difference between the real-time value and the reference value. Optionally, the printing control system calculates the relative deviation percentage, i.e., (real-time value - reference value) / reference value, which better reflects the severity of the deviation. It is understood that other deviation calculation methods can also be used to implement this step, and no limitation is made here. In some embodiments, there may be a situation where the reference state data is not a fixed value, but a dynamic value related to production speed, etc. In this case, the printing control system will pre-establish a functional relationship model between the reference state and key variables (such as speed), and calculate the dynamic reference state value based on the current printing speed before calculating the deviation.

[0048] S104. Based on the state deviation value and the pre-established state supply influence model, calculate the ink supply compensation amount used to offset the influence of state deviation on printing ink color.

[0049] Among them, the state supply impact model is a mathematical or logical model used to describe the influence of state deviations in various physical dimensions on the ink supply demand; the ink supply compensation amount is the amount of ink that needs to be added or reduced to offset the negative impact of state deviations on ink color.

[0050] Specifically, the printing control system uses the state deviation values ​​of each physical dimension calculated in step S103 as input to the state supply influence model. The model performs calculations according to preset rules or functions and outputs one or a set of values, which are the ink supply compensation amounts required for the current state deviation.

[0051] In some embodiments, the compensation amount can be calculated in several ways: Optionally, the model is a linear weighted model, summing the values ​​of each deviation by their corresponding influence coefficients. Optionally, the model is a fuzzy logic-based inference system that determines the magnitude of the compensation amount through a series of IF-ELSE rules. It is understood that other models, such as neural networks, can also be used to implement this step, and this is not limited here. In some embodiments, multiple physical dimension deviations may occur simultaneously, and their combined effect is not a simple linear superposition. In this case, the state-supply influence model may include cross terms or nonlinear functions to describe this coupling effect, ensuring that the calculated compensation amount accurately reflects the actual physical process.

[0052] It should be noted that the pre-established state supply influence model described here is the core of feedforward control. Its function is to quantitatively predict the future ink color change trend caused by deviations in process state, so that the system can perform pre-compensation.

[0053] The training of this state-supply influence model relies on historical data. The training data needs to include synchronously recorded time-series data, including: multi-dimensional real-time operational state data (such as pressure, viscosity, temperature, etc.), corresponding comprehensive state deviation indices, and actual ink density deviation values ​​of printed materials measured by online density detection equipment. During training, the model takes the comprehensive state deviation index sequence over a past period (e.g., the past 60 seconds) as input and the actual ink density deviation sequence over a future period (e.g., the next 15 seconds) as output. The training criterion is to minimize the difference between the ink deviation trend predicted by the model and the actual ink deviation trend; the commonly used loss function is mean squared error (MSE). Considering the time dependence of the data, variants of recurrent neural networks (RNNs), such as Long Short-Term Memory networks (LSTM) or gated recurrent units (GRUs), are suitable. These network structures, through their internal gating mechanisms, can learn the long-term dependence and time-delay characteristics of the state deviation's impact on ink density.

[0054] The state supply influence model is a trained time-series prediction model, such as an LSTM network. Its input layer receives a fixed-length sequence of comprehensive state bias indices, such as [d(tn), ..., d(t-1), d(t)]. Data flows through multiple LSTM layers, each containing input gates, forget gates, and output gates to control the flow and retention of information. The forget gate determines which historical state information needs to be discarded, the input gate determines which new information at the current moment needs to be retained, and the output gate determines which parts of the current hidden state will be used as the output. Through these gating mechanisms, the model can capture complex dynamic relationships, such as the decrease in ink viscosity after a continuous rise in temperature for 5 minutes, which leads to a decrease in ink density approximately 10 seconds later. The model's output layer is a fully connected layer that outputs a predicted sequence of ink biases representing multiple future time steps, such as [Δρ(t+1), Δρ(t+2), ..., Δρ(t+m)].

[0055] In actual operation, the control system continuously feeds the latest calculated comprehensive state deviation index into a sliding time window. The data sequence within this window is used as input and fed in real time into a trained state supply influence model. The model performs forward propagation calculations and outputs a predicted trajectory for future ink density deviation. This predicted trend (e.g., predicting a 0.08 decrease in ink density within the next 10 seconds) is crucial information, quantifying the potential impact of current system disturbances on future quality.

[0056] S105. Generate the target ink supply instruction for the current moment based on the basic ink supply data and ink supply compensation amount.

[0057] Among them, the basic ink supply data is the initial setting value from step S101; the ink supply compensation amount is the dynamic adjustment value from step S104; and the target ink supply instruction is the final expected ink amount issued to the optimization algorithm at the current moment after the combination of the two.

[0058] Specifically, the printing control system algebraically sums the base ink supply data for each ink zone with the ink supply compensation calculated for that zone. For example, if the base supply is 50% and the compensation is +5%, the generated target ink supply instruction is 55%. This instruction represents the ideal ink supply level that should be achieved to maintain standard ink color under the current operating conditions.

[0059] In some embodiments, the instruction can be generated in several ways: Optionally, the compensation amount can be directly added to the base data. Optionally, a weighted average method with a forgetting factor can be used to smooth the target instruction from the previous cycle with the newly calculated target instruction to prevent instruction mutations. It is understood that other fusion strategies can also be used to implement this step, which are not limited here. In some embodiments, there may be cases where the calculated compensation amount causes the target instruction to exceed physical limits (such as 0% or 100%). In this case, the printing control system will perform a limiting process after the instruction is generated, forcibly constraining the out-of-range value within a valid physical range.

[0060] S106. Taking the target ink supply command as the optimization objective and combining it with the physical stroke and response rate of the ink supply actuator of the printing press as constraints, the optimal control sequence for multiple preset time steps in the future is determined by a rolling time-domain optimization algorithm.

[0061] Among them, the optimization objective is the ideal trajectory that the rolling time-domain optimization algorithm needs to track; physical travel and response rate refer to the maximum range of movement and the fastest speed of the ink supply actuator (such as the ink key motor); the optimal control sequence is a series of control actions calculated by the algorithm over multiple time steps in the future.

[0062] Specifically, the printing control system initiates a rolling time-domain optimizer. The optimizer takes the target ink supply command generated in step S105 as its objective, while also considering the reality that the actuator cannot reach the target position instantaneously and has travel limitations. By solving a constrained optimization problem, it calculates a future control path that can approach the target in the fastest and most optimal way while also conforming to physical laws.

[0063] It should be noted that the rolling time-domain optimization algorithm (also known as model predictive control, MPC) described here is not a single model, but a model-based optimization control framework. Its effectiveness depends on establishing a predictive model that can describe the dynamic behavior of the system and constructing a formalized optimization problem.

[0064] The predictive model here refers to a system dynamics model describing how the control input of the ink supply actuator affects the final ink supply quantity. This model is usually simplified to a discrete-time state-space form:

[0065] .

[0066] in, It is a discrete time step. It is the system state vector (e.g., the amount of ink on the ink roller, the actual opening of the ink key). It is the control input vector (i.e., the control value to be solved). This is a process disturbance (which can be indirectly reflected by state deviations). Matrices A, B, and C are system parameters, which need to be determined through system identification. The identification process typically involves conducting step response or pseudo-random binary sequence (PRBS) experiments on the printing press: providing the ink supply actuator with a known sequence of input signals. Simultaneously measure the output response sequence of the system. Then, methods such as subspace identification (N4SID) or least squares are used to estimate matrices A, B, and C. Furthermore, constraints need to be explicitly defined.

[0067] Including amplitude constraints for control inputs:

[0068] (The physical travel of the corresponding actuator)

[0069] and rate of change constraints:

[0070] (The response rate of the corresponding actuator).

[0071] In each control cycle, the rolling time-domain optimization algorithm needs to solve a finite-time optimization problem. The objective function of this problem aims to minimize the deviation between the predicted output and the target command over a future period, while also considering control costs. A typical quadratic objective function is as follows:

[0072] ;

[0073] Where N is the prediction time domain length. The first term is the tracking error. The first term is the target ink supply command sequence generated by S105, and Q is the weight matrix used to adjust the degree of emphasis on tracking errors in different states. The second term is the control increment penalty, Δu(k) = u(k) − u(k−1), used to suppress drastic changes in control actions and make control smoother. R is the corresponding weight matrix. This minimization problem needs to be solved under the conditions of satisfying the aforementioned system dynamics model and physical constraints.

[0074] During the execution of S106, at the current time k, the controller first obtains the current system state x(k) and the latest target ink supply instruction. Then, using the aforementioned objective function and constraints, it calculates the optimal control sequence for the next NNN steps using a numerical optimization solver (such as a quadratic programming QP solver). Based on the core idea of ​​rolling time-domain optimization, the system only considers the first element of this sequence. (k) is sent to the actuator as the actual control value for the current time step (S107). In the next time step k+1, the system remeasures the state, updates the target, and repeats the entire optimization process. This rolling execution method allows the control system to continuously use the latest feedback information to revise its future control plan, thus exhibiting strong robustness to disturbances and model uncertainties.

[0075] In some embodiments, this optimization process can be implemented in several ways: Optionally, the system dynamics model can be linearized and efficiently computed using a quadratic programming (QP) solver. Optionally, nonlinear model predictive control (NMPC) can be employed, and numerical optimization methods such as sequential quadratic programming (SQP) can be used to solve the problem to obtain higher accuracy. It is understood that other optimization algorithms can also be used to implement this step, and no limitation is made here. In some embodiments, model mismatch may occur, leading to inaccurate predictions. To address this, the printing control system incorporates a disturbance observer into the optimization algorithm to estimate the difference between the model and the actual system, and uses this estimate for prediction and optimization at the next time step to improve the robustness of the algorithm.

[0076] S107. Extract the control value of the current time step from the optimal control sequence, convert the control value into the target set value of the corresponding ink supply actuator, and send it to the ink supply actuator to execute ink supply.

[0077] Among them, the control value of the current time step is the first element in the optimal control sequence; the target setpoint is a specific instruction that can be directly sent to the actuator driver after conversion, such as position coordinates or speed value; the ink supply actuator is a component that physically adjusts the ink volume.

[0078] Specifically, the printing control system selects only the first action from the optimal control sequence calculated in step S106 (e.g., a list of actions for the next 10 control cycles). This action is considered the most urgent and reasonable under the current circumstances. The printing control system converts it into a format that the actuators can understand and sends it out via the control bus, driving components such as motors to perform the corresponding ink adjustment actions.

[0079] In some embodiments, this step can be implemented in several ways: Optionally, the control value can be directly used as the target value for the motor's position loop. Optionally, the control value can be used as the target value for the speed loop, with the underlying driver performing position control automatically. It is understood that different instruction conversion methods can also be used depending on the type of actuator, which is not limited here. In some embodiments, communication delays may cause instruction execution lag. To address this, the printing control system will attach a timestamp when sending instructions and require the actuator to execute synchronously according to the timestamp, or model and compensate for this communication delay in a higher-level optimization algorithm.

[0080] The above embodiments provide a basic control flow. However, in complex industrial applications, to further improve the accuracy and robustness of control, it is necessary to refine and enhance the key steps in the flow. For example, optimizing aspects such as the quality of real-time data acquisition, the comprehensive evaluation of the effects of multiple variables, and the selection of optimized control sequences can enable the control system to better cope with various unexpected disturbances. Therefore, this application provides another more specific embodiment, the flow of which is as follows.

[0081] The following provides a more detailed description of the process of the method provided in this implementation. Please refer to [link / reference]. Figure 2 This is another flowchart illustrating the ink supply control method for a printing press in this embodiment of the present application.

[0082] S201. Divide the image data into multiple grid units according to a preset resolution, and calculate the color coverage of each grid unit.

[0083] The preset resolution refers to the fineness of dividing the image into grids, which matches the physical width of the ink zone on the printing press; the grid cell is the smallest unit of image analysis after division; and the color coverage rate refers to the percentage of area occupied by pixels of a specific color (such as C, M, Y, K) within a grid cell.

[0084] Specifically, before executing a printing job, the printing control system loads the high-resolution image file to be printed. Based on the known ink area width and printing direction, the printing control system divides the entire image horizontally into multiple vertical stripes corresponding to the ink areas, and then divides each strip vertically into several grid cells. Subsequently, the printing control system traverses all pixels within each grid cell, counts the pixel values ​​of the four color channels (C, M, Y, K), and calculates the average coverage of each color channel within that cell.

[0085] In some embodiments, the color coverage calculation in this step can be implemented in several ways: Optionally, for each pixel, its CMYK value (typically 0-255) is converted to a percentage of 0-1, and then the average percentage of that channel for all pixels within the grid cell is calculated. Optionally, a threshold (e.g., 128) is set, with pixel values ​​above the threshold counted as 100% coverage and those below as 0%, and then the percentage of pixels with 100% coverage is calculated. This method is simple to calculate and suitable for binary content such as text. It is understood that other weighted averages or non-linear mapping methods can also be used to implement this calculation, which is not limited here.

[0086] In some embodiments, there may be instances where the image contains spot colors. In response, the printing control system pre-reads the spot color channel information from the image file and treats the spot color as an independent color channel when calculating color coverage, calculating its coverage separately to ensure accurate control of the spot color inks.

[0087] S202. Perform cluster analysis on the grid cells based on color coverage to identify sets of similar ink areas with similar printing characteristics.

[0088] Clustering analysis is an unsupervised machine learning algorithm used to group data points into clusters based on similarity; similar printing characteristics refer to grid cells having similar color coverage distributions; a set of similar ink areas refers to a region composed of multiple grid cells with similar printing characteristics.

[0089] Specifically, the printing control system uses the color coverage rate (e.g., a vector containing four values: C, M, Y, and K) of each grid cell calculated in step S201 as input data. The printing control system employs clustering algorithms such as K-Means or DBSCAN to analyze all grid cells, grouping cells with similar color coverage rate vectors in multidimensional space into the same cluster. Each cluster represents a type of area with similar printing requirements, such as highlight areas, shadow areas, or a specific dominant color area.

[0090] In some embodiments, this clustering analysis can be implemented in several ways: Optionally, the K-Means algorithm can be used, with a pre-defined number of clusters K. The algorithm iteratively calculates and finds K cluster centers that minimize the sum of the distances from all points to their respective cluster centers. Optionally, a hierarchical clustering algorithm can be used. This algorithm does not require a pre-defined number of clusters; it generates a tree-like clustering structure, which can be cut at different levels as needed to obtain ink area sets of different granularities. It is understood that other clustering algorithms can also be used to implement this step, and this is not limited here.

[0091] In some embodiments, clustering based solely on color coverage may overlook spatial continuity, resulting in physically separate regions being grouped together. To address this, the printing control system incorporates the spatial coordinate information of the grid cells into the clustering features, performing comprehensive clustering based on both color and spatial location. This ensures that the identified sets of similar ink areas are also continuous or adjacent on the physical printing plate.

[0092] S203. Based on the color coverage and spatial distribution characteristics of similar ink zones, establish an ink zone supply demand model and calculate the basic ink supply data for each ink zone of the printing press.

[0093] Among them, spatial distribution characteristics refer to the position, shape and size of similar ink zones on the printing plate; the ink zone ink supply demand model is a mathematical model that maps the characteristics of ink zone sets to specific ink supply values; the basic ink supply data is the initial ink opening degree or rotation speed setting value output by the model for each physical ink zone.

[0094] Specifically, for each set of similar ink zones identified in step S202, the printing control system calculates its average color coverage, area size, and centroid position. Based on these features, and combined with an ink supply demand model pre-learned through experimental calibration or historical data (e.g., a lookup table or regression function mapping average coverage to ink key opening), the printing control system calculates a theoretical ink supply demand for that set. Finally, the printing control system superimposes and distributes the ink supply demands of all ink zone sets on the printing plate, ultimately obtaining specific basic ink supply data for each physical ink zone covering the entire printing plate.

[0095] It should be noted that the ink supply demand model described here is a key preprocessing model. Its core objective is to establish an accurate mapping from image content features to initial ink settings, thereby providing a high-quality cold start parameter for printing operations.

[0096] The training process for this ink zone supply demand model is a supervised learning process that relies on a large amount of historical production data. First, it is necessary to collect historical data on successful printing jobs. Each data point contains two parts: the original image file of the job, and the ink supply data (e.g., ink key opening percentage) for each ink zone, determined by experienced operators through manual adjustment or automatic system optimization when the job finally stabilizes in production. During the training data preparation phase, the system performs parsing steps S201 and S202 on each historical image file to extract the feature vector for each ink zone or set of similar ink zones. This vector may contain the average color coverage of each color channel (CMYK), the variance of the coverage, the proportion of highlight / shadow areas, spatial texture complexity (e.g., calculated through image gradient or entropy), and the area and geometric center of the ink zone set. This forms a data pair of (image feature vector, optimal ink supply value). The training objective is to minimize the root mean square error (RMSE) between the model's predicted ink supply value and the historical true optimal value. Training methods can include gradient boosting decision trees (such as XGBoost and LightGBM), as they can effectively handle tabular data and capture nonlinear interactions between features; or a multilayer perceptron (MLP) neural network can be used to learn complex mapping relationships through backpropagation.

[0097] The ink supply demand model for this ink zone can be a set of trained regression models, where each model corresponds to a color channel. Taking a gradient boosting tree as an example, this model consists of multiple decision trees, each of which corrects the prediction residuals of all the preceding trees. The input is the aforementioned image feature vector. Internally, the model guides the input data to a leaf node through a series of feature splitting judgments. The value of this leaf node is the prediction of the ink supply quantity. For example, the model might learn that when an ink zone with high C channel coverage, a small area, and located at the edge of the printing plate, its initial C ink supply should be slightly higher than that of a large area with the same coverage but located in the center, in order to pre-compensate for the edge effect.

[0098] In practical applications, when new printing job image data is loaded, the system first extracts the feature vectors of each ink zone according to the procedures S201 and S202. Then, these feature vectors are input one by one into the pre-trained ink zone supply demand model. The model calculates and outputs specific basic ink supply data for each ink zone in real time (e.g., the C channel supply of ink zone 5 is 48.5%). This series of data constitutes the initial ink supply settings for the entire printing job, which are directly sent to the printing press as the basis for printing start-up, reducing the time spent on manual trial printing and adjustments.

[0099] S204. During the printing process, sensor data from at least one or more physical dimensions of the printing press, including printing pressure, ink viscosity, printing plate temperature, ambient humidity, printing speed, and substrate ink absorption, are collected in real time to obtain real-time operation status data.

[0100] Refer to step S102, which will not be repeated here.

[0101] S205. Construct a coupling relationship model between various physical dimensions and determine the influence weight of each physical dimension on ink transfer characteristics.

[0102] Among them, the coupling relationship model is a mathematical model that describes how a change in one physical dimension causes corresponding changes in other physical dimensions. For example, an increase in printing speed may lead to frictional heat generation, which in turn causes an increase in the printing plate temperature. The influence weight is a quantitative indicator that represents the magnitude of the impact of a unit change in a certain physical dimension on the final ink transfer efficiency.

[0103] Specifically, during the system deployment phase, the printing control system builds models through a series of Designed Experiments (DOEs) or by analyzing large amounts of historical production data. For example, by running the printing press at different speeds while recording changes in plate temperature, a functional relationship between speed and temperature can be fitted. Similarly, by analyzing print density data under different combinations of temperature and viscosity, multiple regression or machine learning methods can be used to determine the weighting coefficients of temperature and viscosity on ink transfer efficiency. These models and weights are embedded in the system for subsequent online calculations.

[0104] In some embodiments, this step can be implemented in several ways: Optionally, a partial least squares regression (PLSR) method can be used, which is particularly suitable for handling situations where there is a high linear correlation between independent variables, and can effectively establish a predictive model between multiple physical dimensions and ink transfer characteristics and determine the influence weights. Optionally, a gradient boosting decision tree (GBDT) model can be trained, which can capture complex nonlinear coupling relationships and can directly output the influence weights of each physical dimension through feature importance analysis. It is understood that other statistical analysis or machine learning methods can also be used, and are not limited here.

[0105] In some embodiments, different types of printing jobs (such as those using different inks or substrates) may have different coupling relationships and influence weights. To address this, the printing control system establishes and stores multiple sets of models and weight parameters for different job types. When a new job begins, the matching parameter set is automatically loaded based on the job information.

[0106] S206. Reference state data is obtained by training using machine learning methods based on historical production data.

[0107] Historical production data refers to the set of sensor data recorded in a large number of past production batches, corresponding to high-quality printed products; machine learning methods such as cluster analysis or anomaly detection algorithms; and reference state data is a set of idealized physical dimension values ​​or ranges that the model learns from historical data, representing the optimal production conditions.

[0108] Specifically, the data analysis module of the printing control system processes historical production data stored in the database offline. This module first filters out all sensor data corresponding to production batches marked as high-quality products. Then, it applies clustering algorithms such as Gaussian Mixture Model (GMM) to analyze this data, identifying the regions with the densest data. The center point or expected value of this region is defined as the reference state data for that operating condition. For example, by analyzing the ink viscosity data of all high-quality batches, it is found that the viscosity is mainly distributed at 25 ± 0.5 Pa·s; therefore, 25 Pa·s is set as the reference state value for viscosity.

[0109] More specifically, the system first filters production batches marked as high-quality (e.g., those assessed as Grade 1 by an online quality inspection system or confirmed by experienced equipment managers) from the historical database. For these batches, the system extracts a complete set of sensor time-series data corresponding to the stable production phase, including printing pressure, ink viscosity, and printing plate temperature. Then, statistical analysis is performed on the data for each physical dimension, such as calculating its mean, median, and standard deviation across all high-quality batches. To obtain a more robust and representative center point of ideal operating conditions, a Gaussian Mixture Model (GMM) can be used to cluster the multidimensional data points. GMM can discover multiple subgroups in the data (which may correspond to different but all high-quality production modes), and the system selects the mean vector of the Gaussian component with the largest sample size and smallest variance as the final preset reference state data. This vector (e.g., [pressure = 1.2 MPa, viscosity = 25 Pa·s, temperature = 28°C, ...]) represents the optimal and most stable combination of production process parameters verified through extensive practice, and subsequent real-time data will be compared with it to calculate the deviation.

[0110] In some embodiments, this step can be implemented in several ways: Optionally, the Isolation Forest algorithm can be used to train on all historical data. This algorithm can effectively identify data subjects representing the normal (high-quality) production state and use their statistical characteristics as reference states. Optionally, Principal Component Analysis (PCA) can be used to reduce the dimensionality of multi-dimensional sensor data and determine the distribution centers of high-quality data on the main principal component dimensions, serving as a multi-dimensional reference state vector. It is understood that other data mining and modeling techniques can also be used to determine the reference state, which is not limited here.

[0111] In some embodiments, the production process may drift slowly over time, causing the old reference state to become no longer optimal. To address this, the printing control system periodically (e.g., weekly or monthly) automatically retrains and updates the reference state data using the latest high-quality production data to ensure that it always represents the best state under the current equipment and process.

[0112] S207. The state deviation values ​​are weighted according to the influence weights to obtain the comprehensive state deviation index.

[0113] The influence weight comes from step S205; the state deviation value comes from the calculation result of step S208; the comprehensive state deviation index is a single value that integrates deviation information from multiple dimensions into a quantitative index that can represent the overall deviation of the system.

[0114] Specifically, the printing control system first normalizes the state deviation values ​​for each physical dimension to ensure they are on the same scale. Then, it multiplies each normalized deviation value by its corresponding influence weight determined in step S205. Finally, it sums all the weighted deviation values ​​(or performs other forms of aggregation) to obtain the final comprehensive state deviation index. For example, if the influence weight of temperature deviation is 0.6 and the influence weight of humidity deviation is 0.2, then the comprehensive deviation = 0.6 * (normalized temperature deviation) + 0.2 * (normalized humidity deviation) + ...

[0115] In some embodiments, this step can be performed in several ways: Optionally, a simple linear weighted summation can be used. Optionally, Euclidean distance or Mahalanobis distance can be used to calculate the comprehensive deviation, that is, treating the normalized multidimensional deviation vector as a point in space and calculating the weighted distance from that point to the origin (zero deviation). This method can better reflect the comprehensive magnitude of the multidimensional deviation. It is understood that other data fusion techniques can also be used to generate comprehensive indicators, which are not limited here.

[0116] In some embodiments, certain combinations of deviations may produce a synergistic amplification effect. To address this, the printing control system, when calculating the overall index, introduces a cross term in addition to the linear weighting term. For example, a term proportional to (temperature deviation * viscosity deviation) is added to represent the aggravated impact on ink color when high temperature and low viscosity occur simultaneously.

[0117] S208. Compare the real-time operation status data with the preset reference status data, and calculate the status deviation values ​​for each physical dimension.

[0118] Refer to step S103, which will not be repeated here.

[0119] S209. Based on the comprehensive state deviation index and combined with the state supply influence model, the ink color deviation trend is obtained through prediction.

[0120] Among them, the comprehensive state deviation index comes from step S207; the state supply impact model is a model that describes how the system state affects the ink supply demand; the ink color deviation trend is a prediction of how the ink color (such as density value) of printed matter will deviate from the standard value in the future without any additional control.

[0121] Specifically, the printing control system uses the comprehensive state deviation index calculated in step S207 as a key input to the pre-established state supply influence model. This model (which may be a time series prediction model, such as ARIMA or LSTM neural network) extrapolates forward and outputs a prediction sequence based on the current comprehensive deviation magnitude and rate of change, combined with the system's own dynamic characteristics (such as ink transfer delay). This sequence describes the expected deviation of ink density from standard density over the next few seconds or dozens of printing cycles.

[0122] In some embodiments, this prediction step can be implemented in several ways: Optionally, a simplified transfer function model can be used, taking the comprehensive state deviation as input, and the output of the model is the dynamic response curve of the ink deviation. Optionally, a recurrent neural network (RNN) trained with historical data can be used, taking the comprehensive state deviation sequence over a past period as input, and the network will output a predicted sequence of ink deviation for a future period. It is understood that other dynamic system modeling and prediction methods can also be used, and are not limited here.

[0123] In some embodiments, model predictions may be inaccurate. To address this, the printing control system acquires the actual ink density of the printed material online in real time (e.g., via an online scanner) and compares the actual ink density deviation with the model's prediction deviation. The prediction error generated by this comparison is used to correct the parameters affecting the model online, allowing its predictive ability to continuously optimize itself.

[0124] S210. Calculate the adjustment direction and adjustment range of the ink supply compensation amount required by the printing press in each ink zone based on the ink color deviation trend.

[0125] Among them, the ink color deviation trend comes from the prediction result of step S209; the adjustment direction refers to whether the ink supply needs to be increased or decreased; the adjustment magnitude refers to the specific amount of ink that needs to be adjusted.

[0126] Specifically, the goal of the printing control system is to calculate an ink supply compensation amount that, when applied to the system, precisely counteracts the ink color deviation trend predicted in step S209. This is essentially an inverse problem. The printing control system uses an ink supply color model (describing how changes in ink supply affect ink color changes) as input, taking the predicted ink color deviation trend as input, and inversely solves for the required ink supply compensation amount. For example, if the model predicts a future decrease in ink color of 0.05 density units, and the ink supply color model indicates that increasing the ink supply by 1% will increase the density by 0.01 units, then the calculated compensation amount would be +5%.

[0127] In some embodiments, this step can be calculated in several ways: Optionally, if the ink supply model is linear, the compensation amount can be directly calculated by division. Optionally, if the model is nonlinear, it may be necessary to solve it using numerical methods such as Newton's iteration method to find the compensation amount that minimizes future prediction deviations. Understandably, the compensation amount can also be calculated directly by constructing an inverse model, etc., which is not limited here.

[0128] In some embodiments, the ink transfer efficiency may differ across different ink zones. To address this, the printing control system maintains an independent ink supply model for each ink zone or type of ink zone. When calculating the compensation amount, the system uses the spatial distribution of ink color deviation trends across different ink zones to call upon the corresponding model for each zone, calculating its own independent, spatially differentiated ink supply compensation amount.

[0129] S211. Generate the target ink supply instruction for the current moment based on the basic ink supply data and the ink supply compensation amount.

[0130] Refer to step S105, which will not be repeated here.

[0131] S212. Taking the target ink supply command as the optimization objective and combining it with the physical stroke and response rate of the ink supply actuator of the printing press as constraints, the optimal control sequence for multiple preset time steps in the future is determined by a rolling time-domain optimization algorithm.

[0132] Refer to step S106, which will not be repeated here.

[0133] S213. Extract the control value of the current time step from the optimal control sequence, convert the control value into the target set value of the corresponding ink supply actuator, and send it to the ink supply actuator to execute ink supply.

[0134] Refer to step S107, which will not be repeated here.

[0135] To ensure the quality of the data acquired in the above steps and the reliability of the processing results, in some embodiments, the printing control system performs a more refined processing procedure. That is, the printing control system performs refined processing on the collected sensor data to ensure the quality of the data input to the control model. Specifically, the printing control system will: determine the optimal sampling time interval for each physical dimension based on the sampling characteristics of each sensor in the printing press; collect sensor data according to the optimal sampling time interval, and perform filtering and noise reduction processing on the sensor data to obtain standardized data; and synchronize and align the standardized data according to the timestamp to obtain real-time operation status data.

[0136] Among them, sampling characteristics refer to the inherent response time, accuracy, and noise level of different sensors; the optimal sampling time interval is determined based on the Nyquist sampling theorem and combined with the specific sensor characteristics, which can avoid information loss and prevent data redundancy; filtering and noise reduction processing refers to using digital signal processing algorithms to remove interference signals from the original sensor data; data standardization refers to converting data with different physical units and dimensions to the same comparable scale (such as 0 to 1); synchronization alignment refers to aligning data from different sources on the time axis according to timestamps to form a state snapshot at the same moment.

[0137] Specifically, during the printing process, the printing control system first sets independent sampling threads and periods for different sensors such as pressure, viscosity, and temperature based on pre-configured parameters. For example, a 10-millisecond sampling interval might be used for rapidly changing printing pressure, while a 1-second sampling interval might be used for slowly changing ambient humidity. The collected raw data first enters a preprocessing module, which uses filters such as Kalman filters or moving average filters to smooth the data and remove random noise and electrical interference. The cleaned data is then processed by a normalization function. Finally, a data fusion module combines the data from all sensors into a structured data frame based on the high-precision timestamp attached to each data point. Each frame represents the complete job status data at a specific moment.

[0138] In some embodiments, the filtering and noise reduction process in this step can be implemented in several ways: Optionally, a median filter can be used. This method has a good suppression effect on impulse noise (e.g., transient interference caused by motor startup). It sorts the data within a time window and takes the median as the output for the current point. Optionally, wavelet transform can be used for noise reduction. This method can decompose the signal at different scales, effectively distinguishing the real changes in the signal from noise, and removing noise while preserving the details of signal abrupt changes. It is particularly suitable for processing non-stationary signals. It is understood that other advanced filtering algorithms can also be used to implement this step, and no limitation is made here.

[0139] In some embodiments, sensor malfunctions or outlier output values ​​(outliers) may occur. To address this, the printing control system adds a data validity verification step before filtering and noise reduction. This step identifies and removes obviously unreasonable outlier data by setting reasonable threshold ranges for physical quantities or by comparing the changing trends of the current sampling point with multiple points before and after it. Alternatively, it uses interpolation algorithms to fill in missing data, thus ensuring the reliability of the data sent to subsequent processing stages.

[0140] To ensure the quality of the data acquired in the above steps and the reliability of the processing results, in some embodiments, the printing control system performs a more refined processing flow. Specifically, the printing control system further filters and verifies the optimal control sequence output by the rolling time-domain optimization algorithm to ensure that the final executed instruction is not only theoretically optimal but also performs best in engineering practice. This involves: constructing a set of constraint equations based on the physical travel and response rate of the ink supply actuator; verifying the feasibility of the optimal control sequence to obtain an effective control sequence that satisfies the physical constraints; establishing a multi-dimensional evaluation function that includes the rate of change of control quantity, system response delay, and actuator power consumption; calculating the performance index score of the effective control sequence; constructing an optimization objective function based on the performance index score; and obtaining the output value of the control sequence with the optimal performance index score through gradient descent iterative calculation.

[0141] Among them, the constraint equations are a set of mathematical inequalities describing the physical limitations of the ink supply actuator (such as maximum stroke, maximum speed, and maximum acceleration); feasibility verification is the process of checking whether each instruction in the control sequence satisfies the constraint equations; an effective control sequence refers to the set of sequences that have passed the feasibility verification; the multidimensional evaluation function is a comprehensive scoring function, whose input is a control sequence and whose output is a scalar score representing the overall performance of the sequence. Evaluation dimensions may include the smoothness of control quantity changes, the speed of system response, and the energy consumption of the actuator; the optimization objective function is constructed based on the performance index score and is used to find the objective function with the highest score (or lowest cost) among all effective control sequences.

[0142] Specifically, after the rolling time-domain optimization algorithm provides a preliminary optimal control sequence in step S212, this sequence is first sent to a physical constraint verification module. This module checks each control point and its rate of change in the sequence one by one to ensure that its value does not exceed the preset upper limits of actuator stroke, speed, and acceleration. Any sequence that does not meet the constraints is discarded. The valid control sequences that pass the verification are then sent to the performance evaluation module. This module scores each valid sequence according to a preset multi-dimensional evaluation function. For example, a sequence with gentle changes and low energy consumption but a slightly slower response will receive different scores than a sequence with a fast response but high energy consumption and violent movements. Finally, the secondary optimization module aims to maximize (or minimize) the performance score and uses iterative algorithms such as gradient descent to search within the neighborhood of the valid control sequences, ultimately outputting a control sequence with the best overall performance while satisfying all physical constraints.

[0143] In some embodiments, the multidimensional evaluation function can be constructed in several ways: Optionally, it can be constructed as follows:

[0144] ;

[0145] The first factor is the drastic change in the penalty control quantity (smoothness); the second factor is the deviation between the penalty output and the target (speed); and the third factor is the magnitude of the penalty control quantity (energy consumption). , , For weighting coefficients. Optionally, a fuzzy logic-based evaluation system can be adopted, defining fuzzy concepts such as fast response, stable operation, and low energy consumption as membership functions, and obtaining a comprehensive evaluation level through fuzzy inference rules. It is understood that other forms of evaluation functions can also be used, and this is not limited here.

[0146] In some embodiments, the optimization calculation may be time-consuming, affecting the real-time performance of the control cycle. To address this, the printing control system employs a hierarchical strategy. In each control cycle, the execution of physical constraint verification is prioritized. The computationally intensive multidimensional evaluation and secondary optimization processes can be run in a lower-priority task, or every few control cycles. The results are used to update the weights of the evaluation function or the optimization strategy, thereby continuously improving the long-term overall control performance while ensuring basic safety and real-time performance.

[0147] To ensure the quality of the data acquired in the above steps and the reliability of the processing results, in some embodiments, the printing control system performs a more refined processing flow. That is, the printing control system performs closed-loop monitoring and compensation on the execution process of the final control value to ensure that the high-level instructions are accurately reproduced by the physical actuator. Specifically, the printing control system will: map the control value into the PWM signal parameters of the actuator driver based on the transmission characteristic equation of the ink supply actuator; collect position sensor data and speed sensor data of the ink supply actuator to calculate the deviation between the actual output value of the actuator and the target setpoint; establish a dynamic compensation function based on the deviation to generate a corrected control sequence correction value, and superimpose the control sequence correction value onto the target setpoint of the next control cycle.

[0148] The transmission characteristic equation is a mathematical mapping describing the relationship between the control value (such as an abstract percentage) and the input signal required by the actuator driver (such as the PWM duty cycle or voltage value); the PWM signal parameters refer to the duty cycle and frequency of the pulse width modulation signal; the position sensor data and speed sensor data are the real-time motion state fed back by the encoder or Hall sensor installed on the actuator (such as the motor); the deviation is the difference between the target setpoint and the actual value fed back by the sensor; the dynamic compensation function is a function that calculates the correction value in real time based on the deviation; and the control sequence correction value is an additional value used to correct the control command for the next cycle.

[0149] Specifically, after the printing control system obtains the control value for the current time step (e.g., key opening 35.2%) from the upper-level optimizer, an instruction conversion module first calls a preset transmission characteristic equation to convert the logical value of 35.2% into the specific PWM signal duty cycle required to drive the key motor, such as 68%. This PWM signal is sent to the motor driver. Simultaneously, an execution monitoring module continuously reads the actual position data returned by the motor encoder. It compares the target position (converted from 35.2%) with the actual position fed back by the encoder to calculate the real-time position error. If the error is not zero, the dynamic compensation module generates a correction value based on the magnitude and trend of the error (e.g., through a PID controller). This correction value is not used in the current cycle but is superimposed on the target setpoint received from the upper level in the next control cycle, thus compensating for anticipated execution errors in advance.

[0150] In some embodiments, the dynamic compensation function can be established in several ways: optionally, a simple proportional compensation can be used, i.e. ,in It is the proportional coefficient. Optionally, a complete PID (proportional-integral-derivative) compensation function can be used, i.e.,

[0151] This method can simultaneously address both steady-state error and dynamic response issues, resulting in better compensation. It is understandable that more complex compensation strategies such as feedforward compensation and adaptive control can also be employed, but this is not limited to these specific approaches.

[0152] In some embodiments, the transmission characteristics of the actuator may change slowly due to mechanical wear or changes in lubrication conditions. To address this, the printing control system includes an online parameter identification module. This module periodically analyzes the long-term relationship between the target setpoint and the actual output value. If a systematic drift is detected in the mapping relationship of the transmission characteristic equation, the module automatically updates the parameters of the equation, thereby enabling the entire closed-loop compensation system to adapt and ensuring long-term operational accuracy.

[0153] Furthermore, the transmission characteristic equation here is essentially a calibration model used to resolve the nonlinear mapping relationship between upper-level control commands (such as a logic opening of 35.2%) and lower-level hardware drive signals (such as PWM duty cycle). The process of establishing this calibration model is as follows:

[0154] During the equipment commissioning phase, the system controls the ink supply actuator (such as a stepper motor) to move from zero to full stroke, and records the encoder readings and the PWM duty cycle required to drive the motor at a high frequency for each position. By performing polynomial fitting or building a lookup table (LUT) on these (PWM duty cycle, actual position) data pairs, the transmission characteristic equation can be obtained.

[0155] The dynamic compensation function is a low-level closed-loop controller, most commonly implemented as a PID controller. After the upper-level command is converted into a target PWM signal through the transmission characteristic equation and sent to the driver, the position / speed sensor mounted on the motor shaft will provide real-time feedback on its actual motion state.

[0156] The deviation e(t) between this feedback value and the target value will be input into the PID compensation function:

[0157] The calculated correction value does not directly modify the current PWM signal. Instead, as described in the text, it is superimposed on the target setpoint received from the upper-level optimization algorithm in the next control cycle. For example, if the target for the current cycle is 35.2%, but a steady-state error of -0.1% is found after execution, the PID integral term will accumulate this error. In the next cycle, if the upper-level instruction is 35.5%, the internal target with the added compensation will become 35.6%, thus offsetting the expected execution error in advance and achieving precise compensation for mechanical transmission errors and load changes.

[0158] In this embodiment, a composite control strategy combining image analysis, multi-dimensional sensing, and model predictive control is employed, enabling precise, forward-looking, multivariable, and constraint-optimized adjustment of ink supply during the printing process. This method determines a scientific initial supply baseline through image preprocessing, and achieves feedforward compensation for disturbances by real-time monitoring of physical condition changes and model prediction of their impact on ink color. Finally, a rolling time-domain optimization algorithm is used to solve for the optimal control action sequence while satisfying the physical constraints of the actuator. This effectively solves the fundamental problems of existing single feedback control (such as PID) in responding to changes in operating conditions, including lag, overshoot, and oscillation, leading to unstable ink color and reliance on manual intervention. This achieves fully automatic, high-precision, and high-stability control of ink supply under high-speed, variable printing conditions, improving print quality and production automation.

[0159] The printing control system in the embodiments of this invention is described below from the perspective of hardware processing. Please refer to [link / reference]. Figure 3 This is a schematic diagram of the physical device structure of a printing control system in an embodiment of this application.

[0160] It should be noted that, Figure 3 The structure of the printing control system shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0161] like Figure 3 As shown, the printing control system includes a CPU 301, which can perform various appropriate actions and processes according to a program stored in ROM 302 or a program loaded into RAM 303 from storage section 308, such as executing the methods described in the above embodiments. RAM 303 also stores various programs and data required for system operation. The CPU 301, ROM 302, and RAM 303 are interconnected via bus 304. I / O interface 305 is also connected to bus 304.

[0162] The following components are connected to I / O interface 305: input section 306 including audio input devices, push-button switches, etc.; output section 307 including liquid crystal display (LCD) and audio output devices, indicator lights, etc.; storage section 308 including hard disks, etc.; and communication section 309 including network interface cards such as LAN (Local Area Network) cards, modems, etc. Communication section 309 performs communication processing via a network such as the Internet. Drive 310 is also connected to I / O interface 305 as needed. Removable media 311, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on drive 310 as needed so that computer programs read from them can be installed into storage section 308 as needed.

[0163] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing computer programs for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 309, and / or installed from removable medium 311. When the computer program is executed by CPU 301, it performs the various functions defined in the present invention.

[0164] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. Each block in a flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those shown in the drawings.

[0165] Specifically, the printing control system of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, it implements the ink supply control method for the printing press provided in the above embodiment.

[0166] In another aspect, the present invention also provides a computer-readable storage medium, which may be included in the printing control system described in the above embodiments; or it may exist independently and not incorporated into the printing control system. The storage medium carries one or more computer programs that, when executed by a processor of the printing control system, cause the printing control system to implement the ink supply control method for the printing press provided in the above embodiments.

[0167] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0168] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning if... or after... or in response to determining... or in response to detecting... Similarly, depending on the context, the phrase "when determining... or if (the stated condition or event) is interpreted as meaning if determining... or in response to determining... or in response to detecting (the stated condition or event)" or in response to detecting (the stated condition or event).

Claims

1. A method for controlling the ink supply of a printing press, characterized in that, Applied to a printing control system, the method includes: Analyze the ink zone distribution of the image data of the current printing operation to determine the basic ink supply data for each ink zone of the printing press. During the printing process, sensor data from at least one or more physical dimensions, including printing pressure, ink viscosity, printing plate temperature, ambient humidity, printing speed, and substrate ink absorption, are collected in real time within the printing press to obtain real-time operational status data. The real-time operation status data is compared with the preset reference status data to calculate the status deviation values ​​for each physical dimension. Based on the state deviation value and the pre-established state supply influence model, the ink supply compensation amount used to offset the influence of state deviation on printing ink color is calculated. Based on the basic ink supply data and the ink supply compensation amount, generate the target ink supply instruction for the current moment; The target ink supply command is used as the optimization target, and the physical stroke and response rate of the ink supply actuator of the printing press are used as constraints. The optimal control sequence for multiple preset time steps in the future is determined by a rolling time-domain optimization algorithm. The control value of the current time step is extracted from the optimal control sequence, the control value is converted into the target set value of the corresponding ink supply actuator, and sent to the ink supply actuator to perform ink supply.

2. The method according to claim 1, characterized in that, The step of analyzing the ink zone distribution of the image data of the current printing operation to determine the basic ink supply data for each ink zone of the printing press specifically includes: The image data is divided into multiple grid units according to a preset resolution, and the color coverage of each grid unit is calculated. Cluster analysis is performed on the grid cells based on the color coverage to identify sets of similar ink areas with similar printing characteristics; Based on the color coverage and spatial distribution characteristics of the aforementioned ink zone set, an ink zone ink supply demand model is established to calculate the basic ink supply data for each ink zone of the printing press.

3. The method according to claim 1, characterized in that, The step of acquiring real-time operational status data during the printing process, specifically including: sensor data from at least one or more physical dimensions within the printing press, such as printing pressure, ink viscosity, printing plate temperature, ambient humidity, printing speed, and substrate ink absorbency, to obtain real-time operational status data, specifically includes: Based on the sampling characteristics of each sensor in the printing press, the optimal sampling time interval for each physical dimension is determined. The sensor data is collected according to the optimal sampling time interval, and the sensor data is filtered and noise-reduced to obtain standardized data. The standardized data is synchronized and aligned according to timestamps to obtain the real-time operation status data.

4. The method according to claim 1, characterized in that, Before the step of comparing the real-time operation status data with preset reference status data and calculating the status deviation values ​​for each physical dimension, the method further includes: Construct a coupling relationship model among the various physical dimensions and determine the influence weight of each physical dimension on ink transfer characteristics; The reference state data is obtained by training using machine learning methods based on historical production data. The state deviation values ​​are weighted according to the influence weights to obtain a comprehensive state deviation index.

5. The method according to claim 4, characterized in that, The step of calculating the ink supply compensation amount to offset the impact of the state deviation on the printing ink color based on the state deviation value and the pre-established state supply influence model specifically includes: Based on the comprehensive state deviation index and combined with the state supply influence model, the ink color deviation trend is obtained through prediction. Based on the ink color deviation trend, the adjustment direction and adjustment amplitude of the ink supply compensation amount required by the printing press in each ink zone are calculated.

6. The method according to claim 1, characterized in that, After the step of determining the optimal control sequence for multiple preset time steps using a rolling time-domain optimization algorithm, with the target ink supply command as the optimization objective and the physical stroke and response rate of the ink supply actuator of the printing press as constraints, the method further includes: A set of constraint equations based on the physical stroke and response rate of the ink supply actuator is constructed, and the feasibility of the optimal control sequence is verified to obtain an effective control sequence that satisfies the physical constraints. Establish a multi-dimensional evaluation function that includes the rate of change of control quantity, system response delay, and actuator power consumption, and calculate the performance index score of the effective control sequence. Based on the performance index scores, an optimization objective function is constructed, and the control sequence output value with the optimal performance index score is obtained through gradient descent iterative calculation.

7. The method according to claim 6, characterized in that, The step of extracting the control value of the current time step from the optimal control sequence, converting the control value into the target setpoint of the corresponding ink supply actuator, and sending it to the ink supply actuator to execute ink supply specifically includes: Based on the transmission characteristic equation of the ink supply actuator, the control value is mapped and converted into PWM signal parameters of the actuator driver; The position sensor data and speed sensor data of the ink supply actuator are collected, and the deviation between the actual output value of the actuator and the target set value is calculated. A dynamic compensation function is established based on the deviation, a corrected control sequence correction value is generated, and the corrected control sequence correction value is superimposed on the target setpoint of the next control cycle.

8. A printing control system, characterized in that, The printing control system includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the printing control system to perform the method as described in any one of claims 1-7.

9. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the printing control system, it causes the printing control system to perform the method as described in any one of claims 1-7.

10. A computer program product, characterized in that, When the computer program product is run on the printing control system, it causes the printing control system to perform the method as described in any one of claims 1-7.