Intelligent prediction method and system for solder paste splashing rate based on working condition parameter mapping
By acquiring the intrinsic physical property parameters and real-time operating condition parameter sequences of solder paste, a dual-stream temporal convolutional network is constructed to calculate the dynamic escape pressure difference characteristics and perform closed-loop correction. This solves the problems of incomplete input and lack of physical features in solder paste splatter rate prediction, and improves the accuracy and stability of the prediction.
Patent Information
- Application Number
- CN202611680026.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing solder paste splatter rate prediction methods suffer from incomplete input of operating conditions and intrinsic parameters, mixed gas phase expansion and liquid phase tension processes, and lack of physical characteristics for triggering boiling. Furthermore, the initial prediction values lack closed-loop correction, resulting in insufficient prediction accuracy, interpretability, and long-term stability.
By acquiring the intrinsic physical property parameters and real-time operating condition parameter sequences of solder paste, a dual-stream temporal convolutional network is constructed to output the microscopic gas phase expansion pressure and liquid phase surface tension additional pressure sequences, respectively. The dynamic escape pressure difference characteristics are calculated, and closed-loop correction is performed by combining the actual splash rate data to output the final prediction result.
It improves the accuracy, interpretability, and long-term stability of solder paste splatter rate prediction, mitigates prediction bias caused by equipment condition drift and solder paste batch variations, and enhances the model's adaptability and robustness.
Smart Images

