Multi-temperature zone reflow soldering temperature adjustment method and medium based on deep learning
Through deep learning technology, local features of multi-temperature zone reflow soldering temperatures are extracted and dynamically weighted to generate a temperature control scheme, which solves the problem of low efficiency in multi-temperature zone reflow soldering temperature adjustment and achieves precise control of soldering temperature and improved efficiency.
Patent Information
- Application Number
- CN202410923506.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The temperature adjustment efficiency of multi-temperature zone reflow soldering is low, resulting in welding quality problems and energy waste.
Using a method based on deep learning, the local features of the temperature time series are extracted through multi-layer convolution layers, using residual connections and batch normalization processing, combined with the pooling layer and time window to extract dimensionality reduction features, and perform dynamic weighting to generate Temperature prediction value and temperature control plan to achieve temperature adjustment.
It improves the efficiency and accuracy of temperature adjustment, ensures that the soldering temperature is within the appropriate range, solves the problem of low temperature adjustment efficiency, and achieves precise control of the reflow oven temperature.
Smart Images

Figure CN118492544B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a multi-temperature zone reflow soldering temperature adjustment method and medium based on deep learning. Background Art
[0002] Temperature regulation of multi-temperature zone reflow soldering is essential in modern electronic manufacturing. It not only ensures soldering quality and stability, improves production efficiency, but also saves energy and adapts to complex circuit board structures. It is one of the important technical means in the electronic manufacturing process.
[0003] Different electronic components have different temperature sensitivities to reflow soldering. Some components are sensitive to high temperatures, while others are insensitive to temperature changes. Through multi-temperature zone control, the temperature of each zone can be adjusted to ensure that each component is within the most suitable soldering temperature range, thereby avoiding quality problems caused by too high or too low soldering temperatures, such as cold solder joints, poor solder fusion, etc. However, the complexity of setting process parameters and the diversity of board selection lead to low temperature regulation efficiency in multi-temperature zone reflow soldering. Summary of the invention
[0004] The present invention provides a multi-temperature zone reflow soldering temperature regulation method and medium based on deep learning, the main purpose of which is to solve the problem of low temperature regulation efficiency of multi-temperature zone reflow soldering.
[0005] To achieve the above object, the present invention provides a multi-temperature zone reflow soldering temperature adjustment method based on deep learning, comprising:
[0006] Collecting temperature data of multiple temperature zones of a reflow oven, and generating multiple temperature time series of the reflow oven according to the temperature data;
[0007] Extracting local temperature features of the temperature time series one by one using multiple convolutional layers in a pre-trained temperature regulation model;
[0008] The local temperature features are subjected to jump connection processing by using a preset residual connection algorithm, and the local temperature features after the jump connection processing are subjected to batch normalization processing to obtain the primary temperature features of the reflow oven, wherein the preset residual connection algorithm is: in, is the local temperature feature after skip connection processing, is the temperature time series, is the total number of convolutional layers, It is Convolution operation of convolutional layers;
[0009] Down-sampling the primary temperature feature by using the pooling layer in the temperature regulation model to obtain a reduced-dimensional feature of the reflow oven;
[0010] Extracting key features from the dimensionality reduction features using a preset time window, and dynamically weighting the dimensionality reduction features according to the key features;
[0011] A temperature prediction value of the reflow oven is generated according to the dynamically weighted dimensionality reduction features, a temperature control scheme of the reflow oven is generated according to the temperature prediction value, and the temperature control scheme is used to adjust the temperature of the reflow oven.
[0012] Optionally, the temperature data includes a set temperature, an actual temperature and an ambient temperature of each temperature zone.
[0013] Optionally, generating a plurality of temperature time series of the reflow oven according to the temperature data comprises:
[0014] Determining a time tag corresponding to the temperature data;
[0015] The temperature data of each temperature zone is sorted according to the time label to obtain a plurality of temperature time series of the reflow oven.
[0016] Optionally, the extracting local temperature features of the temperature time series one by one using multiple convolutional layers in a pre-trained temperature regulation model includes:
[0017] The temperature time series is input into a pre-trained temperature regulation model, and the convolution layer in the temperature regulation model performs layer-by-layer feature extraction on the temperature time series to obtain a temperature curve and a temperature rise rate of the temperature time series;
[0018] The temperature curve and the temperature rise rate are determined as local temperature characteristics of the temperature time series.
[0019] Optionally, the batch normalization processing is performed on the local temperature features after the jump connection processing to obtain the primary temperature features of the reflow oven, including:
[0020] Calculating the mean and standard deviation of the local temperature features after the jump connection processing;
[0021] Performing zero-meaning on each local temperature feature after skip connection processing to obtain a zero-meaning feature of the local temperature feature after skip connection processing;
[0022] The standard deviation is divided by the zero-mean feature to obtain a normalized feature of the local temperature feature after the jump connection processing, and the normalized feature is determined to be a primary temperature feature of the reflow oven.
[0023] Optionally, downsampling the primary temperature feature by using a pooling layer in the temperature adjustment model to obtain a dimension reduction feature of the reflow oven includes:
[0024] Determining a pooling window of a pooling layer in the temperature regulation model;
[0025] Selecting the maximum characteristic value of the primary temperature characteristics in the pooling window one by one as the output of the pooling window;
[0026] The dimension reduction feature of the reflow oven is determined according to the output of the pooling window.
[0027] Optionally, downsampling the primary temperature feature by using a pooling layer in the temperature adjustment model to obtain a dimension reduction feature of the reflow oven includes:
[0028] Determining a pooling window of a pooling layer in the temperature regulation model;
[0029] Calculating average characteristic values of the primary temperature characteristics within the pooling window one by one, and determining the average characteristic value as an output of the pooling window;
[0030] The dimension reduction feature of the reflow oven is determined according to the output of the pooling window.
[0031] Optionally, before dynamically weighting the dimension reduction features according to the key features, the method further includes:
[0032] The feature weight of the key feature is generated using a preset weight algorithm, wherein the preset weight algorithm is: in, It is The feature weights of the key features, is the normalization factor, It is The vector representation of the key features is is the Euclidean distance, is the feature vector of the center point of the preset time window, is the standard deviation, which controls the smoothness of the weight distribution.
[0033] Optionally, the extracting key features from the dimensionality reduction features using a preset time window includes:
[0034] Determining the sliding step size of the preset time window;
[0035] Performing subsequence selection on the dimension reduction feature according to the sliding step size and the preset time window;
[0036] Extracting phase transition points in the selected subsequence, and generating key features in the dimensionality reduction features according to the phase transition points.
[0037] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned multi-temperature zone reflow soldering temperature adjustment method based on deep learning.
[0038] The embodiment of the present invention extracts local temperature features of the temperature time series one by one through multiple convolutional layers, which can effectively capture local patterns and trends in temperature data, improve the sensitivity of the model to temperature changes, and thus more accurately predict temperature changes. The local temperature features are processed by skip connections using a preset residual connection algorithm, which can solve the problems of gradient vanishing and gradient explosion and improve the training stability of the model. At the same time, the skip connection can fuse shallow features with deep features to improve the expression ability of the model. The distribution of input data in each layer will change with the update of the parameters of the previous layer, which makes the training of the network complicated and unstable. Batch normalization converts the input of each layer into It is transformed into a standard normal distribution with a mean of 0 and a variance of 1, thereby stabilizing the distribution of input data, extracting key features from the dimensionality reduction features through a preset time window, and dynamically weighting the dimensionality reduction features according to the key features, so that the model can pay more attention to the features that have a greater impact on temperature regulation, thereby improving the efficiency and accuracy of temperature regulation, and then generating a temperature prediction value of the reflow soldering furnace according to the dynamically weighted dimensionality reduction features, and generating a temperature control scheme based on the predicted value, and finally using the scheme to perform temperature regulation on the reflow soldering rate, thereby achieving precise control of the temperature of the reflow soldering furnace. Therefore, the multi-temperature zone reflow soldering temperature regulation method and medium based on deep learning proposed in the present invention can solve the problem of low temperature regulation efficiency of multi-temperature zone reflow soldering. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic flow chart of a multi-temperature zone reflow soldering temperature adjustment method based on deep learning provided in one embodiment of the present invention.
[0040] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0042] The embodiment of the present application provides a multi-temperature zone reflow soldering temperature adjustment method based on deep learning. The execution subject of the multi-temperature zone reflow soldering temperature adjustment method based on deep learning includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the multi-temperature zone reflow soldering temperature adjustment method based on deep learning can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0043] Reference Figure 1 FIG. 1 is a flow chart of a multi-temperature zone reflow soldering temperature adjustment method based on deep learning provided by an embodiment of the present invention. In this embodiment, the multi-temperature zone reflow soldering temperature adjustment method based on deep learning includes:
[0044] S1. Collecting temperature data of multiple temperature zones of a reflow oven, and generating multiple temperature time series of the reflow oven according to the temperature data.
[0045] In an embodiment of the present invention, the temperature data of multiple temperature zones of the reflow soldering furnace are collected, including: collecting set temperature data of each temperature zone, the set temperature refers to the target temperature preset for each temperature zone of the reflow soldering furnace, and these data are usually set by the welding process requirements or the operator based on experience; real-time monitoring and recording the actual temperature of each temperature zone, the actual temperature refers to the temperature value measured in real time by the temperature sensor deployed in the temperature zone, and these data reflect the current real temperature state of the temperature zone; collecting ambient temperature data of the environment in which the reflow soldering furnace is located, the ambient temperature may affect the thermal efficiency and temperature stability of the reflow soldering furnace, and is therefore also an important parameter.
[0046] In detail, the temperature data includes a set temperature, an actual temperature and an ambient temperature of each temperature zone.
[0047] Furthermore, all collected temperature data (set temperature, actual temperature, and ambient temperature) need to be accurately recorded and associated with specific time points, which ensures that the time series can be accurately corresponded in subsequent temperature analysis and model training, as well as time alignment of the data when necessary.
[0048] In an embodiment of the present invention, generating a plurality of temperature time series of the reflow oven according to the temperature data includes:
[0049] Determining a time tag corresponding to the temperature data;
[0050] The temperature data of each temperature zone is sorted according to the time label to obtain a plurality of temperature time series of the reflow oven.
[0051] In an embodiment of the present invention, each temperature data point (including set temperature, actual temperature and ambient temperature) should be associated with a specific time point, which is usually automatically generated by the data acquisition system when recording data, ensuring that the time sequence of the data can be accurately tracked.
[0052] In detail, by using time tags, the temperature data of each temperature zone can be sorted, which means that the data points are arranged according to the time order in which they occur, thus forming a continuous time series.
[0053] In detail, after sorting the data of each temperature zone separately, a single temperature time series of the temperature zone is obtained. Since the reflow oven may have multiple temperature zones, multiple such time series will eventually be obtained, and each series corresponds to the temperature change of a temperature zone.
[0054] S2. Utilize the multi-layer convolutional layers in the pre-trained temperature regulation model to extract the local temperature features of the temperature time series one by one.
[0055] In an embodiment of the present invention, the method of extracting local temperature features of the temperature time series one by one using multiple convolutional layers in a pre-trained temperature regulation model includes:
[0056] The temperature time series is input into a pre-trained temperature regulation model, and the convolution layer in the temperature regulation model performs layer-by-layer feature extraction on the temperature time series to obtain a temperature curve and a temperature rise rate of the temperature time series;
[0057] The temperature curve and the temperature rise rate are determined as local temperature characteristics of the temperature time series.
[0058] In detail, the model extracts local temperature features one by one when passing through the convolutional layers. Each convolutional layer is able to identify and learn specific patterns or trends in time series data. For example, the first layer may identify short-term temperature fluctuations, while deeper convolutional layers may identify longer-term temperature trends.
[0059] That is, the collected and preprocessed temperature time series data are input into the pre-trained temperature control model. These data include the set temperature, actual temperature and ambient temperature of each temperature zone, and have been arranged in chronological order to form a time series.
[0060] Furthermore, the multi-layer convolutional layers in the temperature regulation model perform layer-by-layer feature extraction on the input temperature time series, and each convolutional layer can capture the temperature change pattern on different time scales.
[0061] For example: The initial convolutional layers of the model usually identify temperature fluctuations within a shorter time range. These layers can capture rapid changes or short-term fluctuations in the temperature of a temperature zone, such as temperature changes caused by turning on, off, or adjusting the power of the device; as the convolutional layers deepen, deeper networks begin to identify temperature trends over longer time series. These layers can learn long-term changes in the temperature of a temperature zone, such as gradual temperature increases or decreases due to continuous operation of the device.
[0062] In detail, through convolution layer processing, the model extracts specific local temperature features from the temperature time series, mainly including temperature curve and temperature rise rate. Among them, the temperature curve reflects the temperature change path of the temperature zone during the observation period, and can show the dynamic change of temperature over time. The temperature rise rate refers to the rate of temperature change, that is, the amplitude of temperature rise per unit time, which is crucial for mastering the thermal response characteristics of the temperature zone.
[0063] Furthermore, the temperature curve and temperature rise rate obtained through the convolution layer processing are determined as the local temperature characteristics of the temperature time series. These characteristics are the basis for subsequent processing and analysis and can be used for temperature prediction and regulation of the temperature zone.
[0064] S3. Performing jump connection processing on the local temperature features using a preset residual connection algorithm, and performing batch normalization processing on the local temperature features after the jump connection processing to obtain the primary temperature features of the reflow oven.
[0065] In an embodiment of the present invention, the jump connection processing of the local temperature feature using a preset residual connection algorithm includes: determining the structure of the residual connection, which usually includes one or more convolutional layers (for feature extraction) and a jump connection (for adding the original input to the convolution output).
[0066] Furthermore, the temperature time series is input into the first convolutional layer, which extracts features from the temperature time series and learns local temperature change patterns. Then, the output of the first convolutional layer is passed to subsequent convolutional layers, which continue to perform in-depth feature extraction on the temperature time series and capture more complex temperature change patterns.
[0067] Furthermore, in each residual block, the original temperature time series (input x) is added to the output of the last convolutional layer. This is achieved through a skip connection, which adds the input directly to the output of the convolutional layer to form a residual connection.
[0068] Wherein, the preset residual connection algorithm is: in, is the local temperature feature after skip connection processing, is the temperature time series, is the total number of convolutional layers, It is The convolution operation of the convolutional layer.
[0069] In detail, enter First pass the first convolutional layer ,get , then, the original input Add to On, form ,then, The result is then passed through the second convolutional layer ,get , similarly, Add to this result, we get , this pattern continues until the last convolutional layer , each layer adds the output and input of the previous layer to form a composite feature representation. Finally, The output of the layer is similar to the original input Add together to form the final output .
[0070] In detail, by directly adding the input to the output of each intermediate layer, the model can backpropagate gradients more effectively, thereby alleviating the gradient vanishing problem. Each convolutional layer not only learns new features, but also enhances the reusability and diversity of features by adding the features of the previous layer. By learning the residual mapping between input and output instead of directly learning the output, the model can more easily capture complex data relationships.
[0071] In the embodiment of the present invention, the batch normalization processing is performed on the local temperature features after the jump connection processing to obtain the primary temperature features of the reflow oven, including:
[0072] Calculating the mean and standard deviation of the local temperature features after the jump connection processing;
[0073] Performing zero-meaning on each local temperature feature after skip connection processing to obtain a zero-meaning feature of the local temperature feature after skip connection processing;
[0074] The standard deviation is divided by the zero-mean feature to obtain a normalized feature of the local temperature feature after the jump connection processing, and the normalized feature is determined to be a primary temperature feature of the reflow oven.
[0075] In detail, for the local temperature features in each batch, the mean and standard deviation are calculated. These statistics are the key parameters for subsequent normalization. Next, the mean of each local temperature feature is subtracted to make the mean of the feature zero. This step is called zero-meaning. Its purpose is to eliminate the offset between features and ensure that the data is concentrated near zero, which helps the stability of model training.
[0076] Furthermore, the calculated standard deviation (i.e., the square root of the variance) is used to normalize the zero-mean features. By dividing the features by the standard deviation, the variance of the features is made one. This ensures that different features are processed at the same scale, thereby improving the convergence speed and performance of the model.
[0077] In other words, the above steps are combined and applied to the local temperature features after skip connection processing to perform batch normalization. This process can be expressed as: in, It is A local temperature characteristic, is the mean of the batch features, is the standard deviation, is the normalized feature.
[0078] S4. Down-sample the primary temperature feature using the pooling layer in the temperature adjustment model to obtain a dimension reduction feature of the reflow oven.
[0079] In the embodiment of the present invention, downsampling the primary temperature feature by using the pooling layer in the temperature adjustment model to obtain the dimension reduction feature of the reflow oven includes:
[0080] Determining a pooling window of a pooling layer in the temperature regulation model;
[0081] Selecting the maximum characteristic value of the primary temperature characteristics in the pooling window one by one as the output of the pooling window;
[0082] The dimension reduction feature of the reflow oven is determined according to the output of the pooling window.
[0083] In detail, max pooling is selected as the pooling method. Max pooling is a common pooling method that selects the largest eigenvalue from each pooling window as the output of the window.
[0084] Next, determine the size and stride of the pooling window. For example, you can choose a 2x2 window with a stride of 2. These parameters determine the size of the feature map after the pooling operation.
[0085] Then, a maximum pooling operation is applied to the primary temperature features. Within each pooling window, the largest eigenvalue is selected as the output of that window. This process is accomplished by sliding non-overlapping windows (controlled by the stride) over the feature map.
[0086] Finally, the results of the above pooling operations are combined to form a feature map after dimensionality reduction. These dimensionality reduction features retain the main information of the primary temperature features while reducing the dimension and computation of the data.
[0087] In the embodiment of the present invention, downsampling the primary temperature feature by using the pooling layer in the temperature adjustment model to obtain the dimension reduction feature of the reflow oven includes:
[0088] Determining a pooling window of a pooling layer in the temperature regulation model;
[0089] Calculating average characteristic values of the primary temperature characteristics within the pooling window one by one, and determining the average characteristic value as an output of the pooling window;
[0090] The dimension reduction feature of the reflow oven is determined according to the output of the pooling window.
[0091] In detail, average pooling calculates the average of all values within each pooling window as the output of that window.
[0092] Likewise, you need to decide on the size and stride of your pooling window. For example, choosing a 3x3 window with a stride of 1 will create some overlap during the pooling process and potentially preserve more information.
[0093] In detail, an average pooling operation is applied to the primary temperature features. Within each pooling window, the average value of all feature values is calculated as the output of the window. The results of the above pooling operations are combined to form a feature map after dimensionality reduction. These dimensionality reduction features are smoothed by average pooling, reducing the impact of outliers.
[0094] In general, maximum pooling provides a form of abstraction that can highlight the most significant features in a local area, which is particularly useful for identifying temperature mutations or peaks; average pooling provides a smoothing effect that can reduce noise in the data and is more suitable for temperature trend analysis.
[0095] In detail, according to the temperature data characteristics and monitoring requirements of the reflow oven, a suitable pooling method can be selected. For example, if a rapid response to a sharp change in temperature is required, maximum pooling may be a better choice; while if the temperature change needs to be smoothed to observe the long-term trend, average pooling may be more appropriate.
[0096] S5. Extract key features from the dimensionality reduction features using a preset time window, and dynamically weight the dimensionality reduction features according to the key features.
[0097] In an embodiment of the present invention, the extracting key features from the dimensionality reduction features using a preset time window includes:
[0098] Determining the sliding step size of the preset time window;
[0099] Performing subsequence selection on the dimension reduction feature according to the sliding step size and the preset time window;
[0100] Extracting phase transition points in the selected subsequence, and generating key features in the dimensionality reduction features according to the phase transition points.
[0101] In detail, during the reflow process, there may be certain critical time points, such as the moment when the temperature zone setting is changed, or the specific stage transition points in the soldering process. The temperature changes at these time points may have a significant impact on the quality of the entire soldering process. The attention mechanism can identify these critical moments and give them higher weights, thereby giving more importance to the data at these moments when predicting temperature.
[0102] In detail, suppose that in a certain reflow process, there is a temperature zone that gradually increases the temperature within the first 30 minutes of the process, and then there is a short temperature peak at the 35th minute, after which the temperature remains stable. In this case, the peak at the 35th minute may be critical to the entire soldering process because it may be a key process parameter switching point.
[0103] In other words, the use of a preset time window to extract key features from the dimensionality reduction features includes: determining a sliding step size of the preset time window, which determines the distance that the time window moves on the time series data, and the selection of the step size needs to be set according to the actual temperature change characteristics and the reflow soldering process requirements; next, selecting subsequences of the dimensionality reduction features according to the sliding step size and the preset time window, which means sliding the time window along the time series data according to a determined step size, and after each slide, extracting a subsequence from the data range covered by the current window; for each selected subsequence, analyzing its temperature change trend to identify possible stage transition points, for example, in the example mentioned above, the temperature peak at the 35th minute may be a key stage transition point; using these stage transition points as key features and extracting them from the dimensionality reduction features, these key features represent important temperature change moments in the reflow soldering process and may have a significant impact on the welding quality.
[0104] Furthermore, in the deep learning model, the attention mechanism can be used to further enhance the importance of these key features. The attention mechanism can automatically learn the importance of temperature data at different times and give higher weights to key moments.
[0105] In the embodiment of the present invention, before dynamically weighting the dimension reduction feature according to the key feature, the method further includes:
[0106] The feature weight of the key feature is generated using a preset weight algorithm, wherein the preset weight algorithm is: in, It is The feature weights of the key features, is the normalization factor, It is The vector representation of the key features is is the Euclidean distance, is the feature vector of the center point of the preset time window, is the standard deviation, which controls the smoothness of the weight distribution.
[0107] Specifically, the preset weight algorithm is to first calculate each key feature vector The feature vector with the center point of the time window The Euclidean distance between them is then applied to the Gaussian kernel function. , which gives higher weights to features close to the center point because they are considered more important. Then, by the normalization factor The weights are normalized to ensure that the sum of all weights is 1, making it a valid probability distribution.
[0108] In detail, the attention mechanism is implemented by dynamically calculating a weight for each time point in the time series, which is calculated based on the hidden state of the model and the input of the current time point. Time points with large weights indicate that the model believes that the information at these points is more important for the current prediction task.
[0109] Furthermore, during the reflow process, there may be certain critical time points, such as when the temperature zone settings are changed, or when specific phase transitions occur during the soldering process. The temperature changes at these time points may have a significant impact on the quality of the entire soldering process. The attention mechanism can identify these critical moments and assign them higher weights, thereby placing more emphasis on the data at these moments during temperature prediction.
[0110] In detail, the primary temperature features are dynamically weighted, which may involve weighting different features differently according to the importance of real-time data to ensure that the model can flexibly adapt to different welding conditions and environmental changes.
[0111] S6. Generate a temperature prediction value of the reflow oven according to the dynamically weighted dimensionality reduction features, generate a temperature control scheme of the reflow oven according to the temperature prediction value, and use the temperature control scheme to adjust the temperature of the reflow oven.
[0112] In an embodiment of the present invention, the weighted features are fused to form a comprehensive feature representation, which contains all the key information extracted from the original temperature time series, and the fused features are then used to generate temperature prediction values, which usually involves mapping the features to the prediction space through a fully connected layer to obtain continuous or discrete temperature prediction values.
[0113] In an embodiment of the present invention, the temperature control scheme of the reflow oven is generated according to the temperature prediction value, including: considering other parameters related to temperature regulation, such as welding speed, PCB type and solder used, etc., which will affect the specific needs and strategies of temperature regulation, and designing a comprehensive temperature control scheme based on the temperature prediction value and the above parameters, including: setting a target temperature curve, adjusting heating and cooling rates, and optimizing the overall time schedule of the welding process, and optimizing the designed temperature control scheme through simulation and historical data comparison to ensure that it can achieve the expected welding quality and efficiency in actual applications.
[0114] In an embodiment of the present invention, the temperature control scheme is used to adjust the reflow rate, including: applying the designed temperature control scheme to the temperature control system of the reflow oven, adjusting relevant hardware settings (such as heater power, conveyor belt speed, etc.), and monitoring temperature changes in real time during the welding process to ensure that the actual temperature closely follows the set temperature curve.
[0115] The embodiment of the present invention extracts local temperature features of the temperature time series one by one through multiple convolutional layers, which can effectively capture local patterns and trends in temperature data, improve the sensitivity of the model to temperature changes, and thus more accurately predict temperature changes. The local temperature features are processed by skip connections using a preset residual connection algorithm, which can solve the problems of gradient vanishing and gradient explosion and improve the training stability of the model. At the same time, the skip connection can fuse shallow features with deep features to improve the expression ability of the model. The distribution of input data in each layer will change with the update of the parameters of the previous layer, which makes the training of the network complicated and unstable. Batch normalization normalizes the input of each layer. It is converted into a standard normal distribution with a mean of 0 and a variance of 1, thereby stabilizing the distribution of the input data. The key features in the dimensionality reduction features are extracted through a preset time window, and the dimensionality reduction features are dynamically weighted according to the key features. The model can pay more attention to the features that have a greater impact on temperature regulation, thereby improving the efficiency and accuracy of temperature regulation. The temperature prediction value of the reflow soldering furnace is generated according to the dynamically weighted dimensionality reduction features, and a temperature control scheme is generated according to the predicted value. Finally, the reflow soldering rate is temperature-regulated by the scheme, thereby achieving precise control of the temperature of the reflow soldering furnace. Therefore, the multi-temperature zone reflow soldering temperature regulation method based on deep learning proposed in the present invention can solve the problem of low temperature regulation efficiency of multi-temperature zone reflow soldering.
[0116] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0117] Collecting temperature data of multiple temperature zones of a reflow oven, and generating multiple temperature time series of the reflow oven according to the temperature data;
[0118] Extracting local temperature features of the temperature time series one by one using multiple convolutional layers in a pre-trained temperature regulation model;
[0119] The local temperature features are subjected to jump connection processing by using a preset residual connection algorithm, and the local temperature features after the jump connection processing are subjected to batch normalization processing to obtain the primary temperature features of the reflow oven, wherein the preset residual connection algorithm is: in, is the local temperature feature after skip connection processing, is the temperature time series, is the total number of convolutional layers, It is Convolution operation of convolutional layers;
[0120] Down-sampling the primary temperature feature by using the pooling layer in the temperature regulation model to obtain a reduced-dimensional feature of the reflow oven;
[0121] Extracting key features from the dimensionality reduction features using a preset time window, and dynamically weighting the dimensionality reduction features according to the key features;
[0122] A temperature prediction value of the reflow oven is generated according to the dynamically weighted dimensionality reduction features, a temperature control scheme of the reflow oven is generated according to the temperature prediction value, and the temperature control scheme is used to adjust the temperature of the reflow oven.
[0123] In several embodiments provided by the present invention, it should be understood that the disclosed method can be implemented in other ways.
[0124] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0125] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0126] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A multi-temperature zone reflow soldering temperature adjustment method based on deep learning, characterized in that: The method comprises: Collecting temperature data of multiple temperature zones of a reflow oven, and generating multiple temperature time series of the reflow oven according to the temperature data; Extracting local temperature features of the temperature time series one by one using multiple convolutional layers in a pre-trained temperature regulation model; The local temperature feature is subjected to jump connection processing by using a preset residual connection algorithm, the mean and standard deviation of the local temperature feature after the jump connection processing are calculated, each local temperature feature after the jump connection processing is subjected to zero mean, and the zero mean feature of the local temperature feature after the jump connection processing is obtained, and the standard deviation is divided by the zero mean feature to obtain the normalized feature of the local temperature feature after the jump connection processing, and the normalized feature is determined to be the primary temperature feature of the reflow oven, wherein the preset residual connection algorithm is: in, is the local temperature feature after skip connection processing, is the temperature time series, is the total number of convolutional layers, It is Convolution operation of convolutional layers; Down-sampling the primary temperature feature by using the pooling layer in the temperature regulation model to obtain a reduced-dimensional feature of the reflow oven; Extracting key features from the dimensionality reduction features using a preset time window, and dynamically weighting the dimensionality reduction features according to the key features; A temperature prediction value of the reflow oven is generated according to the dynamically weighted dimensionality reduction features, a temperature control scheme of the reflow oven is generated according to the temperature prediction value, and the temperature control scheme is used to adjust the temperature of the reflow oven.
2. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning as claimed in claim 1, characterized in that: The temperature data includes the set temperature, actual temperature and ambient temperature of each temperature zone.
3. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning as claimed in claim 1, characterized in that: The step of generating a plurality of temperature time series of the reflow oven according to the temperature data comprises: Determining a time tag corresponding to the temperature data; The temperature data of each temperature zone is sorted according to the time label to obtain a plurality of temperature time series of the reflow oven.
4. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning as claimed in claim 1, characterized in that: The method of extracting local temperature features of the temperature time series one by one using the multi-layer convolutional layers in the pre-trained temperature regulation model includes: The temperature time series is input into a pre-trained temperature regulation model, and the convolution layer in the temperature regulation model performs layer-by-layer feature extraction on the temperature time series to obtain a temperature curve and a temperature rise rate of the temperature time series; The temperature curve and the temperature rise rate are determined as local temperature characteristics of the temperature time series.
5. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning as claimed in claim 1, characterized in that: The method of downsampling the primary temperature feature by using the pooling layer in the temperature adjustment model to obtain the dimension reduction feature of the reflow oven includes: Determining a pooling window of a pooling layer in the temperature regulation model; Selecting the maximum characteristic value of the primary temperature characteristics in the pooling window one by one as the output of the pooling window; The dimension reduction feature of the reflow oven is determined according to the output of the pooling window.
6. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning as claimed in claim 1, characterized in that: The method of downsampling the primary temperature feature by using the pooling layer in the temperature adjustment model to obtain the dimension reduction feature of the reflow oven includes: Determining a pooling window of a pooling layer in the temperature regulation model; Calculating average characteristic values of the primary temperature characteristics within the pooling window one by one, and determining the average characteristic value as an output of the pooling window; The dimension reduction feature of the reflow oven is determined according to the output of the pooling window.
7. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning as claimed in claim 1, characterized in that: Before dynamically weighting the dimension reduction features according to the key features, the method further includes: The feature weight of the key feature is generated using a preset weight algorithm, wherein the preset weight algorithm is: in, It is The feature weights of the key features, is the normalization factor, It is The vector representation of the key features is is the Euclidean distance, is the feature vector of the center point of the preset time window, is the standard deviation, which controls the smoothness of the weight distribution.
8. The multi-temperature zone reflow soldering temperature adjustment method based on deep learning according to any one of claims 1 to 7, characterized in that: The extracting key features from the dimensionality reduction features using a preset time window includes: Determining the sliding step size of the preset time window; Performing subsequence selection on the dimension reduction feature according to the sliding step size and the preset time window; Extracting phase transition points in the selected subsequence, and generating key features in the dimensionality reduction features according to the phase transition points.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the multi-temperature zone reflow soldering temperature adjustment method based on deep learning as described in any one of claims 1 to 8 is implemented.
