An arrayed orifice online decoupling control method based on multi-agent deep reinforcement learning
By employing a multi-agent deep reinforcement learning approach, online decoupling control between nozzles in a high-density inkjet printing array was achieved, resolving the electrostatic crosstalk problem and improving the consistency and stability of print quality.
Patent Information
- Application Number
- CN202611313992.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies struggle to achieve online decoupling between nozzles in high-density inkjet arrays, and traditional methods cannot effectively suppress electrostatic crosstalk, affecting the consistency and stability of print quality.
A method based on multi-agent deep reinforcement learning is adopted. Through fully collaborative Markov game modeling, each nozzle acts as an agent, sharing the same goal. Multimodal state information and composite reward function are used to make action decisions, thereby achieving decoupled control between nozzles.
It effectively suppresses electrostatic crosstalk between nozzles in high-resolution array printing, while taking into account both the printing accuracy of a single nozzle and the global consistency of the array, thus improving the stability and consistency of printing quality.
Smart Images

Figure CN123137147A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of inkjet printing control, and more specifically, relates to an online decoupling control method for arrayed nozzles based on multi-agent deep reinforcement learning. Background Technology
[0002] Organic light-emitting diodes (OLEDs) have attracted widespread attention due to their advantages such as self-illumination and high contrast. Currently, thermal evaporation is the standard production method, but it suffers from low material utilization and difficulty in manufacturing large-size substrates. In contrast, inkjet printing, as a non-contact technology, enables precise droplet deposition, offering superior material efficiency, simplified patterning processes, and better scalability. To meet the demands of high-efficiency industrial-scale production, the development of high-density arrayed nozzles has become a key technological trend.
[0003] However, in high-density inkjet printing arrays, there is a serious electrostatic coupling problem between adjacent nozzles. Voltage fluctuations in any nozzle inevitably alter the local electric field distribution, thereby interfering with the jet state of adjacent nozzles. This crosstalk leads to nonlinear disturbances, severely affecting the consistency and stability of print quality.
[0004] To address the issues of array uniformity and crosstalk suppression, various solutions based on mechanistic analysis and control strategies exist in existing technologies. For example, one solution proposes adding virtual nozzles at the array edges to balance the electric field distribution and suppress edge effects through passive compensation. In terms of active control, a single-nozzle meniscus control method combining current feedback and a PID controller is known to maintain stable spraying under external disturbances. Furthermore, a neural network-based voltage waveform and droplet volume mapping prediction method has emerged, compensating for system nonlinearity through supervised learning.
[0005] However, existing methods struggle to achieve online decoupling in high-density arrays. Passive methods reduce array density, while physics-based simulations are computationally too expensive for real-time control. Traditional control strategies lack global coordination capabilities, treating disturbances merely as noise. Furthermore, deep learning models often lack physical interpretability and require large amounts of training data. Therefore, a highly efficient control framework capable of online decoupling of nonlinear electrostatic interactions is urgently needed. Summary of the Invention
[0006] To address the aforementioned deficiencies or improvement needs of existing technologies, this invention provides an online decoupling control method for arrayed nozzles based on multi-agent deep reinforcement learning. The aim is to propose a decoupling control scheme that can effectively suppress electrostatic crosstalk between nozzles and balance the printing accuracy of individual nozzles with the global consistency of the array for high-resolution arrayed printing.
[0007] To achieve the above objectives, according to one aspect of the present invention, an online decoupling control method for arrayed nozzles based on multi-agent deep reinforcement learning is provided, which employs multi-agent deep reinforcement learning with non-trainable parameters to perform the following decoupling control steps for each nozzle: Based on the current time step multimodal state information vector of each nozzle The intelligent agent through the nozzle makes action decisions to adjust process parameters, and based on the decisions, it makes independent fine-tuning incremental actions. Controlling the nozzle process parameters, constructing the state information vector of the nozzle at the next time step. And calculate instant rewards The immediate reward for each nozzle is calculated using a composite reward function shared by all nozzles, which includes a jet accuracy tracking term, a neighborhood state consistency constraint term to suppress differences in control actions between neighboring nozzles, and an abnormal state penalty term. The multimodal state information vector includes: online performance feedback information composed of droplet volume and flight velocity; a heuristic neighborhood electric field intensity feature characterizing the influence of the neighborhood electric field on the nozzle; and current jet mode information. The heuristic neighborhood electric field intensity feature is constructed using a deformation-induced electric field distortion function and a distance-inverse form, serving as prior physical information. , , , The resulting experience transfer tuples are stored in a shared experience pool for all agents. The operation of action decision, control, and construction is repeatedly executed. When there are a first preset number of tuples in the shared experience pool, a second preset number of tuples are taken from the shared experience pool while the action decision is executed to calculate the Q target value. The agent network parameters are updated based on the deviation loss between the action decision result and the Q target value until the repetition termination condition is met, and the reinforcement learning process is exited. Printing is controlled based on the final drive control quantity of the nozzle obtained from reinforcement learning.
[0008] Furthermore, the jet pattern information is characterized by discrete classification identifiers, including normal, interrupted jet, deflected, and trailing.
[0009] Furthermore, the calculation method for the heuristic neighborhood electric field intensity characteristics is as follows:
[0010] In the formula, Indicates nozzle i Heuristic neighborhood electric field strength characteristics, This represents the globally applied voltage amplitude shared by the array of nozzles; and These represent the neighboring nozzles. The droplet volume and classification identifier in the current state information vector; This is the deformation-induced electric field distortion function, used to characterize the dynamic nonlinear disturbance of the local electric field caused by fluid curvature deformation and space charge in the neighborhood nozzle. Indicates nozzle With nozzle The center distance between them; Indicates nozzle The set of neighboring nozzles, including those with nozzles i Spatial geometric position within a preset distance range K One nozzle; when the nozzle The nozzles located at the edge or corner of the array result in insufficient actual physical neighborhood nozzles. At any given time, virtual boundary nozzles with a state value of zero are used for filling.
[0011] Furthermore, the composite reward function is:
[0012] In the formula, Indicates the current time step t For the nozzle i The immediate reward for performing incremental actions; the first term on the right side of the equation is the accuracy tracking term. For the spray nozzle i The droplet volume in the new state information vector constructed after performing the incremental action. For nozzles i The target volume; the second term on the right-hand side of the equation is the neighborhood state consistency constraint term. For nozzles The set of absolute drive control states reached by the nozzles and their neighboring nozzles after applying the corresponding incremental action at the current time step. for The statistical variance; the third term on the right side of the equation is the outlier penalty term, which is the indicator function when the classification is outlier. At this point, the accuracy tracking reward for the first item is forcibly masked and set to zero; otherwise, it is... 0; weighting coefficient The trade-offs between printing accuracy, array consistency, and anomaly recovery capability are controlled separately; wherein, the neighboring nozzle is the nozzle... i Spatial geometric position within a preset distance range K A set of nozzles.
[0013] Furthermore, each nozzle corresponds to an independent fine-tuning increment action. ; To adjust the fixed adjustment step size of the bias voltage or auxiliary drive back pressure for independent control of a single nozzle, the jet state of the target nozzle is adjusted by a combination of actions within a continuous time step.
[0014] Furthermore, the loss function for the deviation loss is:
[0015] In the formula, This indicates the second preset quantity. Indicates the first k The Q-target value corresponding to each tuple Indicates the parameters of the agent network Based on the first k The state information vector corresponding to each tuple and incremental actions The predicted action decision result.
[0016] Furthermore, when making action decisions regarding the adjustment of process parameters for each nozzle using an intelligent agent, the following approach is adopted: Greedy strategy: Set exploration rate Its value ranges from [0,1]; when making action decisions at each training step, it is based on probability. Randomly select one action from all available process parameter adjustment actions to execute, with a probability of 1- Select the action corresponding to the maximum action value Q value output by the current network and execute it; The exploration rate will be high in the early stages of training. Setting the value to 0.9–1.0 enables the agent to conduct random exploration with a high probability, covering various non-ideal conditions including jet volume deviation, jet instability, and local jet interruption; as the number of training steps increases, the exploration rate increases. The rate is gradually reduced using either an exponential or linear decay strategy, eventually decaying to 0.01–0.1; when the exploration rate When the value approaches 0, the agent's action decisions are entirely based on the action value estimate output by the current network, entering a stable policy utilization phase.
[0017] According to another aspect of the present invention, an arrayed nozzle printing system is provided, comprising an arrayed printhead, a data acquisition module, a vision inspection module, and a controller; the data acquisition module and the vision inspection module are electrically connected to the controller respectively; the data acquisition module is connected to the arrayed printhead and is used to acquire the globally applied voltage of the array and the independent fine-tuning drive parameters of each nozzle; the vision inspection module is used to extract droplet volume, flight velocity, and jet pattern classification online; the controller is used to receive the data acquired by the data acquisition module and the vision inspection module and execute the steps of the method described above.
[0018] According to another aspect of the invention, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium includes a stored computer program, wherein the computer program, when executed by a processor, controls the device in which the storage medium is located to perform the steps of the method as described in any one of claims 1 to 8.
[0019] In summary, compared with the prior art, the technical solutions conceived by this invention have the following main advantages: 1. This invention proposes an online decoupling control method for arrayed nozzles based on multi-agent deep reinforcement learning. First, it introduces an array decoupling control architecture based on a fully cooperative Markov game. By transforming the physical control problem of multivariate coupling into a distributed cooperative optimization problem, each nozzle agent can actively perceive the neighborhood coupling effect during decision-making, thereby learning a cooperative compensation strategy, overcoming the limitations of traditional independent control loops in strong electrostatic coupling environments. Second, it constructs a multimodal state information vector that integrates physical priors. By constructing heuristic neighborhood electric field strength features, the agent can perceive the neighborhood electric field distortion trend and actively prevent crosstalk risks. Simultaneously, it introduces a scattering flow mode classification label, enabling the agent to distinguish fault types and flexibly switch between fine-tuning and aggressive recovery strategies. Furthermore, it designs a composite reward function including accuracy tracking, neighborhood state consistency constraints, and anomaly penalties, transforming the physical requirement of electric field crosstalk suppression into an optimizable mathematical objective in deep reinforcement learning, achieving an effective balance between high-precision printing of a single nozzle and global spray consistency across the array. Therefore, this invention proposes a decoupled control scheme for high-resolution array printing that can effectively suppress electrostatic crosstalk between nozzles and balance the printing accuracy of a single nozzle with the global consistency of the array. Attached Figure Description
[0020] Figure 1 A flowchart illustrating an array-based nozzle decoupling control method based on physical information multi-agent deep reinforcement learning, provided in an embodiment of the present invention. Figure 2 This is a diagram of a multi-agent deep reinforcement learning network architecture that integrates physical information, provided in an embodiment of the present invention. Figure 3 This is a panoramic view of the arrayed nozzle decoupling and collaborative control system provided in the embodiments of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.
[0022] Example 1 An online decoupling control method for arrayed nozzles based on multi-agent deep reinforcement learning is proposed. This method employs multi-agent deep reinforcement learning with non-trainable parameters sharing to perform the following decoupling control steps for each nozzle: Based on the current time step multimodal state information vector of each nozzle The intelligent agent through the nozzle makes action decisions to adjust process parameters, and based on the decisions, it makes independent fine-tuning incremental actions. Controlling the nozzle process parameters, constructing the state information vector of the nozzle at the next time step. And calculate instant rewards The immediate reward for each nozzle is calculated using a composite reward function shared by all nozzles, which includes a jet accuracy tracking term, a neighborhood state consistency constraint term to suppress differences in control actions between neighboring nozzles, and an abnormal state penalty term. The multimodal state information vector includes: online performance feedback information composed of droplet volume and flight velocity; a heuristic neighborhood electric field intensity feature characterizing the influence of the neighborhood electric field on the nozzle; and current jet mode information. The heuristic neighborhood electric field intensity feature is constructed using a deformation-induced electric field distortion function and a distance-inverse form, serving as prior physical information. , , , The resulting experience transfer tuples are stored in a shared experience pool for all agents. The operation of action decision, control, and construction is repeatedly executed. When there are a first preset number of tuples in the shared experience pool, a second preset number of tuples are taken from the shared experience pool while the action decision is executed to calculate the Q target value. The agent network parameters are updated based on the deviation loss between the action decision result and the Q target value until the repetition termination condition is met, and the reinforcement learning process is exited. Printing is controlled based on the final drive control quantity of the nozzle obtained from reinforcement learning.
[0023] This embodiment models the arrayed nozzle control process as a fully cooperative Markov game, where each nozzle acts as an independent agent, and all agents share the same global objective: maximizing the cumulative expected reward. The game process is represented by tuples. Definition, where NThis represents the set of all nozzle agents. At each discrete time step... t Each agent selects an action based on its current observed state (input state vector), and the actions of all agents together constitute a joint action vector. Since voltage fluctuations in any nozzle inevitably interfere with the local electric field and jet state of neighboring nozzles, this strong electrostatic coupling eliminates the possibility of independent control loops. A holistic multi-agent modeling approach is adopted, in which all agents share the same global objective: maximizing the cumulative expected reward, thus transforming the multivariable coupled control challenge into a distributed cooperative optimization problem.
[0024] A globally shared composite reward function was designed, which includes: a precision tracking term to guide a single nozzle to complete the target deposition task (target jetting), a neighborhood state consistency regularization term to suppress the difference in control actions between neighboring nozzles to reduce electric field crosstalk, and an abnormal state penalty term to apply negative feedback to abnormal jet patterns based on visual discrimination results.
[0025] To enable the intelligent agent to perceive complex electrostatic coupling environments and make accurate decisions, this embodiment is the first in the array. i Each nozzle constructs a multimodal state information vector that integrates prior physical information. It contains information in three dimensions: (1) Online visual feedback: droplet volume and flight speed The image is extracted by the vision module through image processing algorithms, reflecting the most direct printing performance indicators of the nozzles.
[0026] (2) Physical prior perception: heuristic neighborhood electric field strength characteristics Used to characterize the effect of neighborhood voltage state changes on the first i The potential impact of each nozzle's jet behavior. This feature is only input into the deep reinforcement learning network as environmental disturbance perception information in the state vector and does not participate in the direct calculation of the subsequent composite reward function. It is equivalently calculated using the following method:
[0027] In the formula, Indicates nozzle i Heuristic neighborhood electric field strength characteristics, This represents the globally applied voltage amplitude shared by the array of nozzles; and These represent the neighboring nozzles. The droplet volume and classification identifier in the current state information vector; The deformation-induced electric field distortion function is used to characterize the effect of deformation of the manifold of the ejected fluid and space charge on the first-order electric field in the neighborhood of the nozzle. Local electric field of each nozzle The resulting dynamic nonlinear disturbance; Indicates nozzle With nozzle The center distance between them; Indicates nozzle The set of neighboring nozzles, including those with nozzles i Spatial geometric position within a preset distance range K One nozzle; when the nozzle The nozzles located at the edge or corner of the array result in insufficient actual physical neighborhood nozzles. When a certain number of nozzles are used, virtual boundary nozzles with a state value of zero are used to fill in the gaps, so as to ensure that the neighborhood size of each nozzle is fixed.
[0028] This feature approximates the spatial attenuation law of the electrostatic field using an inverse square distance ratio, enabling the agent to perceive the state of the neighboring jet during decision-making. and The sudden change in local electric field distortion trend can be used to actively suppress the risk of electric field crosstalk by incrementing the decision action; this feature is only provided as a state input to the deep reinforcement learning network and does not participate in the direct calculation of the composite reward function.
[0029] It is important to note that in traditional high-density electrofluid nozzles, all nozzles typically share the same global high-voltage power supply, resulting in a meaningless, constant electrostatic field calculation based on a single applied voltage amplitude within the array. This embodiment innovatively points out that, under global equipotential conditions, the physical root of dynamic electric field crosstalk actually lies in the geometric deformation of the fluid menisci of adjacent nozzles and the space charge repulsion generated during the jetting process. Therefore, the heuristic feature designed in this embodiment abandons static voltage input and instead uses the neighboring droplet volume and jet pattern extracted in real-time by the visual module as inducing factors. The function is used to quantify the degree of electric field distortion caused by abrupt changes in the physical morphology of adjacent agents. This mechanism enables the agent to keenly perceive and predict the dynamic nonlinear disturbances caused by the impending jetting behavior of adjacent nozzles, even under a hardware architecture sharing a global high voltage, and then proactively adjust its independent fine-tuning actions to compensate for these disturbances.
[0030] To ensure computational complexity and real-time control, neighborhood set The specific definition uses a fixed number of nearest neighbors: for each nozzle i Select the one with the closest distance to its center. K Each nozzle forms a neighborhood. K The value can be 4 (i.e., the four neighboring areas: top, bottom, left, and right) or 8 (including the diagonal direction), depending on the array arrangement pattern. The calculation expression uses the inverse square distance ratio. The approximate electrostatic field spatial decay law has the physical significance of amplifying the crosstalk effect of near-field neighboring nozzles on the target nozzle, while the effect of far-field nozzles decays much faster and is negligible. Incorporating this heuristic feature into the state space allows the agent to perceive neighborhood voltage trends and proactively choose actions that reduce local voltage gradients during decision-making, thereby preventing crosstalk risks.
[0031] (3) Dispersed flow mode: The vision module determines the current jet state into one of four discrete modes: normal, interrupted jet, deflection, and tailing. This classification enables the agent to distinguish the nature of the fault: deflection is usually caused by electric field crosstalk and needs to be corrected by adjusting the voltage in coordination with neighboring nozzles; interrupted jet indicates a physical channel problem and usually requires a large pulse width adjustment or even high-pressure cleaning to recover.
[0032] To guide the multi-orifice agent in achieving coordinated control that balances individual accuracy and array uniformity within a coupled electric field environment, this embodiment designs a composite reward function. Preferably, for the first... i Each nozzle, in time step t Instant rewards received Defined as:
[0033] In the formula, Indicates the current time step t For the nozzle i The immediate reward for performing incremental actions; the first term on the right side of the equation is the accuracy tracking term, which constrains the printing accuracy of a single nozzle. For the spray nozzle i The droplet volume in the new state information vector constructed after performing the incremental action. For nozzles i The target volume; the droplet volume measured online. With target volume The normalized penalty for the relative error guides the agent to complete the quantitative deposition task. This penalty decreases when the measured volume approaches the target volume. The larger the relative error, the smaller the reward.
[0034] The second term on the right-hand side of the equation is the neighborhood state consistency constraint term, representing the... The degree of consistency between the absolute drive control state of an individual nozzle and its neighboring nozzles at the current time step; For nozzles The set of absolute drive control states reached by the nozzles and their neighboring nozzles after applying the corresponding incremental action at the current time step. for The statistical variance; the third term on the right side of the equation is the outlier penalty term, which is the indicator function when the classification is outlier. At this point, the accuracy tracking reward for the first item is forcibly masked and set to zero; otherwise, it is... 0; weighting coefficient The trade-offs between printing accuracy, array consistency, and anomaly recovery capability are controlled separately; wherein, the neighboring nozzle is the nozzle... i Spatial geometric position within a preset distance range K A preferred set of nozzles. K Choose 4 or 8.
[0035] Neighborhood state consistency constraint Instead of forcing absolute consistency in the driving states of each nozzle, a soft penalty is applied to drastic differences in the absolute driving control quantities between adjacent nozzles. The physical basis for this is that excessive differences in the driving states between adjacent nozzles exacerbate the inconsistency of fluid deformation, leading to lateral electric field distortion, which in turn causes jet deflection and electric field crosstalk. In other words, drastic divergences in control strategies between adjacent nozzles often result in increased local potential differences, triggering lateral electric field gradients and thus exacerbating electric field crosstalk. By penalizing the variance term, the algorithm tends to maintain a smooth transition of the driving states of adjacent nozzles while meeting individual accuracy requirements when learning strategies. However, this constraint is not mandatory; if a nozzle experiences a local state anomaly (…), the penalty will be applied. When an agent needs to take a different adjustment action than its neighbors, the combined effect of the positive reward of the accuracy tracking term (first term) and the anomaly penalty term (third term) can offset the negative effect of the variance penalty, allowing the agent to temporarily break through the consistency constraint and execute the necessary differentiated action. Weight coefficients α and β The ratio determines the system's preference for single-hole printing accuracy and neighborhood state consistency under normal operating conditions. In practical applications, pre-calibration is performed through grid search or Bayesian optimization to enable the algorithm to effectively suppress electric field crosstalk while maintaining high printing accuracy.
[0036] It is important to note that this consistency constraint does not constitute a rigid synchronization mechanism. When a nozzle needs to take a different adjustment action than its neighbors due to a local anomaly, the combined effect of the positive reward of the accuracy tracking term (first term) and the anomaly penalty term (third term) can offset the negative effect of the variance penalty, allowing the agent to temporarily break the consistency constraint and execute the necessary differentiated action. This "soft constraint" design avoids suppressing necessary local correction behavior due to an excessive pursuit of action consistency. (Weighting coefficients) α and β The ratio determines the system's preference for array consistency under normal operating conditions. In practical applications, pre-calibration is performed through grid search or Bayesian optimization to enable the algorithm to effectively suppress electric field crosstalk while maintaining high printing accuracy.
[0037] Specifically, the neighborhood state consistency constraint term applies a soft penalty in the following way: spray nozzle The set of absolute drive control quantities accumulated by the nozzles and their neighboring nozzles at the current time step. Statistical variance Multiply by weighting factor Then, it appears as a negative term in the composite reward function. The immediate reward is deducted directly; this penalty method is called "soft penalty," which means that it does not force the driving state of each nozzle to be completely consistent, but guides the agent to choose joint actions that make the local driving state variance smaller by reducing the reward value. When a nozzle needs to perform an action that is significantly different from its neighbors due to an abnormal local state, the positive reward of the accuracy tracking term or the negative reward of the abnormality penalty term can offset the reward loss caused by the variance penalty, thereby enabling the agent to temporarily break through the consistency constraint. In contrast, "hard constraint" will directly prohibit or forcibly correct differentiated actions. This soft penalty mechanism is used to suppress the fluid deformation inconsistency and lateral electric field distortion caused by excessive differences in local driving states, thereby reducing electric field crosstalk, while retaining the agent's flexibility to perform personalized correction actions when necessary.
[0038] The third term of the reward function An anomaly penalty based on visual discrimination results is introduced. An indicator function is used when the jet pattern is determined to be abnormal. Otherwise, it is 0. By applying a negative feedback signal, this ensures that the agent prioritizes restorative control actions when encountering anomalies, rather than continuing to make minor precision adjustments.
[0039] In terms of network architecture, this embodiment uses a Deep Q-Network (DQN) with untrainable shared parameters as the decision-making core for each nozzle agent. Considering the high physical homogeneity of the nozzles in the printing array, i.e., under similar electric field environments, flow states, and control objectives, different nozzles have similar state-action mapping relationships, all nozzle agents in the array share the same set of untrainable parameters of the DQN network. Each nozzle agent interacts with the local printing environment and selects corresponding control actions based on its own observed state. Simultaneously, it stores the tuple samples of state, action, reward, and next state obtained during the interaction into an experience sharing pool, which is used for the trainable parameters of the network for all agents. θSharing of experience samples required for training. Since all agents use the same network without training parameters, the effective experience generated by any nozzle can participate in the update of the trainable parameters of all agent networks. This updated, non-trainable parameter-sharing network then acts as experience samples on other nozzles, achieving indirect sharing and generalization of control experience among different nozzles in the array. Compared to building independent DQNs for each nozzle, sharing non-trainable parameters significantly reduces the network parameter size and training computation, and helps improve the training efficiency and convergence speed of multi-agent systems.
[0040] During training, each nozzle receives a corresponding composite reward based on its local control state, and the generated experience samples are collectively used to update the trainable parameters of the Q-network, which shares all untrainable parameters, to maximize the agent's cumulative expected reward. After training, the agents corresponding to all nozzles obtain the final action decision based on their respective multimodal state information vectors at the time of training completion, which is used for subsequent inkjet printing of each nozzle. The entire process is an adaptive cooperative control process between different nozzles.
[0041] The deep Q-network takes a state vector as input and outputs discrete, independent fine-tuning incremental actions. During training, a dual mechanism of experience replay and target network is used to update network parameters, enabling each nozzle agent to learn the process parameter adjustment strategy that maximizes long-term cumulative reward in a given state. After training is complete, the reinforcement learning process is exited, and printing is controlled based on the final drive control quantity obtained from reinforcement learning for that nozzle.
[0042] The core architecture of non-trainable parameter-sharing networks is a fully connected multilayer perceptron (preferably, any network capable of fitting the nonlinear mapping between input and output is acceptable). Its input layer receives a 4-dimensional physical information state vector. Corresponding droplet volume Flight speed Crosstalk and jet mode For example, the hidden layer consists of two fully connected layers, each containing 64 neurons, all using the ReLU activation function. The network's output layer structure corresponds one-to-one with the discrete action space, containing three neurons, each representing the action value corresponding to one of three different independent fine-tuning incremental control actions in the current state (via a function). Value representation).
[0043] As a preferred embodiment, the discrete process parameter adjustment actions are independent fine-tuning drive incremental actions corresponding to each nozzle, and their action space is defined as follows: ,in This is a fixed adjustment step size for the bias voltage (current body) or auxiliary drive back pressure (piezoelectric) for independent control of a single nozzle. This setting uses a fixed amplitude drive control increment as the basic control unit, and achieves precise adjustment of the jet state of the target nozzle through the combination of actions within a continuous time step, ensuring control stability while preventing system oscillation caused by excessive action amplitude.
[0044] To break the temporal correlation between training data and enhance the convergence stability of the algorithm, this embodiment introduces a dual mechanism of experience replay and target network. During the printing process, each agent records its state transition tuples ( , , , The data is stored in a shared experience pool D with a capacity of M. In each training step, the algorithm randomly samples a mini-batch of samples (batch size B is 32 or 64) from the pool for gradient descent updates; simultaneously, an independent target network is used to construct a temporal difference objective. The parameters of the target network remain fixed within a specified number of steps and are only periodically cloned and updated from the current network. As a preferred implementation, the optimization objective of the trainable network parameters is to minimize the mean square error between the action value predicted by the current Q-network and the temporal difference objective constructed by the target network. That is, the loss function for the aforementioned bias loss is:
[0045] In the formula, This indicates the second preset quantity. Indicates the first k The Q-target value corresponding to each tuple Indicates the parameters of the agent network Based on the first k The state information vector corresponding to each tuple and incremental actions The predicted action decision result.
[0046] depth Q The network is trained using the mean squared error loss function, which is calculated through the following steps: A small batch of experience transfer tuples is randomly sampled from the shared experience pool. The number of samples in a small batch is denoted as B Exemplary B The value can be either 32 or 64; where, s Let this be the state vector of the nozzle at the current moment. a This refers to the process parameter adjustment action output by the intelligent agent at the current moment. r The immediate reward calculated by the composite reward function after performing the aforementioned process parameter adjustment action. s' This is the updated state vector of the nozzle at the next moment after the action is performed; For each sampled sample, calculate the current Q-network prediction value and the temporal difference target value; the current Q-network prediction value is... ,in θ These are the trainable network parameters of the current Q-network; the temporal difference target value satisfies In the formula For the network parameters of the target Q-network, This is a discount factor used to weigh immediate rewards against future long-term rewards. Indicates the next state Iterate through all available process parameter adjustment actions and select the corresponding action with the maximum value. Calculate the mean squared difference between the predicted and target values for all samples within a mini-batch to obtain the mean squared error loss function:
[0047] In the formula, This represents the current loss value of the Q-network. k This refers to the sequence number of the sample within a small batch. For the first k The temporal difference target value of each sample. For the first k The current Q-network prediction value for each sample; Update the parameters of the current Q-network using gradient descent. To minimize the loss function; the parameters of the target Q-network. Each interval c The update is performed once by cloning from the current Q network. c The value ranges from 100 to 1000 steps; the discount factor The value ranges from 0.9 to 0.99.
[0048] As a preferred implementation method, the training process employs... The greedy strategy for selecting process parameter adjustment actions is as follows: Set exploration rate Its value ranges from [0,1]; when making action decisions at each training step, it is based on probability. Randomly select one action from all available process parameter adjustment actions to execute, with a probability of 1- Execute the action corresponding to the maximum action value Q value output by the current Q network; The exploration rate will be high in the early stages of training. Setting the value to 0.9–1.0 enables the agent to conduct random exploration with a high probability, covering various non-ideal operating conditions such as jet volume deviation, jet instability, and local jet interruption; as the number of training steps increases, the exploration rate increases. The rate is gradually reduced using either an exponential or linear decay strategy, eventually decaying to 0.01–0.1; when the exploration rate As the value approaches zero, the agent's action decisions are entirely based on the current action value estimate of the Q-network, entering a stable policy utilization phase, ultimately achieving stable and precise control during long-term continuous printing. The control policy transitions from random exploration to being based on the current... Q The strategy of value estimation can be utilized, and the Adam optimization algorithm can be used for network training.
[0049] Example 2 An arrayed nozzle printing system includes an arrayed printhead, a data acquisition module, a vision inspection module, and a controller. The data acquisition module and the vision inspection module are electrically connected to the controller. The data acquisition module is connected to the arrayed printhead and is used to acquire the globally applied voltage of the array and the independent fine-tuning drive parameters of each nozzle. The vision inspection module is used to extract droplet volume, flight velocity, and jet pattern classification online. The controller is used to receive the data acquired by the data acquisition module and the vision inspection module and execute the steps of the method described in Embodiment 1.
[0050] The relevant technical solutions are the same as above, and will not be repeated here.
[0051] Example 3 This application also relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0052] Specifically, the memory may include high-speed random access memory, as well as non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital (SD) cards, flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0053] The relevant technical solutions are the same as above, and will not be repeated here.
[0054] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for online decoupling control of arrayed nozzles based on multi-agent deep reinforcement learning, characterized in that, The following decoupling control steps are performed on each nozzle using multi-agent deep reinforcement learning with non-trainable parameters: Based on the current time step multimodal state information vector of each nozzle The intelligent agent through the nozzle makes action decisions to adjust process parameters, and based on the decisions, it makes independent fine-tuning incremental actions. Controlling the nozzle process parameters, constructing the state information vector of the nozzle at the next time step. And calculate instant rewards The immediate reward for each nozzle is calculated using a composite reward function shared by all nozzles, which includes a jet accuracy tracking term, a neighborhood state consistency constraint term to suppress differences in control actions between neighboring nozzles, and an abnormal state penalty term. The multimodal state information vector includes: online performance feedback information composed of droplet volume and flight velocity; a heuristic neighborhood electric field intensity feature characterizing the influence of the neighborhood electric field on the nozzle; and current jet mode information. The heuristic neighborhood electric field intensity feature is constructed using a deformation-induced electric field distortion function and a distance-inverse form, serving as prior physical information. , , , The resulting experience transfer tuples are stored in a shared experience pool for all agents. The operation of action decision, control, and construction is repeatedly executed. When there are a first preset number of tuples in the shared experience pool, a second preset number of tuples are taken from the shared experience pool while the action decision is executed to calculate the Q target value. The agent network parameters are updated based on the deviation loss between the action decision result and the Q target value until the repetition termination condition is met, and the reinforcement learning process is exited. Printing is controlled based on the final drive control quantity of the nozzle obtained from reinforcement learning.
2. The online decoupling control method for arrayed nozzles as described in claim 1, characterized in that, The jet pattern information is characterized by discrete classification labels, including normal, interrupted jet, deflected, and trailing.
3. The online decoupling control method for arrayed nozzles as described in claim 1, characterized in that, The calculation method for the heuristic neighborhood electric field intensity characteristics is as follows: In the formula, Indicates nozzle i Heuristic neighborhood electric field strength characteristics, This represents the globally applied voltage amplitude shared by the array of nozzles; and These represent the neighboring nozzles. The droplet volume and classification identifier in the current state information vector; This is the deformation-induced electric field distortion function, used to characterize the dynamic nonlinear disturbance of the local electric field caused by fluid curvature deformation and space charge in the neighborhood nozzle. Indicates nozzle With nozzle The center distance between them; Indicates nozzle The set of neighboring nozzles, including those with nozzles i Spatial geometric position within a preset distance range K One nozzle; when the nozzle The nozzles located at the edge or corner of the array result in insufficient actual physical neighborhood nozzles. At any given time, virtual boundary nozzles with a state value of zero are used for filling.
4. The online decoupling control method for arrayed nozzles as described in claim 1, characterized in that, The composite reward function is: In the formula, Indicates the current time step t For the nozzle i The immediate reward for performing incremental actions; the first term on the right side of the equation is the accuracy tracking term. For the spray nozzle i The droplet volume in the new state information vector constructed after performing the incremental action. For nozzles i The target volume; the second term on the right-hand side of the equation is the neighborhood state consistency constraint term. For nozzles The set of absolute drive control states reached by the nozzles and their neighboring nozzles after applying the corresponding incremental action at the current time step. for The statistical variance; the third term on the right side of the equation is the outlier penalty term, which is the indicator function when the classification is outlier. At this point, the accuracy tracking reward for the first item is forcibly masked and set to zero; otherwise, it is... 0; weighting coefficient The trade-offs between printing accuracy, array consistency, and anomaly recovery capability are controlled separately; wherein, the neighboring nozzle is the nozzle... i Spatial geometric position within a preset distance range K A set of nozzles.
5. The online decoupling control method for arrayed nozzles as described in claim 1, characterized in that, Independent fine-tuning increment action for each nozzle ; To adjust the fixed adjustment step size of the bias voltage or auxiliary drive back pressure for independent control of a single nozzle, the jet state of the target nozzle is adjusted by a combination of actions within a continuous time step.
6. The online decoupling control method for arrayed nozzles as described in claim 1, characterized in that, The loss function for the deviation loss is: In the formula, This indicates the second preset quantity. Indicates the first k The Q-target value corresponding to each tuple. Indicates the parameters of the agent network Based on the first k The state information vector corresponding to each tuple and incremental actions The predicted action decision result.
7. The online decoupling control method for arrayed nozzles as described in claim 1, characterized in that, When making action decisions by adjusting the process parameters of each nozzle using an intelligent agent, the following approach is adopted: Greedy strategy: Set exploration rate Its value ranges from [0,1]; when making action decisions at each training step, it is based on probability. Randomly select one action from all available process parameter adjustment actions to execute, with a probability of 1- Select the action corresponding to the maximum action value Q value output by the current network and execute it; The exploration rate will be high in the early stages of training. Setting the value to 0.9–1.0 enables the agent to conduct random exploration with a high probability, covering various non-ideal conditions including jet volume deviation, jet instability, and local jet interruption; as the number of training steps increases, the exploration rate increases. The value is gradually reduced using either an exponential or linear decay strategy, eventually decaying to 0.01–0.1; when the exploration rate… When the value approaches 0, the agent's action decisions are entirely based on the action value estimate output by the current network, entering a stable policy utilization phase.
8. An arrayed nozzle printing system, characterized in that, The device includes an arrayed nozzle, a data acquisition module, a vision inspection module, and a controller; the data acquisition module and the vision inspection module are electrically connected to the controller; the data acquisition module is connected to the arrayed nozzle and is used to acquire the global applied voltage of the array and the independent fine-tuning drive parameters of each nozzle; the vision inspection module is used to extract droplet volume, flight velocity, and jet pattern classification online; the controller is used to receive the data acquired by the data acquisition module and the vision inspection module and execute the steps of the method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein the computer program, when executed by a processor, controls the device on which the storage medium is located to perform the steps of the method as described in any one of claims 1 to 7.