Figure CN123179359A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent prediction technology, specifically to an intelligent prediction method and system for solder paste splatter rate based on working condition parameter mapping. Background Technology
[0002] In surface mount technology (SMT), solder paste printing and reflow soldering are key processes for forming solder joints. During reflow soldering, the flux solvent and absorbed moisture in the solder paste vaporize at high temperatures, causing bubbles to expand outwards, while the surface tension of the molten solder liquid phase envelops the bubbles inwards. When the internal pressure of the bubbles breaks through the liquid phase constraint, boiling occurs, leading to solder paste splattering and forming tiny metal particles outside the solder pads. Excessive splattering can cause solder joint defects and circuit board contamination.
[0003] Currently, solder paste splatter rate prediction largely relies on manual visual inspection or simple threshold judgment, which is highly subjective and inefficient. Some prediction methods only use a few features of the reflow soldering temperature profile or rely on operational experience to set fixed thresholds. Furthermore, existing prediction methods lack long-term adaptive capabilities; prediction deviations increase continuously after equipment operating conditions drift or solder paste batch changes, while directly adjusting using new samples easily loses historical operating condition knowledge. Therefore, improving the accuracy, interpretability, and long-term stability of solder paste splatter rate prediction has become an urgent technical problem to be solved. Summary of the Invention
[0004] This invention provides an intelligent prediction method and system for solder paste splatter rate based on operating condition parameter mapping. This invention solves the technical problems in existing solder paste splatter rate prediction methods, such as incomplete input of operating conditions and intrinsic parameters, mixing of gas phase expansion and liquid phase tension processes with a lack of physical characteristics for triggering boiling, lack of closed-loop correction for initial prediction values, and susceptibility to catastrophic forgetting, leading to insufficient prediction accuracy, interpretability, and long-term stability.
[0005] In view of the above problems, the present invention provides an intelligent prediction method for solder paste splatter rate based on working condition parameter mapping, including: Obtain the intrinsic physical property parameters and real-time operating condition parameter sequence of solder paste; A dual-stream temporal convolutional network is constructed, which includes a thermodynamic vaporization flow branch and a rheological phase change flow branch. The real-time operating condition parameter sequence and intrinsic physical property parameters are respectively input into the dual-stream temporal convolutional network, and the output is the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence. The dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence is calculated. The physical moment when the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold is extracted as the boiling trigger feature vector. The boiling trigger feature vector is input into a pre-built splash rate prediction regressor, which outputs an initial value for the solder paste splash rate prediction. Obtain the actual splatter rate data, and based on the actual splatter rate data and the initial value of the solder paste splatter rate prediction, correct the dual-stream temporal convolutional network and output the final prediction result.
[0006] This invention also provides an intelligent prediction system for solder paste splatter rate based on working condition parameter mapping, comprising: The parameter acquisition module is used to acquire the intrinsic physical property parameters and real-time operating condition parameter sequences of solder paste; The dual-stream temporal convolution prediction module is used to construct a dual-stream temporal convolutional network. The dual-stream temporal convolutional network includes a thermodynamic vaporization flow branch and a rheological phase change flow branch. The real-time operating condition parameter sequence and intrinsic physical property parameters are respectively input into the dual-stream temporal convolutional network, and the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence are output. The boiling trigger feature extraction module is used to calculate the dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence, and extract the physical moment feature when the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold, as the boiling trigger feature vector. The splash rate regression prediction module is used to input the boiling trigger feature vector into the pre-built splash rate prediction regressor and output the initial value of the solder paste splash rate prediction. The closed-loop correction module is used to acquire the actual splatter rate data, and correct the dual-stream temporal convolutional network based on the actual splatter rate data and the initial value of the solder paste splatter rate prediction, and output the final prediction result.
[0007] One or more technical solutions provided in this invention have at least the following technical effects or advantages: This invention provides batch-adaptive and time-consistent complete input for prediction by acquiring and aligning sequences of intrinsic physical properties and real-time operating parameters of solder paste. A dual-stream temporal convolutional network outputs sequences of microscopic gas phase expansion pressure and liquid phase surface tension-added pressure, embedding positive physical constraints related to vaporization and prior constraints based on the Laplace equation, giving the prediction process clear physical meaning and interpretability. By calculating the dynamic escape pressure difference and extracting the boiling trigger feature vector where the pressure difference changes from negative to positive and the positive gradient exceeds the potential barrier threshold, slow vaporization and transient boiling are accurately distinguished. An ensemble learning regressor based on the weighted combination of the normalized inverse of the validation set prediction variance outputs the initial value for the splash rate prediction, improving prediction accuracy and robustness. Automatic post-reflow optical inspection acquires the actual splash rate data, and an elastic weight consolidation algorithm is used to correct the residual when it exceeds the closed-loop trigger tolerance threshold, adapting to new operating conditions while suppressing catastrophic forgetting, thereby comprehensively improving the accuracy, interpretability, and long-term stability of solder paste splash rate prediction.
[0008] In summary, this invention solves the technical problems of incomplete input of operating conditions and intrinsic parameters, mixed gas phase expansion and liquid phase tension processes and lack of physical characteristics for triggering boiling in existing solder paste splatter rate prediction, lack of closed-loop correction of the prediction initial value and easy occurrence of catastrophic forgetting, which lead to insufficient prediction accuracy, interpretability and long-term stability. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a flowchart illustrating the intelligent prediction method for solder paste splatter rate based on working condition parameter mapping provided in this embodiment of the invention. Figure 2 This is a schematic diagram of the closed-loop correction process in the intelligent prediction method for solder paste splash rate based on working condition parameter mapping provided in the embodiments of the present invention. Figure 3 This is a schematic diagram of the intelligent prediction system for solder paste splatter rate based on working condition parameter mapping provided in an embodiment of the present invention.
[0011] The components represented by each number in the attached diagram are explained below: Parameter acquisition module 11, dual-stream temporal convolution prediction module 12, boiling trigger feature extraction module 13, splash rate regression prediction module 14, closed-loop correction module 15. Detailed Implementation
[0012] This invention provides an intelligent prediction method and system for solder paste splatter rate based on working condition parameter mapping. It specifically addresses the technical problems in existing solder paste splatter rate prediction, such as incomplete input of working conditions and intrinsic parameters, mixed gas phase expansion and liquid phase tension processes with a lack of physical characteristics for boiling over, lack of closed-loop correction of the prediction initial value and susceptibility to catastrophic forgetting, which lead to insufficient prediction accuracy, interpretability and long-term stability.
[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0014] Example 1, as Figure 1 As shown, this invention provides an intelligent prediction method for solder paste splatter rate based on operating condition parameter mapping, including: S100: Obtain the intrinsic physical property parameters and real-time operating condition parameter sequence of solder paste.
[0015] Currently, solder paste splatter prediction often relies on only a few features of the reflow soldering temperature profile as input parameters, or on setting fixed thresholds based solely on operational experience. It fails to incorporate the alloy powder particle size distribution and thixotropic index of the solder paste batch itself into the prediction input. Furthermore, it neglects to simultaneously collect and align the preheating zone's heating slope, the isothermal zone's holding time, the reflow zone's peak temperature, and the ambient temperature and humidity of the workshop on the same time axis. This results in incomplete input information, model failure after batch switching, a disconnect between temperature stage characteristics and environmental moisture absorption factors, and time-sequence misalignment leading to the suppression of pre-boiling phenomena, ultimately increasing the prediction error of the splatter rate. Therefore, obtaining an input sequence that simultaneously includes intrinsic solder paste properties and real-time reflow soldering parameters, while maintaining time alignment, has become a pressing technical problem that needs to be solved.
[0016] Step S100 in the method provided in this embodiment of the invention includes: Obtain the intrinsic physical property parameters of the current solder paste batch. The intrinsic physical property parameters include the alloy powder particle size distribution, which characterizes the size of the solder paste particles, and the thixotropic index, which characterizes the relationship between the solder paste viscosity and the shear rate. The real-time temperature curve of the reflow oven is collected from the temperature control sensor array of the reflow oven, and the preheating zone temperature rise slope, constant temperature zone holding time and reflow zone peak temperature are extracted from the real-time temperature curve. The ambient temperature and humidity in the workshop are collected synchronously, and the extracted preheating zone temperature rise slope, constant temperature zone heat preservation time, reflux zone peak temperature and ambient temperature and humidity are aligned and spliced on the time axis to construct a real-time operating condition parameter sequence.
[0017] In this embodiment of the invention, when obtaining the intrinsic physical property parameters and real-time operating condition parameter sequence of solder paste, the batch of solder paste currently being fed into the reflow oven is first determined. Specifically, batch information can be read through the batch code on the solder paste container, the manufacturing execution system, or a barcode scanner, and the intrinsic physical property parameters can be retrieved from the batch's factory inspection report, incoming material inspection database, or online laser particle size analyzer. The intrinsic physical property parameters include at least the alloy powder particle size distribution and the thixotropic index. The alloy powder particle size distribution is used to characterize the size and distribution width of the alloy powder particles in the solder paste. The thixotropic index is used to characterize the relationship between the solder paste viscosity and the shear rate.
[0018] The particle size distribution of the alloy powder can be represented by D10, D50, D90, and the average powder radius. D10 represents the particle size corresponding to the cumulative 10% of the volume distribution, D50 represents the particle size corresponding to the cumulative 50%, and D90 represents the particle size corresponding to the cumulative 90%. The average powder radius can be obtained by dividing D50 by half or by integrating the complete particle size distribution. The average powder radius is set because the subsequent liquid phase surface tension pressure is related to the powder radius.
[0019] Furthermore, the thixotropic index can be measured using a rotational rheometer. Specifically, since solder paste is typically used and stored at this temperature, the measurement temperature is set to 25 degrees Celsius, with the shear rate increasing from 0.1 inverse seconds to 10 inverse seconds, and the viscosity curves are recorded. The thixotropic index is the ratio of the viscosity at 0.1 inverse seconds to the viscosity at 10 inverse seconds, or, according to industry definition, the viscosity ratio when the shear rate ratio is 10. If using viscosity sequences at multiple shear rates, 10 points can be evenly taken at the logarithmic shear rate to balance the amount of rheological information and computational load.
[0020] Furthermore, the real-time temperature profile of the reflow oven is acquired in real time from the temperature control sensor array. Specifically, the temperature control sensor array may include thermocouples or infrared temperature measurement modules arranged in the preheating zone, isothermal zone, reflow zone, and cooling zone. The sampling frequency can be set from 10 Hz to 100 Hz. A sampling frequency that is too low will miss the temperature rise inflection point, while a sampling frequency that is too high will lead to data redundancy; 20 Hz is preferred. During acquisition, the average of multiple temperature measurement points on the same circuit board is taken, or measurement points near the solder pads are selected to obtain the real-time temperature profile of the reflow oven. The real-time temperature profile of the reflow oven is plotted with time on the horizontal axis and temperature on the vertical axis.
[0021] Furthermore, the preheating zone temperature rise slope is extracted from the real-time furnace temperature curve. The preheating zone is typically defined as the range from room temperature to 150°C to 180°C, for example, from 25°C to 150°C. The temperature rise slope is obtained by dividing the difference between the initial and final temperatures of the preheating zone by the corresponding time difference, expressed in degrees Celsius per second. In specific calculations, the preheating zone temperature data can be filtered using a moving average and then linearly fitted; the fitted slope is used as the preheating zone temperature rise slope. The moving window can be set to 5 to 20 seconds, preferably 10 seconds. This window is chosen because a window that is too short will be affected by noise, while a window that is too long will smooth out the true inflection point.
[0022] Simultaneously, the holding time in the constant temperature zone is extracted. The constant temperature zone is typically defined as a range where the temperature is maintained between 150°C and 200°C. The holding time is obtained by the difference between the timestamp when the temperature first enters this zone and the timestamp when the temperature first leaves it. To prevent misjudgment due to temperature fluctuations, a temperature tolerance of 2°C to 5°C can be set, preferably 3°C, and it is required that the temperature be maintained continuously for more than 5 seconds before confirming entry or exit. Setting this tolerance and duration is to avoid repeated fluctuations in the zone boundaries caused by sensor noise.
[0023] Furthermore, the peak temperature in the reflow region is extracted. The reflow region is typically defined as the temperature range between 200°C and 220°C. The peak temperature is obtained by searching for the maximum temperature in the reflow region, or by smoothing the temperature profile before searching. The smoothing window can be set from 1 to 5 seconds, preferably 3 seconds. The peak temperature corresponds to the highest temperature above the liquidus line of the solder alloy.
[0024] Furthermore, the ambient temperature and humidity within the workshop are collected synchronously. Specifically, the ambient temperature and humidity can be collected using temperature and humidity sensors placed near the inlet of the reflow oven. The sampling frequency can be set to 0.1 Hz to 1 Hz, preferably 0.5 Hz, i.e., once every 2 seconds, and a timestamp is recorded during collection. The ambient temperature range is typically 20 degrees Celsius to 30 degrees Celsius, and the ambient relative humidity range is typically 30% to 70%. To improve reliability, the median of multiple consecutive sampled values can be filtered. The filtering window can be set to 5 to 15 points, preferably 9 points.
[0025] Furthermore, the extracted preheating zone temperature rise slope, isothermal zone holding time, reflux zone peak temperature, and ambient temperature and humidity are aligned and stitched together on the time axis to construct a real-time operating parameter sequence. Specifically, the timestamp of the real-time temperature curve during furnace run is used as the reference time axis for alignment. The preheating zone temperature rise slope can be assigned to the start time of the preheating zone or the entire preheating zone. The isothermal zone holding time can be assigned to the end time of the isothermal zone. The reflux zone peak temperature can be assigned to the time when the reflux zone peak occurs. Ambient temperature and humidity are interpolated to the reference time axis according to their sampling timestamps. Linear interpolation or nearest neighbor interpolation can be used as the interpolation method.
[0026] Furthermore, for each reference moment in the temperature curve, a multi-dimensional vector is generated, including the current temperature, the preheating zone temperature rise slope, the isothermal zone holding time, the reflux zone peak temperature, the ambient temperature, and the ambient humidity. The vectors at each moment are arranged in chronological order to obtain the real-time operating parameter sequence. A fixed-length time window can be set when constructing the real-time operating parameter sequence. The window length can be set from 30 seconds to 180 seconds, preferably 120 seconds, covering the preheating, isothermal, and reflux stages. If the window is too short, it cannot capture the complete pre-boiling phenomenon. If the window is too long, irrelevant history is introduced. The sliding step size can be set from 1 second to 10 seconds, preferably 5 seconds.
[0027] For each window, a sequence sample can be output. The sequence length can be set to 60 to 360 time points, preferably 240 time points. If the actual sampling frequency is 20 Hz, 120 seconds corresponds to 2400 points, which can be obtained by downsampling to 2 Hz to get 240 points. Downsampling can reduce the amount of computation and preserve the trend. The real-time operating condition parameter sequence is normalized. For the alloy powder particle size distribution and thixotropic index in the intrinsic physical property parameters, min-max normalization can be performed according to the maximum and minimum values of the historical batches, respectively. Temperature, heating slope, holding time, peak temperature, and ambient temperature and humidity can also be normalized according to the historical operating condition range, and the normalization range can be set to 0 to 1.
[0028] It should be noted that if a parameter exceeds the historical range, it can be truncated to 0 or 1, and an out-of-limit flag should be recorded. During normalization, if the denominator is 0, division is not performed; the normalized value is directly set to 0.5. This is because the midpoint of the 0-1 interval represents a neutral value, which will not be interpreted as a low value by the network like 0, nor as a high value like 1, thus avoiding the introduction of false high / low bias into subsequent two-stream temporal convolutional networks.
[0029] Normalization is used because the dimensions of different parameters vary greatly, and directly inputting them into the network would lead to unstable weight updates. When sensor loss or communication interruption occurs, short-term hold, linear interpolation, or replacement based on the mean of other measurement points in the same furnace can be used. For loss durations less than 3 seconds, previous values are held. For loss durations between 3 and 30 seconds, linear interpolation is used. For loss durations exceeding 30 seconds, the sample is marked as an anomalous and will not participate in subsequent prediction or correction. This treatment is implemented because short-term loss can be recovered from neighboring points, while long-term loss would disrupt temporal causality.
[0030] This invention acquires the alloy powder particle size distribution and thixotropic index of the current solder paste batch, collects the real-time reflow temperature curve, and extracts the preheating zone temperature rise slope, isothermal zone holding time, and reflow zone peak temperature. Simultaneously, it collects the ambient temperature and humidity of the workshop. These parameters are then aligned and stitched together on the time axis to construct a real-time operating condition parameter sequence. This sequence includes both the inherent properties of the solder paste batch and the dynamic operating conditions of the reflow soldering process and environmental moisture absorption conditions. It provides a physically meaningful, batch-adapted, and temporally consistent input for subsequent dual-stream temporal convolutional networks, thereby improving the accuracy, robustness, and traceability of solder paste splatter prediction. Furthermore, it facilitates the identification of the impact of batch differences, ambient humidity, and temperature curve stage characteristics on splatter behavior.
[0031] S200: Construct a dual-stream temporal convolutional network, which includes a thermodynamic vaporization flow branch and a rheological phase change flow branch. Input the real-time operating condition parameter sequence and intrinsic physical property parameters into the dual-stream temporal convolutional network respectively, and output the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence.
[0032] Currently, in solder paste splatter prediction, the vapor phase expansion process and the liquid phase surface tension process are often mixed in a black box model without establishing separate thermodynamic vaporization flow and rheological phase change branches. This makes it impossible to distinguish between the vapor phase expansion pressure of bubbles displacing liquid solder film and the additional pressure of surface tension of liquid phase enveloping bubbles, and also makes it impossible to identify the timing of boiling over. Furthermore, existing models do not incorporate the physical constraints of the positive correlation between vaporization (higher ambient humidity leading to more moisture absorption in the solder paste and a steeper preheating zone slope leading to more intense flux solvent evaporation) into the network. They also fail to incorporate the prior constraints of the Laplace equation (positive correlation between liquid phase surface tension and coefficient, negative correlation with average powder radius, and monotonically decreasing liquid phase surface tension coefficient with increasing temperature) into the network. This results in models that easily violate physical laws when historical samples are insufficient, exhibiting poor generalization ability and uninterpretable prediction results. Therefore, how to construct a system that can output the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence separately, and embed the physical constraints of gasification positive correlation and the prior constraints of the Laplace equation into a two-stream temporal convolutional network, has become a technical problem that urgently needs to be solved.
[0033] In step S200 of the method provided in this embodiment of the invention, a two-stream temporal convolutional network is constructed. The two-stream temporal convolutional network includes a thermodynamic vaporization flow branch and a rheological phase change flow branch, including: A first branch network containing multiple one-dimensional temporal convolutional layers is constructed as the thermodynamic vaporization flow branch, which takes the ambient humidity and the preheating zone temperature rise slope in the real-time temperature curve of the furnace as input. In the mapping process of thermodynamic vaporization flow branch, a vaporization positive correlation physical constraint is set. The vaporization positive correlation physical constraint is that the higher the ambient humidity, the more water the solder paste absorbs, and the greater the temperature rise slope of the preheating zone, the more intense the flux solvent evaporation. Under the physical constraint of positive correlation of vaporization, the thermodynamic vaporization flow branch extracts the temporal characteristics of the rapid vaporization of water and solvent with increasing temperature through a multi-layer one-dimensional temporal convolution layer, and outputs the microscopic gas phase expansion pressure sequence characterizing the outward displacement of liquid tin film. Using the historical operating condition parameter sequence as training input and the historical gas phase expansion pressure sequence obtained by back-reaming through a preset physical inversion model based on historical splash rate data and historical operating condition parameters as supervision target, the first branch network is trained to obtain the thermodynamic vaporization flow branch.
[0034] In this embodiment of the invention, the dual-stream temporal convolutional network includes a thermodynamic vaporization flow branch and a rheological phase-change flow branch. The two branches run in parallel, sharing the same time axis. The thermodynamic vaporization flow branch outputs the microscopic gas phase expansion pressure sequence. The rheological phase-change flow branch outputs the liquid phase surface tension additional pressure sequence. The time points of the two output sequences correspond one-to-one with the time points of the real-time operating condition parameter sequence.
[0035] Specifically, when constructing the thermodynamic vaporization flow branch, a vaporization branch network containing multiple one-dimensional temporal convolutional layers is adopted. The number of one-dimensional temporal convolutional layers can be set to 4 to 8, preferably 6. When the number of layers is less than 4, the receptive field of the network is insufficient to cover the vaporization process from the preheating zone to the recirculation zone. When the number of layers is more than 8, the number of parameters increases, and overfitting is easy when the historical samples are limited. The kernel size can be set to 3 to 7, preferably 5. When the kernel size is less than 3, it cannot effectively capture local temperature inflection points. When the kernel size is greater than 7, it is easy to over-smooth the vaporization pressure changes. The expansion factor is set in the order of 1, 2, 4, 8, 16, 32. This setting makes the receptive field grow exponentially and can cover a time window of about 120 seconds. The number of channels is set in the order of 32, 64, 128, 128, 64, 32. When the number of channels is too small, it cannot express multi-scale vaporization characteristics. When the number of channels is too large, the computational cost increases significantly. The activation function is ReLU. Each layer of one-dimensional temporal convolution is followed by a normalization layer and a dropout layer. The dropout rate can be set to 0.1 to 0.3, preferably 0.2. The dropout layer is set to suppress overfitting.
[0036] The input to the thermodynamic vaporization flow branch includes an ambient humidity sequence and a preheating zone temperature rise slope sequence from the real-time reflow temperature curve. In a preferred embodiment, the input also includes a reflow temperature sequence time-aligned with both. The ambient humidity sequence characterizes the degree of moisture absorption by the solder paste; higher ambient humidity results in more moisture absorption. The preheating zone temperature rise slope sequence characterizes the intensity of flux solvent evaporation; a steeper preheating zone temperature rise slope indicates more intense flux solvent evaporation. The reflow temperature sequence provides a time reference for temperature rise; without a temperature sequence, the network struggles to determine when moisture and solvent reach the rapid vaporization stage. Therefore, in practice, the ambient humidity sequence, preheating zone temperature rise slope sequence, and reflow temperature sequence are concatenated along the same time axis to form an input matrix.
[0037] Furthermore, a positive correlation physical constraint on vaporization is set during the mapping process of the thermodynamic vaporization flow branch. This constraint states that higher ambient humidity leads to more moisture absorption by the solder paste, and a steeper preheating slope results in more intense flux solvent evaporation. This constraint can be achieved through a monotonicity penalty term in the loss function. Specifically, for any two historical samples, if the ambient humidity of the first sample is higher than that of the second sample, the microscopic vapor phase expansion pressure output by the first sample should be greater than or equal to the microscopic vapor phase expansion pressure output by the second sample. If this condition is not met, the square of the pressure difference is calculated as a penalty. The preheating slope is penalized in the same way. For the reflow temperature, if the temperature of the first sample is higher than that of the second sample, the output pressure should be greater than or equal to the output pressure of the second sample. The penalty term weight can be set from 0.1 to 1.0, preferably 0.5. This weight is set because if the weight is too small, the physical constraint will not work; if the weight is too large, the network will over-rely on the constraint and ignore data fitting.
[0038] Furthermore, the thermodynamic vaporization flow branch extracts the temporal characteristics of the rapid vaporization of water and solvent with increasing temperature through multiple one-dimensional temporal convolutional layers. These temporal characteristics include the vaporization initiation time, the vaporization rate increase segment, the vaporization peak segment, and the vaporization decay segment. The network output characterizes the microscopic gas-phase expansion pressure sequence of the outward displacement of the liquid tin film. The physical meaning of the microscopic gas-phase expansion pressure sequence is the pressure exerted by the gas inside the bubble pushing the liquid tin film outward. The output layer can use the Softplus function to ensure non-negative pressure; the parameter of the Softplus function can be set to 1. Setting the output to non-negative is because the gas-phase expansion pressure cannot be negative.
[0039] Furthermore, the training process for the thermodynamic vaporization flow branch is as follows. Specifically, the training input is a sequence of historical operating condition parameters. This sequence includes historical ambient humidity, historical preheating zone temperature rise slope, and historical furnace temperature. The supervised target is a sequence of historical gas phase expansion pressures derived from historical splash rate data and historical operating condition parameters using a pre-defined physical inversion model.
[0040] The physical inversion model can be constructed based on the principles of mass conservation, energy conservation, the ideal gas law, and the Clausius-Clapeyron equation. Specifically, the energy released during detonation is first estimated based on historical splash rate data. The higher the splash rate, the greater the energy released during detonation. The energy released during detonation is proportional to the product of the bubble volume and the pressure difference. Then, the saturated vapor pressures of the flux solvent and moisture at different temperatures are calculated based on historical temperature curves. Next, based on a bubble growth model, the difference between the internal pressure of the bubble and the pressure encapsulated by the liquid phase is used as the escape pressure difference. By adjusting the gas phase expansion pressure sequence, the escape pressure difference calculated from this sequence can trigger detonation and generate a splash amount consistent with the historical splash rate. This inversion process can employ particle swarm optimization or a genetic algorithm, with the number of iterations set to 500 to 2000, preferably 1000; the convergence threshold can be set to 10. -5 This threshold is set because an excessively large threshold leads to insufficient inversion accuracy, while an excessively small threshold results in excessively long computation times. Past experience shows that the objective function decreases significantly after 500 iterations, stabilizes after 1000 iterations, and shows limited improvement in accuracy after 2000 iterations. Therefore, the threshold can be set between 500 and 2000 iterations, with 1000 iterations being preferred. Those skilled in the art can also set other values based on sequence length, population size, and computational resources, as long as the deviation of the boiling trigger time does not exceed one sampling period.
[0041] In step S200 of the method provided in this embodiment of the invention, a two-stream temporal convolutional network is constructed. The two-stream temporal convolutional network includes a thermodynamic vaporization flow branch and a rheological phase change flow branch, and further includes: A second branch network containing multiple one-dimensional temporal convolutional layers is constructed as a rheological phase transformation branch. The rheological phase transformation branch takes the alloy powder particle size distribution, thixotropic index and real-time furnace temperature curve as inputs, and embeds prior constraint relationships based on the physical model of the Laplace equation. The prior constraint relationship defines that the liquid phase surface tension is positively correlated with the liquid phase surface tension coefficient when the solder paste is molten, and negatively correlated with the average powder radius in the alloy powder particle size distribution. At the same time, it is defined that the liquid phase surface tension coefficient decreases monotonically as the real-time temperature curve of the reflow oven increases. Under the constraints of prior constraints, the rheological phase-change branch extracts the coalescence resistance characteristics of alloy powder when it melts into droplets above the liquidus temperature, and outputs a sequence of liquid phase surface tension and additional pressure characterizing the inwardly encapsulated bubbles. Using historical intrinsic physical property parameters and historical real-time furnace temperature curves as training inputs, and using the historical liquid phase surface tension and additional pressure sequence obtained by back-reaming through a preset physical inversion model based on historical splash rate data, historical intrinsic physical property parameters, and historical real-time furnace temperature curves as the supervision target, the second branch network is trained to obtain the rheological phase change branch.
[0042] In this embodiment of the invention, a rheological branching network containing multiple one-dimensional temporal convolutional layers is used when constructing the rheological phase change branch. Its network structure can be the same as the gasification branching network or set independently. The number of layers can be set to 4 to 8, preferably 6. The convolutional kernel size can be set to 3 to 7, preferably 5. The expansion factor is set sequentially to 1, 2, 4, 8, 16, and 32. The number of channels is set sequentially to 32, 64, 128, 128, 64, and 32. The activation function is ReLU. Each layer is followed by a normalization layer and a dropout layer. The dropout rate can be set to 0.1 to 0.3, preferably 0.2, and residual connections are added to the network. The inputs to the rheological branching network include the alloy powder particle size distribution, thixotropic index, and real-time furnace temperature curve.
[0043] Furthermore, the rheological phase-change branch incorporates prior constraints based on the Laplace equation physical model. The Laplace equation can be expressed as: Liquid phase surface tension additional pressure = twice the liquid phase surface tension coefficient / radius of curvature. Considering the wetting angle, the liquid phase surface tension additional pressure = twice the liquid phase surface tension coefficient × the cosine of the wetting angle / radius of curvature. The wetting angle can be set to 30 to 60 degrees, preferably 45 degrees, because the wetting angle of the solder on the copper pad is usually within this range. The radius of curvature is obtained by multiplying the average powder radius by the curvature correction factor, which can be set to 0.8 to 1.5, preferably 1.0, because the radius of the molten droplet is not exactly equal to the radius of the original alloy powder. The prior constraints define that the liquid phase surface tension additional pressure is positively correlated with the liquid phase surface tension coefficient during solder paste melting and negatively correlated with the average powder radius in the alloy powder particle size distribution. Simultaneously, the liquid phase surface tension coefficient is defined to decrease monotonically with the increase of the real-time reflow temperature curve.
[0044] Simultaneously, the surface tension coefficient of the liquid phase = surface tension coefficient at reference temperature - temperature coefficient × (current temperature - reference temperature). For lead-free tin-silver-copper alloys, the reference temperature can be taken as 250 degrees Celsius, the surface tension coefficient at the reference temperature can be taken as 0.55 N / m, and the temperature coefficient can be taken as 0.0005 N / m / degree Celsius. This temperature coefficient is set because the surface tension of the solder decreases slowly with increasing temperature. If the current temperature is 200 degrees Celsius, the surface tension coefficient is approximately 0.575 N / m. If the current temperature is 250 degrees Celsius, the surface tension coefficient is approximately 0.55 N / m. If the current temperature is 300 degrees Celsius, the surface tension coefficient is approximately 0.525 N / m. Through this relationship, the additional pressure of the liquid phase surface tension decreases with increasing temperature.
[0045] Furthermore, under the constraints of prior knowledge, the rheological phase-change branch extracts the coalescence resistance characteristics of alloy powder melting into droplets above the liquidus temperature. These coalescence resistance characteristics include the energy barrier generated by the reduction in surface area during droplet coalescence, the additional pressure change caused by the change in droplet curvature, and the viscous dissipation caused by the thixotropic index. The network output characterizes the additional pressure sequence of the liquid phase surface tension surrounding the inwardly encapsulated bubbles. The output layer can be directly embedded with the Laplace equation calculation formula; that is, the network first learns a residual correction, which is then added to the basic additional pressure calculated based on the Laplace equation. The magnitude of the residual correction can be limited to ±20% of the basic additional pressure. This limitation is because the Laplace equation already provides the main physical laws, and the residual correction is only used to compensate for actual deviations.
[0046] Furthermore, the training process for the rheological phase-change branch is as follows. Specifically, historical intrinsic physical property parameters and historical real-time furnace temperature curves are used as training inputs. Historical intrinsic physical property parameters include historical alloy powder particle size distribution and historical thixotropic index. The historical liquid phase surface tension and additional pressure sequence, derived from historical splash rate data, historical intrinsic physical property parameters, and historical real-time furnace temperature curves through a pre-set physical inversion model, serves as the supervision target.
[0047] The physical inversion model can be constructed based on the Laplace equation and the bubble bursting energy model. Specifically, the energy released during boiling is first estimated based on historical splash rate data. Then, the liquid phase surface tension coefficient is calculated based on historical temperature curves. The effective radius of curvature is calculated based on historical alloy powder particle size distribution. The additional pressure of the basic liquid phase surface tension is calculated based on the Laplace equation. Then, by adjusting the viscosity correction term and curvature correction coefficient related to the thixotropic index, the boiling triggering characteristics calculated jointly by the liquid phase surface tension additional pressure sequence and the gas phase expansion pressure sequence can reproduce the historical splash rate. This inversion process can use a gradient descent algorithm, with a learning rate of 0.001 to 0.01, preferably 0.005; the number of iterations of 500 to 2000, preferably 1000; and a convergence threshold of 10. -5 The threshold is set because if it is too large, the inversion accuracy will be insufficient, and if it is too small, the calculation time will be too long.
[0048] Previous experience shows that the objective function decreases significantly after 500 iterations, stabilizes after 1000 iterations, and shows limited improvement in accuracy after 2000 iterations. Therefore, the iteration count can be set to 500 to 2000, preferably 1000. Similarly, the gradient descent learning rate can be set to 0.001 to 0.01, preferably 0.005. Below 0.001, convergence is too slow, and above 0.01, oscillations are likely. Those skilled in the art can also set other values according to the network depth and optimizer type, as long as the validation set loss decreases steadily.
[0049] This invention employs a thermodynamic vaporization flow branch, taking ambient humidity, preheating zone temperature rise slope, and reflow temperature sequence as inputs, and outputting a microscopic gas phase expansion pressure sequence under the physical constraint of positive correlation in vaporization. This accurately characterizes the outward expansion effect of moisture and flux solvent rapidly vaporizing with increasing temperature. A rheological phase transformation branch, taking alloy powder particle size distribution, thixotropic index, and real-time reflow temperature curve as inputs, and outputting a liquid phase surface tension additional pressure sequence under the prior constraint of the Laplace equation, accurately characterizes the constraint effect of the liquid phase encapsulating bubbles when alloy powder melts into droplets. The parallel output of these two branches provides physically meaningful and time-aligned inputs for subsequent calculations of dynamic escape pressure differentials and extraction of boiling-triggered feature vectors, thereby improving the accuracy, interpretability, and small-sample generalization ability of solder paste splatter rate prediction, and reducing dependence on large amounts of labeled splatter rate data.
[0050] S300: Calculate the dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence, extract the physical moment feature when the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold, and use it as the boiling trigger feature vector.
[0051] Currently, while dual-flow networks can output the vapor phase expansion pressure and liquid phase surface tension additional pressure in solder paste splatter rate prediction, simply using these two sequences directly or taking their average without calculating the dynamic escape pressure difference point by point, and without pinpointing the physical moment when the pressure difference changes from negative to positive and the positive gradient exceeds the potential barrier threshold, makes it impossible to distinguish between slow vaporization and transient boiling. This can easily lead to mistaking bubbles that haven't broken through the liquid phase encapsulation as splatter sources, or submerging the true boiling moment in the continuous pressure curve. Consequently, splatter rate prediction lacks clear physical triggering characteristics, resulting in insufficient prediction accuracy and interpretability. Therefore, extracting the boiling triggering characteristic of a positive pressure difference and a positive gradient exceeding the potential barrier threshold from the microscopic vapor phase expansion pressure sequence and liquid phase surface tension additional pressure sequence has become a pressing technical problem that needs to be solved.
[0052] Step S300 in the method provided in this embodiment of the invention includes: At each corresponding time point, the current pressure value of the microscopic gas phase expansion pressure sequence is subtracted from the current pressure value of the liquid phase surface tension additional pressure sequence to obtain the dynamic escape pressure difference sequence. Traverse the dynamic escape pressure difference sequence to locate the point in time when the dynamic escape pressure difference changes from negative to positive. A negative dynamic escape pressure difference indicates that the microbubbles are bound and constrained by the liquid phase tension, while a change from negative to positive dynamic escape pressure difference indicates that the gas phase expansion pressure physically breaks through the liquid phase binding tension. Calculate the rate of change of the dynamic escape pressure difference at the crossover point with time to obtain the positive gradient; When the positive gradient is greater than the preset barrier threshold, it is determined that a transient violent boiling occurred at the crossing time point. The timestamp of the crossing time point, the magnitude of the positive gradient, and the peak pressure difference at the time of boiling are combined and spliced to construct the boiling trigger feature vector.
[0053] In this embodiment of the invention, the dynamic escape pressure difference is calculated point-by-point according to the same time node. Let P be the microscopic gas phase expansion pressure sequence output by the thermodynamic vaporization flow branch. gas The liquid phase surface tension and additional pressure sequence output by the rheological phase change branch is P. liquid For each time point t, the dynamic escape pressure difference = P gas (t)-P liquid(t). A positive result indicates that the net pressure of the gas phase displacing the liquid tin film outward is greater than the confinement pressure of the liquid phase enveloping the bubbles inward. A negative result indicates that the microbubbles are still confined by the liquid phase tension. The two sequences were aligned along the same time axis before input, so point-by-point subtraction will not cause time misalignment.
[0054] Furthermore, to improve the reliability of the differential pressure sequence, short-term smoothing can be performed on both sequences before subtraction. The smoothing window can be set to 3 to 7 sampling points, preferably 5. This window size is chosen because a window that is too short cannot suppress sensor noise and network output jitter, while a window that is too long will smooth out the transient peak of boiling. If the sampling frequency is 20 Hz, 5 sampling points correspond to 0.25 seconds, which is suitable for capturing the precursors of boiling. The smoothing method can be either moving average or median filtering. Median filtering has a better effect on suppressing spike noise, while moving average has a better effect on suppressing random noise. One of these methods can be selected based on historical data.
[0055] Furthermore, the dynamic escape pressure difference sequence is traversed to locate the crossover point where the pressure difference changes from negative to positive. Specifically, between two adjacent time points, the pressure difference at the first time point is less than or equal to zero, and the pressure difference at the second time point is greater than zero. If this condition is met, it indicates that a crossover point exists between the two time points. Since the sampling is discrete, the crossover point usually does not fall exactly on the sampling point, requiring linear interpolation for calculation.
[0056] Furthermore, when calculating the positive gradient at the crossing moment, a time window can be taken near the crossing moment. The window can be set to 0.1 seconds before and after the crossing moment, preferably 0.05 seconds before and 0.15 seconds after. A shorter initial window and a longer subsequent window is used because the boiling occurs after the crossing, and the latter part better reflects the pressure release rate. Within the window, a linear fit is performed on the change of the dynamic escape pressure difference over time, and the fit slope is used as the positive gradient. If computational resources are limited, the difference between the pressure difference at the first sampling point after the crossing moment and the pressure difference at the crossing moment can also be directly calculated and then divided by the time difference between the two.
[0057] Furthermore, the barrier threshold is used to determine whether the positive gradient is sufficient to constitute a transient, violent boiling. The barrier threshold can be set from 0.5 kPa / s to 5 kPa / s, preferably 1.5 kPa / s. When setting this range, historical boiling trigger samples can be collected first, and the positive gradient of each sample at the crossing moment can be statistically analyzed. If the production line's allowable false alarm rate is 5%, the 95th percentile of this set is taken as the barrier threshold. That is, only when the positive gradient exceeds the gradient value of 95% of the historical normal crossing moments is it determined to be a true boiling. If the production line's allowable false alarm rate is even stricter, such as 1%, the 99th percentile is taken, the threshold is higher, and only more violent boiling is determined to be splashing. If historical samples are insufficient, physical estimation can be used. When the bubble radius is approximately 10 micrometers, the pressure difference needs to rise from -0.15 kPa to +0.15 kPa within 0.2 seconds, corresponding to an average gradient of approximately 1.5 kPa / s, therefore 1.5 kPa / s is preferred. Those skilled in the art can also set other values based on solder paste type, powder particle size and equipment sampling frequency, as long as the recall rate and false alarm rate of historical boiling samples meet production requirements.
[0058] Furthermore, when the positive gradient exceeds the potential barrier threshold, a transient violent boiling is determined to have occurred at the crossing moment. Subsequently, the maximum value of the dynamic escape pressure difference is searched within a preset peak search window after the crossing moment, and this value is taken as the peak pressure difference at the time of boiling. The peak search window can be set to 0.05 seconds to 0.5 seconds, preferably 0.2 seconds. This window is chosen because the boiling duration is typically tens to hundreds of milliseconds; a window that is too short may miss the peak, while a window that is too long will include data from subsequent cooling stages. If the sampling frequency is 20 Hz, 0.2 seconds corresponds to 4 sampling points. If the peak appears at the window boundary, the window can be extended by 0.05 seconds and the search repeated.
[0059] Finally, the timestamp of the crossing point, the magnitude of the positive gradient, and the peak pressure difference at the time of boiling over are combined and concatenated to construct the boiling over trigger feature vector. The timestamp can be the number of seconds relative to the time of entry into the furnace, or it can be normalized time. Normalized time = (crossing point - entry point) / total furnace time, ensuring the timestamp falls between 0 and 1. The positive gradient can be normalized according to the historical maximum positive gradient. The peak pressure difference can be normalized according to the historical maximum peak pressure difference. The combination order can be timestamp, positive gradient, peak pressure difference.
[0060] For positive gradient normalization, a historical maximum positive gradient protection threshold can be set. This threshold can be set to 10. -6 kPa·s. The normal positive gradient for bumping is typically 0.5 kPa·s to 5 kPa·s. -6Values significantly smaller than the effective value are considered invalid denominators. If the absolute value of the historical maximum positive gradient is less than or equal to this threshold, division is not performed. If the current positive gradient is also zero, the normalized positive gradient is set to 0. If the current positive gradient is greater than zero, the normalized positive gradient is set to 1, and the out-of-limit flag is set to 1. If the historical maximum positive gradient is greater than this threshold, the calculation is performed by dividing the current positive gradient by the historical maximum positive gradient, and the result is truncated to between 0 and 1. The same processing is used for peak pressure drop normalization.
[0061] The historical maximum positive gradient and historical maximum peak pressure difference can be obtained using a rolling window. The rolling window can be set to the most recent 500 boilover trigger samples or valid samples from the most recent 90 days. Valid samples should exclude sensor failure samples, samples with abnormal timestamps, samples with missing splash rate data, and manually marked abnormal production samples. If the number of valid samples is less than 30, a preset physical range is used as the backup maximum value. The preset range for the positive gradient can be set to 0.1 kPa to 10 kPa. The preset range for the peak pressure difference can be set to 0.01 kPa to 5 kPa. The preset range for the total furnace time can be set to 180 seconds to 360 seconds. If the maximum and minimum values within the preset range are still equal, the protection threshold will also apply.
[0062] It should be noted that if multiple crossing points satisfying the conditions occur during a single furnace run, multiple boiling-triggered feature vectors can be constructed. To facilitate subsequent regressor processing, the feature vector with the largest positive gradient can be selected as the main boiling-triggered feature vector, or all feature vectors satisfying the conditions can be concatenated in chronological order. If the concatenated dimension is not fixed, a fixed-dimensional vector can be constructed using statistics such as maximum gradient, peak pressure difference, number of boiling runs, and average gradient. Those skilled in the art can choose the specific combination method according to the input requirements of the regressor.
[0063] This invention calculates the dynamic escape pressure difference at each time node, locates the point where the pressure difference changes from negative to positive and crosses zero, calculates the positive gradient at the crossing moment and compares it with the potential barrier threshold, and then extracts the timestamp, positive gradient amplitude and peak pressure difference to form a boiling trigger feature vector. This can quantify the transient process of bubbles from being constrained by liquid phase tension to breaking through the constraint into a feature input with clear physical meaning, accurate time positioning and measurable intensity. This allows the subsequent splash rate prediction regressor to make predictions directly based on the boiling trigger moment and intensity, thereby reducing false alarms and improving the accuracy, interpretability and adaptability to operating condition drift of solder paste splash rate prediction.
[0064] S400: Input the boiling trigger feature vector into the pre-built splatter rate prediction regressor and output the initial value of the solder paste splatter rate prediction.
[0065] Currently, solder paste splatter rate prediction often employs single regression models or simple ensemble models. These models fail to assign weighted weights based on the prediction variance of each independent sub-regression tree on the validation set. This leads to prediction results being easily skewed by individual unstable sub-trees or abnormal samples, insufficient utilization of the boiling trigger feature vector, and increased initial prediction deviations during operating condition fluctuations. Therefore, constructing an ensemble learning regressor based on the inverse normalized weights of the validation set prediction variance has become a pressing technical problem that needs to be solved.
[0066] Step S400 in the method provided in this embodiment of the invention includes: Historical boiling trigger feature vectors and corresponding historical splash rate data are obtained as training samples to construct an ensemble learning model containing multiple parallel independent sub-regression trees. Each independent sub-regression tree is trained using training samples. Each independent sub-regression tree takes the historical boiling trigger feature vector as input and the corresponding historical true splash rate data as output. Calculate the prediction variance of each independent sub-regression tree on the validation set, normalize the reciprocal of each prediction variance, and obtain the weighted weight of each independent sub-regression tree. By combining all independent sub-regression trees with weighted weights, a splash rate predictor regressor is obtained. The current boiling trigger feature vector is input into the splash rate prediction regressor, and each independent sub-regression tree outputs a splash rate sub-prediction value based on its trained feature partitioning rules. The initial value of the solder paste splatter rate prediction is obtained by weighting and summing all the predicted values of the splatter rate according to the weighted values.
[0067] In this embodiment of the invention, historical boiling trigger feature vectors and corresponding historical true splash rate data are obtained as training samples. The historical boiling trigger feature vectors can be extracted from historical reflow processes according to the aforementioned steps, including the timestamp of the crossing point, the positive gradient magnitude, and the peak pressure difference. Historical true splash rate data can be obtained by acquiring circuit board surface images through an automated optical inspection device after the reflow oven, identifying isolated small metallic phase pixels outside the pad boundaries through semantic segmentation, and calculating the ratio of the pixel area to the total pixel area of the pads. One main boiling trigger feature vector can be extracted for each historical reflow process. If multiple crossing points satisfy the conditions, they can be concatenated in chronological order or statistical measures can be used to construct a fixed-dimensional vector. The number of training samples can be set to at least 500. This number is set because when the number of samples is too small, multiple sub-regression trees are prone to overfitting, and the variance estimation of the validation set prediction is unstable. When the number of samples exceeds 500, the ensemble learning effect usually tends to stabilize.
[0068] Furthermore, the training samples are divided into training, validation, and test sets. The splitting ratios can be set to 70%, 15%, and 15%, respectively. The training set is used to fit subtrees, the validation set is used to calculate prediction variance and weights, and the test set is used to finally evaluate the generalization ability of the regressor. The splitting should be done chronologically, not randomly. Chronological splitting avoids the leakage of future operating condition information into past samples. If the historical sample time span is short, five-fold cross-validation can also be used. Five-fold cross-validation divides the samples into five parts, alternating between four parts as the training set and one part as the validation set.
[0069] Furthermore, an ensemble learning model comprising multiple parallel independent sub-regression trees is constructed. The number of sub-regression trees can be set from 10 to 100, preferably 50, because when the number is less than 10, the variance reduction effect of the ensemble model is limited, and the initial prediction value is easily affected by the anomalies of a single tree; when the number is more than 100, the computational and storage costs increase significantly, while the improvement in prediction accuracy is usually less than one percent. The maximum depth of each sub-regression tree can be set from 5 to 15 layers, preferably 10 layers, because when the depth is less than 5 layers, the subtree cannot fully divide the boiling trigger feature space, which is prone to underfitting; when the depth is greater than 15 layers, the subtree will over-rely on training sample noise, and the variance of the validation set prediction will increase. The minimum number of samples for a leaf node can be set from 5 to 20, preferably 10, because too few samples for a leaf node will lead to a large variance in the leaf output value, while too many samples will lead to an overly coarse subtree division.
[0070] Furthermore, each independent sub-regression tree obtains a training subset from the training set using sampling with replacement or subsampling. The subsampling ratio can be set to 0.8, as retaining most samples ensures that the subtree learns the main patterns, while introducing sample perturbation increases the diversity between subtrees. Each tree randomly selects a feature subset when splitting a node. The size of the feature subset can be set to the square root of the total number of features, or one-third of the total number of features. The dimension of the boil-triggered feature vector is typically 3 to 10 dimensions, and the feature subset size can be set to 2 to 4 dimensions. Setting a random feature subset reduces the correlation between subtrees, making the weighted sum more stable after integration. The node splitting criterion uses the minimization of mean squared error. For each candidate split point, the mean squared error of the true splash rate within the left and right child nodes is calculated, and the split point that minimizes the weighted mean squared error is selected. Recursive splitting continues until the maximum depth is reached or the number of samples in the leaf node is less than the minimum number of samples. The output value of the leaf node is the average of the true splash rate of all training samples within that node.
[0071] Furthermore, each independent sub-regression tree is trained using training samples. Each tree takes a historical boiling trigger feature vector as input and the corresponding historical true splash rate data as output. After training, the prediction variance of each independent sub-regression tree on the validation set is calculated. This prediction variance can be defined as the validation set mean squared error. Specifically, each historical boiling trigger feature vector in the validation set is input into the sub-tree to obtain a sub-predicted value. The sub-predicted value is subtracted from the corresponding true splash rate to obtain the prediction residual. The squared prediction residuals are summed and then divided by the number of samples in the validation set to obtain the validation set mean squared error of the sub-tree. The mean squared error is set as the prediction variance because it reflects both prediction bias and fluctuation; the smaller the value, the more stable and accurate the sub-tree is on unseen samples.
[0072] It should be noted that if the mean squared error of the validation set of a subtree is zero, a division by zero problem will occur when taking the reciprocal. In this case, a variance protection threshold should be set, which can be set to 10. -6 The mean square error of a normal validation set is typically greater than 10. -4 10 -6 Values significantly smaller than the effective value can be considered abnormal. If the mean square error is less than or equal to 10... -6 Then replace the mean square error with 10. -6 Then take the reciprocal. This protection threshold is set because perfect prediction is impossible in reality. It is usually caused by insufficient validation set samples, data leakage, or feature duplication with label. Taking the reciprocal directly will result in infinite weight, making that subtree dominate the prediction result.
[0073] Furthermore, the reciprocals of the prediction variances are normalized to obtain the weighted weights of each independent sub-regression tree. Specifically, for each subtree, the reciprocal of its validation set mean squared error is taken to obtain a reliability score. The higher the reliability score, the more stable the subtree. The reliability scores of all subtrees are summed to obtain the total reliability score. The weighted weight of each subtree = its reliability score / total reliability score. Reciprocal normalization is used because subtrees with smaller mean squared errors should contribute more to the final prediction, while subtrees with larger mean squared errors should contribute less. The sum of the weighted weights of all subtrees is 1, which facilitates subsequent weighted summation.
[0074] Furthermore, all independent sub-regression trees are combined according to weighted weights to obtain a splash rate predictor regressor. This regressor is a weighted summation model, internally retaining the feature partitioning rules, leaf node output values, and weighted weights for each subtree. The boiling trigger feature vector at the current moment is input into the splash rate predictor regressor. Each independent sub-regression tree, based on its trained feature partitioning rules, starts from the root node and enters the left or right child node according to the feature value, until it reaches a certain leaf node. The output value of the leaf node is the splash rate sub-predicted value output by that subtree. All splash rate sub-predicted values are weighted and summed according to the weighted weights to obtain the initial value of the solder paste splash rate prediction.
[0075] This invention uses historical boiling trigger feature vectors and historical true splash rate data as training samples to construct and train multiple parallel independent sub-regression trees. Then, it obtains weighted weights by normalizing the inverse of the prediction variance of each subtree on the validation set. Finally, it performs a weighted summation of the sub-predictions corresponding to the current boiling trigger feature vector. This approach can highlight the subtrees with stable and accurate predictions and suppress the contributions of unstable subtrees, thereby improving the accuracy, robustness, and generalization ability of the initial value of solder paste splash rate prediction and providing a reliable initial value for subsequent correction.
[0076] S500: Obtains the actual splatter rate data, corrects the dual-stream temporal convolutional network based on the actual splatter rate data and the initial value of the solder paste splatter rate prediction, and outputs the final prediction result.
[0077] Currently, solder paste splatter rate prediction often relies on manual visual inspection or simple threshold judgment, which is highly subjective, inefficient, and difficult to quantify. The initial prediction value lacks a closed-loop correction mechanism, and the model prediction bias continues to increase when equipment operating conditions drift or solder paste batches are changed. Directly using new samples to fine-tune the network can easily lead to catastrophic forgetting, causing the network to lose historical operating condition knowledge. Therefore, how to automatically and accurately acquire true splatter rate data, determine whether to trigger correction based on residuals, and employ an elastic weight consolidation algorithm to balance new and old knowledge during correction has become a pressing technical problem to be solved.
[0078] Step S500 in the method provided in this embodiment of the invention, as follows: Figure 2 As shown, it includes: At the exit of the reflow oven, a high-definition visible light image of the surface of the soldered circuit board is acquired by an automatic optical inspection device after the oven. Image semantic segmentation is performed on high-definition visible light images to identify isolated tiny metallic phase pixels outside the preset pad boundaries; The total pixel area of isolated micro-metal phase pixels is statistically analyzed, and the ratio of isolated micro-metal phase pixels to the total pixel area of circuit board pads is calculated as the true spatter rate data for the current batch.
[0079] In this embodiment of the invention, when acquiring the actual spatter rate data, an automatic optical inspection device is installed at the outlet of the reflow oven. This device includes an industrial camera, a ring light source, a lens, and an image processing unit. The camera resolution can be set to 50 to 200 pixels per millimeter, preferably 100 pixels per millimeter. This is because when the resolution is below 50 pixels per millimeter, tiny spatter particles occupy only a few pixels, resulting in large segmentation errors; when the resolution is above 200 pixels per millimeter, the amount of image data increases significantly, and the processing speed decreases. The light source uses a ring of white light, and the exposure time can be set to 1 to 10 milliseconds, preferably 3 milliseconds. Too short an exposure time will result in a dark image, while too long an exposure time will cause overexposure and reflection on the solder pads. The shooting angle is set vertically downwards to avoid offsetting the solder pad boundaries due to oblique viewing.
[0080] Furthermore, after acquiring a high-resolution visible light image of the soldered circuit board surface, preprocessing is performed. Preprocessing includes grayscale conversion, Gaussian filtering for noise reduction, white balance correction, and contrast enhancement. The Gaussian filter kernel size can be set to 3x3 or 5x5, with 3x3 being preferred because a larger kernel can easily blur the edges of tiny spatter particles. Contrast enhancement can be achieved using histogram equalization to make the difference between the metallic phase and the background more pronounced.
[0081] Next, semantic segmentation is performed on the high-resolution visible light images. The semantic segmentation network can be U-Net, DeepLab, or SegFormer. Training samples are manually labeled, with categories including pad regions, solder regions, spattered metal regions, background regions, and interference regions. The segmentation loss function can be a combination of cross-entropy and Dice loss. The cross-entropy weight can be set to 1, and the Dice loss weight can also be set to 1. This combined loss is used because cross-entropy focuses on pixel classification accuracy, while Dice loss focuses on region overlap; combining the two improves the segmentation integrity of small metallic phases. After segmentation, each pixel is assigned a category label.
[0082] Furthermore, the preset pad boundaries can be obtained from Gerber data or CAD data in the circuit board design file. The pad geometry is mapped to the image coordinate system according to the camera calibration parameters. If the mapping error exceeds two pixels, the pad contour segmented from the image can be used for correction. The correction method involves performing a morphological closing operation on the pad area to fill the holes, and then extracting the outer contour as the pad boundary. The structuring element size for the morphological closing operation can be set to 3x3 or 5x5, with 3x3 being preferred, because a larger size will merge adjacent pads, while a smaller size will not be able to fill the holes.
[0083] Furthermore, when identifying isolated micro-metallic phase pixels outside the preset pad boundaries, connected component analysis is performed on the segmented spattered metal regions. For each connected component, area, roundness, distance to the nearest pad boundary, and aspect ratio are calculated. The area threshold can be set to five to five hundred pixels. This range is chosen because connected components with an area less than five pixels may be noise, while those with an area greater than five hundred pixels may be large solder joints connected to the pads or incompletely segmented solder. Roundness = four times pi × area / perimeter squared. The roundness threshold can be set to greater than 0.5, because spattered particles are approximately circular, while fibers and scratches have lower roundness. The distance threshold to the pad boundary can be set to 0.05 mm to 0.5 mm, preferably 0.1 mm, because metal phases that are too close may be solder joint edge burrs, while connected components that are too far away and have a suitable area are more likely to be spattered particles. The aspect ratio threshold can be set to less than three. Connected components that meet the area, roundness, distance, and aspect ratio criteria are identified as isolated micro-metallic phase pixels.
[0084] Furthermore, the total pixel area of all isolated micro-metal phase pixels is calculated, as well as the total pixel area of the circuit board pads. The total pixel area of the pads can be obtained by summing the pixels of all pad regions, or it can be calculated after mapping Gerber data. Finally, the true spatter rate is calculated as: (Total pixel area of isolated micro-metal phases / Total pixel area of circuit board pads) × 100%.
[0085] In step S500 of the method provided in this embodiment of the invention, as follows: Figure 2 As shown, it also includes: Calculate the absolute value of the difference between the actual spatter rate data and the initial value of the solder paste spatter rate prediction to obtain the spatter prediction residual; Determine whether the splash prediction residual is greater than the preset closed-loop trigger tolerance threshold; If the splash prediction residual is less than or equal to the closed-loop trigger tolerance threshold, the current dual-stream temporal convolutional network is judged to have good generalization ability and no parameter correction is performed. If the splash prediction residual is greater than the closed-loop trigger tolerance threshold, it is determined that the current equipment operating condition has drifted. The currently extracted real-time operating condition parameter sequence, boiling trigger feature vector, and corresponding real splash rate data are added as incremental samples to the correction buffer pool, and the network correction mechanism is triggered.
[0086] In this embodiment of the invention, when calculating the spatter prediction residual, the actual spatter rate data is subtracted from the initial predicted value of the solder paste spatter rate, and then the absolute value is taken. If the initial prediction value is the single-board prediction value, the actual spatter rate uses the test results of the same circuit board. If the initial prediction value is the batch prediction value, the actual spatter rate uses the average test results of the same batch.
[0087] Further, it is determined whether the splash prediction residual is greater than the preset closed-loop trigger tolerance threshold. The maximum permissible deviation of the splash rate specified in the production line process specification is obtained, and this maximum permissible deviation is used as the closed-loop trigger tolerance threshold. For example, assuming the production line process specification stipulates that the deviation between the predicted and actual splash rate values should not exceed ±3%, then the closed-loop trigger tolerance threshold is set to 3%. When the prediction residual is ≤3%, the model is considered to have generalized normally, and no correction is performed; when the residual is >3%, it is determined that the operating condition is drifting, and correction is triggered. If the production line has multiple product types, different tolerance thresholds can be set for each product type, or the tolerance of the most stringent product type can be used as the global threshold.
[0088] Furthermore, if the splash prediction residual is less than or equal to the closed-loop trigger tolerance threshold, the current dual-stream temporal convolutional network is considered to have good generalization ability, and no parameter correction is performed. In this case, the current sample can be stored as a normal sample in the historical database for subsequent rolling updates of historical maximum, minimum, and maximum gradient statistics. If the splash prediction residual is greater than the closed-loop trigger tolerance threshold, the current equipment operating condition is considered to have drifted. The currently extracted real-time operating condition parameter sequence, boiling trigger feature vector, and corresponding actual splash rate data are added as incremental samples to the correction buffer pool, and the network correction mechanism is triggered.
[0089] The calibration buffer capacity can be set to 500 samples. This capacity is chosen because a smaller capacity will frequently overwrite old samples, while a larger capacity will increase the calibration calculation time. When adding incremental samples, a first-in, first-out (FIFO) strategy can be used, or samples with larger residuals can be retained by sorting them by residual size.
[0090] Furthermore, triggering the network correction mechanism includes: The elastic weight consolidation algorithm is used for network correction; Extract the network weight parameters of the two-stream temporal convolutional network at the current time step as historical anchor point weights; The incremental samples in the correction buffer pool are used as input, and the main optimization objective is to minimize the splash prediction residual. At the same time, a parameter offset penalty term is added to the loss function. The parameter offset penalty term is based on the Euclidean distance between the new weight parameters and the historical anchor weights during the incremental learning process of the two-stream temporal convolutional network, and is calculated by weighting according to the importance of each weight parameter in the historical task. The two-stream temporal convolutional network is corrected by backpropagation updates using a loss function that includes a parameter offset penalty term.
[0091] In this embodiment of the invention, an elastic weight consolidation algorithm is used when the network correction mechanism is triggered. The network weight parameters of the dual-stream temporal convolutional network at the current moment are extracted as historical anchor weights. The historical anchor weights include the weights and biases of all one-dimensional temporal convolutional layers, layer normalization layers, and fully connected layers in the thermodynamic vaporization flow branch and the rheological phase change flow branch.
[0092] Furthermore, the importance of each weight parameter in historical tasks is calculated. Importance can be represented by the diagonal elements of the Fisher information matrix. Specifically, historical training samples are taken, and each historical sample is input into a two-stream temporal convolutional network to calculate the gradient of the prediction loss with respect to each weight parameter. The squared gradients are then averaged over all historical samples to obtain the importance value of each weight parameter. The larger the importance value, the more critical the weight parameter is to the historical prediction task. If computational resources are limited, the average of the absolute values of the weight parameters in historical tasks can also be used as an approximation of importance. The Fisher information matrix is used because it directly reflects the curvature of the loss surface; directions with greater curvature correspond to important weights, which should be preserved as much as possible during correction.
[0093] Furthermore, using incremental samples from the correction buffer as input, the primary optimization objective is to minimize the splash prediction residuals. The loss function includes an incremental sample prediction residual term and a parameter offset penalty term. The incremental sample prediction residual term can use mean squared error. The parameter offset penalty term is based on the Euclidean distance between the new weight parameters and the historical anchor weights during the incremental learning process of the two-stream temporal convolutional network, and is calculated by weighting each weight parameter according to its importance in the historical task. Parameter offset penalty term = 1 / 2 × penalty coefficient × importance value × (new weight - historical anchor weight) 2 The weights of all parameters are summed. The penalty coefficient can be set from 0.1 to 10, with 0.1 being preferred. This is because when the penalty coefficient is less than 0.1, the effect of the parameter offset penalty term is too weak, and the network is prone to forgetting historical knowledge. When the penalty coefficient is greater than 10, the effect of the parameter offset penalty term is too strong, and the network cannot adapt to new operating conditions. The preferred option achieves a balance between preserving historical knowledge and adapting to new operating conditions.
[0094] Finally, the two-stream temporal convolutional network is corrected by backpropagation update using a loss function that includes a parameter offset penalty term. The learning rate can be set to 0.0001 to 0.001, preferably 0.0005, because an excessively large learning rate will destroy the historical anchor weights, while an excessively small learning rate will result in a slow correction speed. The number of iterations can be set to 100 to 1000, preferably 500. The convergence condition can be set as the validation set loss not decreasing for 50 consecutive iterations, or the parameter update norm being less than 0.00001. After correction, the corrected two-stream temporal convolutional network is used for subsequent predictions to output the final prediction result.
[0095] This invention utilizes a post-reflow automated optical inspection device to acquire high-resolution visible light images. Semantic segmentation identifies isolated, minute metallic phase pixels outside the pad boundaries, and the ratio of these pixels to the total area of the pad pixels is calculated. This allows for the automatic, objective, and repeatable acquisition of true spatter rate data. By calculating the residual between the true spatter rate and the initial prediction value and comparing it with a closed-loop trigger tolerance threshold, corrections are not applied during normal fluctuations but are triggered promptly during operational condition drift, reducing invalid calculations. By adding incremental samples to the correction buffer and employing an elastic weighted consolidation algorithm with historical anchor weights and parameter importance-weighted penalties for backpropagation updates, the invention maintains historical predictive capabilities while adapting to new operational conditions, suppressing catastrophic forgetting, thereby improving the long-term accuracy, stability, and traceability of solder paste spatter rate prediction.
[0096] In summary, the embodiments of the present invention have at least the following technical effects: This invention provides batch-adaptive and time-consistent complete input for prediction by acquiring and aligning sequences of intrinsic physical properties and real-time operating parameters of solder paste. A dual-stream temporal convolutional network outputs sequences of microscopic gas phase expansion pressure and liquid phase surface tension-added pressure, embedding positive physical constraints related to vaporization and prior constraints based on the Laplace equation, giving the prediction process clear physical meaning and interpretability. By calculating the dynamic escape pressure difference and extracting the boiling trigger feature vector where the pressure difference changes from negative to positive and the positive gradient exceeds the potential barrier threshold, slow vaporization and transient boiling are accurately distinguished. An ensemble learning regressor based on the weighted combination of the normalized inverse of the validation set prediction variance outputs the initial value for the splash rate prediction, improving prediction accuracy and robustness. Automatic post-reflow optical inspection acquires the actual splash rate data, and an elastic weight consolidation algorithm is used to correct the residual when it exceeds the closed-loop trigger tolerance threshold, adapting to new operating conditions while suppressing catastrophic forgetting, thereby comprehensively improving the accuracy, interpretability, and long-term stability of solder paste splash rate prediction.
[0097] In summary, this invention solves the technical problems of incomplete input of operating conditions and intrinsic parameters, mixed gas phase expansion and liquid phase tension processes and lack of physical characteristics for triggering boiling in existing solder paste splatter rate prediction, lack of closed-loop correction of the prediction initial value and easy occurrence of catastrophic forgetting, which lead to insufficient prediction accuracy, interpretability and long-term stability.
[0098] Example 2, as Figure 3 As shown, based on the same inventive concept as the intelligent prediction method for solder paste splatter rate based on working condition parameter mapping provided in Embodiment 1, this embodiment of the invention also provides an intelligent prediction system for solder paste splatter rate based on working condition parameter mapping, including: The parameter acquisition module 11 is used to acquire the intrinsic physical property parameters and real-time operating condition parameter sequences of solder paste; The dual-stream temporal convolution prediction module 12 is used to construct a dual-stream temporal convolutional network. The dual-stream temporal convolutional network includes a thermodynamic vaporization flow branch and a rheological phase change flow branch. The real-time operating condition parameter sequence and intrinsic physical property parameters are respectively input into the dual-stream temporal convolutional network, and the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence are output. Boiling trigger feature extraction module 13 is used to calculate the dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence, and extract the physical moment feature when the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold, as the boiling trigger feature vector. The splash rate regression prediction module 14 is used to input the boiling trigger feature vector into the pre-built splash rate prediction regressor and output the initial value of the solder paste splash rate prediction. The closed-loop correction module 15 is used to acquire the actual splatter rate data, correct the dual-stream temporal convolutional network based on the actual splatter rate data and the initial value of the solder paste splatter rate prediction, and output the final prediction result.
[0099] In one embodiment, the parameter acquisition module 11 is specifically used for: Obtain the intrinsic physical property parameters of the current solder paste batch. The intrinsic physical property parameters include the alloy powder particle size distribution, which characterizes the size of the solder paste particles, and the thixotropic index, which characterizes the relationship between the solder paste viscosity and the shear rate. The real-time temperature curve of the reflow oven is collected from the temperature control sensor array of the reflow oven, and the preheating zone temperature rise slope, constant temperature zone holding time and reflow zone peak temperature are extracted from the real-time temperature curve. The ambient temperature and humidity in the workshop are collected synchronously, and the extracted preheating zone temperature rise slope, constant temperature zone heat preservation time, reflux zone peak temperature and ambient temperature and humidity are aligned and spliced on the time axis to construct a real-time operating condition parameter sequence.
[0100] In one embodiment, the dual-stream temporal convolutional prediction module 12 is specifically used for: A first branch network containing multiple one-dimensional temporal convolutional layers is constructed as the thermodynamic vaporization flow branch, which takes the ambient humidity and the preheating zone temperature rise slope in the real-time temperature curve of the furnace as input. In the mapping process of thermodynamic vaporization flow branch, a vaporization positive correlation physical constraint is set. The vaporization positive correlation physical constraint is that the higher the ambient humidity, the more water the solder paste absorbs, and the greater the temperature rise slope of the preheating zone, the more intense the flux solvent evaporation. Under the physical constraint of positive correlation of vaporization, the thermodynamic vaporization flow branch extracts the temporal characteristics of the rapid vaporization of water and solvent with increasing temperature through a multi-layer one-dimensional temporal convolution layer, and outputs the microscopic gas phase expansion pressure sequence characterizing the outward displacement of liquid tin film. Using the historical operating condition parameter sequence as training input and the historical gas phase expansion pressure sequence obtained by back-reaming through a preset physical inversion model based on historical splash rate data and historical operating condition parameters as supervision target, the first branch network is trained to obtain the thermodynamic vaporization flow branch.
[0101] A second branch network containing multiple one-dimensional temporal convolutional layers is constructed as a rheological phase transformation branch. The rheological phase transformation branch takes the alloy powder particle size distribution, thixotropic index and real-time furnace temperature curve as inputs, and embeds prior constraint relationships based on the physical model of the Laplace equation. The prior constraint relationship defines that the liquid phase surface tension is positively correlated with the liquid phase surface tension coefficient when the solder paste is molten, and negatively correlated with the average powder radius in the alloy powder particle size distribution. At the same time, it is defined that the liquid phase surface tension coefficient decreases monotonically as the real-time temperature curve of the reflow oven increases. Under the constraints of prior constraints, the rheological phase-change branch extracts the coalescence resistance characteristics of alloy powder when it melts into droplets above the liquidus temperature, and outputs a sequence of liquid phase surface tension and additional pressure characterizing the inwardly encapsulated bubbles. Using historical intrinsic physical property parameters and historical real-time furnace temperature curves as training inputs, and using the historical liquid phase surface tension and additional pressure sequence obtained by back-reaming through a preset physical inversion model based on historical splash rate data, historical intrinsic physical property parameters, and historical real-time furnace temperature curves as the supervision target, the second branch network is trained to obtain the rheological phase change branch.
[0102] In one embodiment, the boiling trigger feature extraction module 13 is specifically used for: At each corresponding time point, the current pressure value of the microscopic gas phase expansion pressure sequence is subtracted from the current pressure value of the liquid phase surface tension additional pressure sequence to obtain the dynamic escape pressure difference sequence. Traverse the dynamic escape pressure difference sequence to locate the point in time when the dynamic escape pressure difference changes from negative to positive. A negative dynamic escape pressure difference indicates that the microbubbles are bound and constrained by the liquid phase tension, while a change from negative to positive dynamic escape pressure difference indicates that the gas phase expansion pressure physically breaks through the liquid phase binding tension. Calculate the rate of change of the dynamic escape pressure difference at the crossover point with time to obtain the positive gradient; When the positive gradient is greater than the preset barrier threshold, it is determined that a transient violent boiling occurred at the crossing time point. The timestamp of the crossing time point, the magnitude of the positive gradient, and the peak pressure difference at the time of boiling are combined and spliced to construct the boiling trigger feature vector.
[0103] In one embodiment, the splash rate regression prediction module 14 is specifically used for: Historical boiling trigger feature vectors and corresponding historical splash rate data are obtained as training samples to construct an ensemble learning model containing multiple parallel independent sub-regression trees. Each independent sub-regression tree is trained using training samples. Each independent sub-regression tree takes the historical boiling trigger feature vector as input and the corresponding historical true splash rate data as output. Calculate the prediction variance of each independent sub-regression tree on the validation set, normalize the reciprocal of each prediction variance, and obtain the weighted weight of each independent sub-regression tree. By combining all independent sub-regression trees with weighted weights, a splash rate predictor regressor is obtained. The current boiling trigger feature vector is input into the splash rate prediction regressor, and each independent sub-regression tree outputs a splash rate sub-prediction value based on its trained feature partitioning rules. The initial value of the solder paste splatter rate prediction is obtained by weighting and summing all the predicted values of the splatter rate according to the weighted values.
[0104] In one embodiment, the closed-loop correction module 15 is specifically used for: At the exit of the reflow oven, a high-definition visible light image of the surface of the soldered circuit board is acquired by an automatic optical inspection device after the oven. Image semantic segmentation is performed on high-definition visible light images to identify isolated tiny metallic phase pixels outside the preset pad boundaries; The total pixel area of isolated micro-metal phase pixels is statistically analyzed, and the ratio of isolated micro-metal phase pixels to the total pixel area of circuit board pads is calculated as the true spatter rate data for the current batch.
[0105] Calculate the absolute value of the difference between the actual spatter rate data and the initial value of the solder paste spatter rate prediction to obtain the spatter prediction residual; Determine whether the splash prediction residual is greater than the preset closed-loop trigger tolerance threshold; If the splash prediction residual is less than or equal to the closed-loop trigger tolerance threshold, the current dual-stream temporal convolutional network is judged to have good generalization ability and no parameter correction is performed. If the splash prediction residual is greater than the closed-loop trigger tolerance threshold, it is determined that the current equipment operating condition has drifted. The currently extracted real-time operating condition parameter sequence, boiling trigger feature vector, and corresponding real splash rate data are added as incremental samples to the correction buffer pool, and the network correction mechanism is triggered.
[0106] The elastic weight consolidation algorithm is used for network correction; Extract the network weight parameters of the two-stream temporal convolutional network at the current time step as historical anchor point weights; The incremental samples in the correction buffer pool are used as input, and the main optimization objective is to minimize the splash prediction residual. At the same time, a parameter offset penalty term is added to the loss function. The parameter offset penalty term is based on the Euclidean distance between the new weight parameters and the historical anchor weights during the incremental learning process of the two-stream temporal convolutional network, and is calculated by weighting according to the importance of each weight parameter in the historical task. The two-stream temporal convolutional network is corrected by backpropagation updates using a loss function that includes a parameter offset penalty term.
Claims
1. A method for intelligent prediction of solder paste splatter rate based on working condition parameter mapping, characterized in that, include: Obtain the intrinsic physical property parameters and real-time operating condition parameter sequence of solder paste; A dual-stream temporal convolutional network is constructed, which includes a thermodynamic vaporization flow branch and a rheological phase change flow branch. The real-time operating condition parameter sequence and the intrinsic physical property parameters are respectively input into the dual-stream temporal convolutional network, and the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence are output. Calculate the dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence, and extract the physical moment feature when the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold, as the boiling trigger feature vector. The boiling trigger feature vector is input into a pre-constructed splash rate prediction regressor, which outputs an initial value for solder paste splash rate prediction. Obtain the actual splatter rate data, and based on the actual splatter rate data and the initial value of the solder paste splatter rate prediction, correct the dual-stream temporal convolutional network and output the final prediction result.
2. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 1, characterized in that, Obtain the intrinsic physical property parameters and real-time operating condition parameter sequences of the solder paste, including: Obtain the intrinsic physical property parameters of the current batch of solder paste, including the particle size distribution of the alloy powder characterizing the size of the solder paste particles, and the thixotropic index characterizing the relationship between the viscosity of the solder paste and the shear rate. The real-time temperature curve of the reflow oven is collected from the temperature control sensor array of the reflow oven, and the preheating zone temperature rise slope, constant temperature zone holding time and reflow zone peak temperature are extracted from the real-time temperature curve. The ambient temperature and humidity in the workshop are collected synchronously, and the extracted preheating zone temperature rise slope, constant temperature zone heat preservation time, reflux zone peak temperature and ambient temperature and humidity are aligned and spliced on the time axis to construct a real-time operating condition parameter sequence.
3. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 1, characterized in that, A two-stream temporal convolutional network is constructed, comprising a thermodynamic vaporization flow branch and a rheological phase change flow branch, including: A first branch network containing multiple one-dimensional temporal convolutional layers is constructed as the thermodynamic vaporization flow branch, which takes the ambient humidity and the preheating zone temperature rise slope in the real-time temperature curve of the furnace as input. In the mapping process of thermodynamic vaporization flow branch, a vaporization positive correlation physical constraint is set. The vaporization positive correlation physical constraint is that the higher the ambient humidity, the more water the solder paste absorbs, and the greater the temperature rise slope of the preheating zone, the more intense the flux solvent evaporation. Under the physical constraint of positive correlation of vaporization, the thermodynamic vaporization flow branch extracts the temporal characteristics of the rapid vaporization of water and solvent with increasing temperature through the multi-layer one-dimensional temporal convolution layer, and outputs the microscopic gas phase expansion pressure sequence characterizing the outward displacement of liquid tin film. Using the historical operating condition parameter sequence as training input and the historical gas phase expansion pressure sequence obtained by back-reaming through a preset physical inversion model based on historical splash rate data and historical operating condition parameters as supervision target, the first branch network is trained to obtain the thermodynamic vaporization flow branch.
4. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 3, characterized in that, Construct a two-stream temporal convolutional network, which includes a thermodynamic vaporization flow branch and a rheological phase change flow branch, and further includes: A second branch network containing multiple one-dimensional temporal convolutional layers is constructed as a rheological phase transformation branch. The rheological phase transformation branch takes the alloy powder particle size distribution, thixotropic index and real-time furnace temperature curve as inputs, and embeds prior constraint relationships based on the physical model of the Laplace equation. The prior constraint relationship defines that the liquid phase surface tension is positively correlated with the liquid phase surface tension coefficient when the solder paste is molten, and negatively correlated with the average powder radius in the alloy powder particle size distribution. At the same time, it is defined that the liquid phase surface tension coefficient decreases monotonically as the real-time temperature curve of the reflow oven increases. Under the constraints of the priori relationship, the rheological phase-change branch extracts the coalescence resistance characteristics of alloy powder when it melts into droplets above the liquidus temperature, and outputs a sequence of liquid phase surface tension and additional pressure characterizing the inwardly encapsulated bubbles. Using historical intrinsic physical property parameters and historical real-time temperature curves of furnace passage as training inputs, and using the historical liquid phase surface tension and additional pressure sequence obtained by back-reaming through a preset physical inversion model based on historical splash rate data, historical intrinsic physical property parameters, and historical real-time temperature curves of furnace passage as the supervision target, the second branch network is trained to obtain the rheological phase change branch.
5. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 1, characterized in that, Calculate the dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence, and extract the physical moment feature where the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold, including: At each corresponding time point, the current pressure value of the microscopic gas phase expansion pressure sequence is subtracted from the current pressure value of the liquid phase surface tension additional pressure sequence to obtain the dynamic escape pressure difference sequence. Traversing the dynamic escape pressure difference sequence, the point at which the dynamic escape pressure difference changes from negative to positive is located. A negative dynamic escape pressure difference indicates that the microbubbles are wrapped and constrained by the liquid phase tension, and a change from negative to positive dynamic escape pressure difference indicates that the gas phase expansion pressure physically breaks through the liquid phase encapsulation tension. Calculate the rate of change of the dynamic escape pressure difference at the crossover point with time to obtain the positive gradient; When the positive gradient is greater than the preset barrier threshold, it is determined that a transient violent boiling occurred at the crossing time point. The timestamp of the crossing time point, the magnitude of the positive gradient, and the peak pressure difference at the time of boiling are combined and spliced to construct the boiling trigger feature vector.
6. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 1, characterized in that, The boiling trigger feature vector is input into a pre-constructed splatter rate prediction regressor, which outputs an initial value for the solder paste splatter rate prediction, including: Historical boiling trigger feature vectors and corresponding historical splash rate data are obtained as training samples to construct an ensemble learning model containing multiple parallel independent sub-regression trees. Each independent sub-regression tree is trained using training samples. Each independent sub-regression tree takes the historical boiling trigger feature vector as input and the corresponding historical true splash rate data as output. Calculate the prediction variance of each independent sub-regression tree on the validation set, normalize the inverse of each prediction variance, and obtain the weighted weight of each independent sub-regression tree. By combining all independent sub-regression trees with weighted weights, a splash rate predictor regressor is obtained. The current boiling trigger feature vector is input into the splash rate prediction regressor, and each independent sub-regression tree outputs a splash rate sub-prediction value based on its trained feature partitioning rules. The initial value of the solder paste splatter rate prediction is obtained by weighting and summing all the predicted values of the splatter rate according to the weighted values.
7. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 1, characterized in that, To obtain actual splash rate data, including: At the exit of the reflow oven, a high-definition visible light image of the surface of the soldered circuit board is acquired by an automatic optical inspection device after the oven. Image semantic segmentation is performed on the high-definition visible light image to identify isolated tiny metallic phase pixels outside the preset pad boundary; The total pixel area of the isolated micro-metal phase pixels is statistically analyzed, and the ratio of the isolated micro-metal phase pixels to the total pixel area of the circuit board pads is calculated as the true spatter rate data for the current batch.
8. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 1, characterized in that, Based on the actual splatter rate data and the initial predicted solder paste splatter rate, the dual-stream temporal convolutional network is corrected, including: Calculate the absolute value of the difference between the actual splatter rate data and the initial value of the solder paste splatter rate prediction to obtain the splatter prediction residual; Determine whether the splash prediction residual is greater than a preset closed-loop trigger tolerance threshold; If the splash prediction residual is less than or equal to the closed-loop trigger tolerance threshold, the current dual-stream temporal convolutional network is determined to have good generalization ability, and no parameter correction is performed. If the splash prediction residual is greater than the closed-loop trigger tolerance threshold, it is determined that the current equipment operating condition has drifted. The currently extracted real-time operating condition parameter sequence, boiling trigger feature vector, and corresponding real splash rate data are added as incremental samples to the correction buffer pool, and the network correction mechanism is triggered.
9. The intelligent prediction method for solder paste splatter rate based on working condition parameter mapping according to claim 8, characterized in that, Triggering network correction mechanisms includes: The elastic weight consolidation algorithm is used for network correction; Extract the network weight parameters of the dual-stream temporal convolutional network at the current time as historical anchor point weights; The incremental samples in the correction buffer pool are used as input, and the main optimization objective is to minimize the splash prediction residual. At the same time, a parameter offset penalty term is added to the loss function. The parameter offset penalty term is based on the Euclidean distance between the new weight parameters of the two-stream temporal convolutional network during the incremental learning process and the historical anchor weights, and is calculated by weighting according to the importance of each weight parameter in the historical task. The two-stream temporal convolutional network is corrected by backpropagation updating the loss function, which includes the parameter offset penalty term.
10. A smart prediction system for solder paste splatter rate based on working condition parameter mapping, characterized in that, The method for intelligent prediction of solder paste splatter rate based on working condition parameter mapping as described in any one of claims 1 to 9 includes: The parameter acquisition module is used to acquire the intrinsic physical property parameters and real-time operating condition parameter sequences of solder paste; A dual-stream temporal convolution prediction module is used to construct a dual-stream temporal convolutional network. The dual-stream temporal convolutional network includes a thermodynamic vaporization flow branch and a rheological phase change flow branch. The real-time operating condition parameter sequence and the intrinsic physical property parameters are respectively input into the dual-stream temporal convolutional network, and the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence are output. The boiling trigger feature extraction module is used to calculate the dynamic escape pressure difference between the microscopic gas phase expansion pressure sequence and the liquid phase surface tension additional pressure sequence, and extract the physical moment feature when the pressure difference value changes from negative to positive and the positive gradient exceeds the potential barrier threshold, as the boiling trigger feature vector. The splash rate regression prediction module is used to input the boiling trigger feature vector into the pre-constructed splash rate prediction regressor and output the initial value of the solder paste splash rate prediction. The closed-loop correction module is used to acquire the actual splatter rate data, correct the dual-stream temporal convolutional network based on the actual splatter rate data and the initial value of the solder paste splatter rate prediction, and output the final prediction result.
