This section describes the proposed control method based on adaptive feedforward control (AFC). AFC is introduced as a feedforward controller that learns repetitive characteristics of the injection process through repeated molding cycles. While AFC is originally designed as a control method to improve tracking performance, this study focuses on the learning parameters updated in the AFC algorithm. These learning parameters are treated not only as control variables but also as indicators that reflect variations in the internal resin state during injection.
3.1. Adaptive Feedforward Control (AFC)
Adaptive feedforward control (AFC) is a control method that improves tracking performance by learning repetitive characteristics of a system through repeated operations. In cyclic systems, similar reference trajectories and disturbance patterns appear in each operation cycle. AFC utilizes this property to generate feedforward compensation signals based on tracking errors observed in previous cycles. In this study, the learning parameters of AFC are treated as indicators of system dynamics. In injection molding processes, system dynamics are strongly influenced by the internal state of molten resin during the injection phase. Therefore, the AFC learning parameters reflect resin-dependent dynamic behavior. In this study, AFC is applied to injection velocity control in a hydraulic injection molding machine. The learning parameters are updated using the tracking error between the reference injection velocity and the measured screw velocity. Through repeated injection cycles, the parameters converge to values corresponding to the current molding condition. These parameters are not intended to represent direct physical measurements but rather to reflect system-level variations influenced by multiple factors. By analyzing the converged parameters, variations in resin state can be evaluated indirectly. This evaluation does not rely on direct measurement or explicit physical modeling.
Based on this concept, AFC serves two roles in this study. It improves injection velocity tracking as a feedforward controller. At the same time, its learning parameters are used as practical indicators of resin state during the injection process.
3.2. Theory
Figure 4 shows the control structure adopted in this study. The injection velocity is controlled using adaptive feedforward control. The reference injection velocity is compared with the measured screw velocity, and the tracking error is defined as
. Here,
k denotes the discrete-time index corresponding to the sampling instant during the injection process.
In AFC, the feedforward input is constructed as a superposition of sinusoidal components. Each component is designed to compensate for dynamics and disturbances at a specific frequency. The output of a single AFC component is expressed as
Here,
and
represent the adaptive amplitudes of the cosine and sine components, respectively. The parameter
denotes the target angular frequency, and
T is the sampling period of the control system. The parameter
i denotes the index of the AFC component assigned to the angular frequency
,
The damping term acts as a forgetting factor that suppresses divergence of the learning parameters and attenuates past learning effects. With this structure, each AFC component can be interpreted as a discrete-time resonant filter, providing a meaningful representation of its role in the control system.
The update laws of the learning parameters are given by
Here,
is the damping coefficient,
is the learning gain, and
is the phase parameter. The learning gains
were selected to ensure stable convergence of the learning process while avoiding excessive amplification of noise. The gains were tuned so that the learning parameters converge smoothly without oscillation or divergence under the tested conditions. Unless otherwise specified, the initial values are set to
By superposing multiple AFC components with different angular frequencies, the AFC input is constructed as a superposition of multiple frequency components. This structure enables compensation of system dynamics distributed over a wide frequency range.
In the injection molding process considered in this study, the system dynamics during the injection phase depend on resin properties. Changes in resin viscosity and flow behavior modify the load acting on the screw and affect the system response. As a result, the AFC learning parameters converge to different values depending on the resin state. Based on this property, the AFC learning parameters are interpreted as indicators of resin state in this study.
3.3. Shot-to-Shot Compensation for Short Injection Phases
In injection molding processes, the duration of the injection phase is inherently short. As a result, the learning effect obtained within a single injection shot is insufficient for the AFC learning parameters to fully converge. This limitation is a practical constraint in industrial injection molding machines operated under continuous production conditions.
To address this issue, a shot-to-shot compensation mechanism is introduced. This mechanism accumulates the learning results obtained within each injection shot and transfers them to subsequent shots. By doing so, AFC learning can be extended beyond a single shot without modifying the within-shot learning structure.
Let
and
denote the accumulated AFC learning parameters obtained from previous shots. For the first injection shot (
), these accumulated parameters are initialized as
During a single injection shot, the AFC compensation signal is constructed as
Here, the symbol
represents the final time step of the injection phase. Accordingly,
and
correspond to the final learning results obtained during that shot.
After completion of the
n-th injection shot, the accumulated parameters are updated as follows:
The updated accumulated parameters are then used as the initial compensation values for the subsequent shot.
In continuous injection molding operations, the converged values of the AFC learning parameters obtained in each shot are not necessarily identical. Small variations in operating conditions, such as thermal fluctuations and transient flow behavior, cause shot-to-shot variations in the learning results even under nominally identical settings. To prevent unstable accumulation caused by excessive variation in the learning results, a threshold-based update rule is introduced. Let
denote an evaluation index calculated from the tracking error during a single injection shot. The accumulated parameters are updated only when the variation remains within an acceptable range:
where
is a predefined threshold. Here, the evaluation index
is defined as the magnitude of the AFC learning parameter at the final time step of the injection phase. The evaluation is performed over the injection phase, and the threshold is applied to the value at
. In this study,
is treated as a dimensionless quantity. The threshold value
was determined empirically based on experimental observations to distinguish meaningful parameter updates from noise and to prevent unstable accumulation. The selected value was found to provide stable convergence behavior under the tested conditions. If this condition is not satisfied, the accumulated parameters are not updated for that shot:
This update strategy suppresses the influence of shot-to-shot variability and enables stable accumulation of AFC learning parameters toward representative values for the current molding condition. Although the accumulation is implemented as a simple summation, potential drift due to low-frequency bias or abnormal shots is mitigated by the threshold-based update rule. As observed in the experimental results, the learning parameters converge to stable values under the tested conditions. Further improvements, such as introducing forgetting factors or robust statistical filtering, are considered as future work.
By repeating this update process, the AFC system achieves learning on two time scales. Fast adaptation occurs within each injection shot through and . Slow accumulation across repeated shots is achieved through and . This two-time-scale learning structure enables stable convergence of AFC learning parameters under short-duration injection phases. In practical applications, the accumulated parameters should be reset or re-initialized when significant changes in process conditions occur, such as material switching, temperature variation, or abnormal operating states. In this study, the experiments were conducted under controlled conditions, and therefore reset operations were not required during the evaluation.
The AFC generates control inputs to compensate for variations in system dynamics, and the learned coefficients and determine the amplitude of the sinusoidal components at each frequency. Therefore, the magnitude of these coefficients represents the required compensation level. In injection molding processes, this required compensation is influenced by variations in system load associated with resin viscosity and flow behavior. As a result, changes in resin state are reflected in the magnitude of the learned parameters and through their effect on the system dynamics.
In this study, multiple AFC components with different angular frequencies are implemented in parallel. The overall AFC compensation input is expressed as
The parameter
N denotes the total number of AFC components. Through this formulation, the AFC system preserves learning results across shots while maintaining adaptability within each injection cycle.
3.4. Experimental Conditions
This subsection summarizes the experimental conditions and confirms the basic operation of the proposed AFC framework. The main molding conditions and AFC parameters used in this study are summarized in
Table 1. In this study, the focus is placed on the injection phase. Therefore, the packing/holding phase is omitted, and the corresponding parameters are not applied.
The AFC frequency parameters were determined based on the frequency content of the reference model output. The reference model is a first-order system identified from measured data of the actual injection molding machine. The output response of this reference model under step excitation was transformed into the frequency domain. The analysis results and the selected AFC frequencies are illustrated in
Figure 5. The spectrum was normalized by its maximum component, so that the dominant frequency range could be clearly identified. In this analysis, the DC component was excluded, which emphasizes transient and fluctuation components relevant to the AFC operation. The AFC frequencies were selected to cover the dominant frequency range observed in the normalized spectrum.
The heater positions correspond to the numbered locations shown in
Figure 2. The molded product used in this study is shown in
Figure 6. In this study, the upper-left product shown in
Figure 6 was used for evaluation. All experiments were conducted using this product geometry in order to maintain consistent flow and load conditions during the injection phase.
In this study, multiple AFC components with different angular frequencies are implemented in parallel. The target angular frequencies are selected based on the dominant dynamic characteristics observed during the injection phase. These frequencies are fixed throughout the experiments unless otherwise specified. Other molding conditions, such as the injection velocity profile and cylinder temperature, are kept constant in order to isolate the effect of resin properties.
Figure 7 and
Figure 8 verify the fundamental behavior of the AFC system under the conditions listed in
Table 1.
Figure 7 shows the injection velocity responses at different shot numbers. In the initial shots, the tracking performance is limited due to the absence of accumulated learning. The distinct behavior observed at shot = 1 is attributed to the initial condition of the AFC learning parameters. Since no prior learning is available at the first shot, the compensation capability is limited. As the learning parameters are updated over successive shots, the tracking performance improves.
Figure 8 shows the shot-to-shot transition of the accumulated AFC learning parameters. The learning parameters increase during the early shots and then converge to steady values. This behavior confirms that the proposed shot-to-shot compensation mechanism functions as intended. Based on these results, it is confirmed that the AFC system achieves stable learning and consistent injection velocity control under the experimental conditions summarized in
Table 1.
3.5. Comparison with PID Control
To evaluate the effectiveness of the proposed AFC method, a comparison with conventional PID control is conducted.
All experiments were performed under identical molding conditions to ensure a fair comparison. The injection velocity profile, cylinder temperature, and other operating conditions were kept constant throughout the experiments. In addition, the controller parameters for both PID and AFC were fixed for all step conditions, and no step-dependent tuning was applied. For the AFC method, the responses shown correspond to the steady-state condition after the learning parameters have converged. Each waveform represents the average of five consecutive shots to reduce the influence of shot-to-shot variability.
Figure 9 shows the injection velocity responses for multiple step changes in the reference signal. The dashed line represents the reference velocity, while the solid lines indicate the measured responses.
The results demonstrate that AFC achieves faster response and reduced tracking delay compared to PID control for all step conditions. In particular, AFC shows improved performance in both acceleration and deceleration phases, which are critical in multi-stage injection processes.
Furthermore, the tracking performance is evaluated using the root mean square error (RMSE) between the reference and measured injection velocities. The RMSE values are calculated based on the averaged waveform over five consecutive shots. The RMSE is defined as follows:
where
and
denote the reference and measured injection velocities, respectively, and
N is the number of samples.
The calculated RMSE values for each condition are as follows:
Step1: PID = 9.3461, AFC = 9.1034 (2.6% improvement)
Step2: PID = 7.0333, AFC = 5.1972 (26.1% improvement)
Step3: PID = 10.1144, AFC = 8.1988 (18.9% improvement)
It should be noted that the RMSE at the first step is nearly identical for PID and AFC. This indicates that the PID controller is appropriately tuned and provides a reasonable baseline performance. Therefore, the observed improvements in AFC are not due to insufficient PID tuning but are attributed to the enhanced control capability of the proposed method, particularly during reference changes.
These results indicate that the proposed AFC method provides superior tracking performance under identical conditions, demonstrating its effectiveness for multi-stage injection velocity control.