Method for Filling Missing Temperature Values ​​in Molds for Casting Integrated Aluminum Alloy Structural Components

Through the pre-trained mold temperature missing value filling model, using noisy data segmentation and attention calculation, the problem of filling the mold temperature missing value in the casting of aluminum alloy structural parts is solved, and the efficiency and reliability of casting quality management are achieved.

CN118278290BActive Publication Date: 2024-09-24ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410700098.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

In the casting process of integrated aluminum alloy structural parts, the missing value of the mold temperature seriously affects the efficiency of casting quality management. The existing filling model faces challenges such as invalid data, inconsistent timing length, unused time delay relationships and data correlation, resulting in filling effects. Not good.

Method used

A pre-trained mold temperature missing value filling model is used, and through noisy data segmentation and attention calculation, the timing relationship and feature attention are used for noise prediction to ensure the reliability of the filling results.

Benefits of technology

It effectively solves the problem of unequal timing of casting data and the influence of time delay, ensures the integrity of mold temperature data, and provides a reliable foundation for the quality management of large integrated aluminum alloy structural parts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118278290B
    Figure CN118278290B
Patent Text Reader

Abstract

The present invention discloses a method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts, including: identifying castings with missing mold temperature and / or abnormal mold temperature acquisition, inputting the corresponding process data into a mold temperature missing value filling model, and completing the mold temperature missing value filling. The training process of the mold temperature missing value filling model is: obtaining casting data with complete mold temperature, adding noise at the position where the mold temperature is assumed to be missing, and obtaining noisy data; dividing the noisy data of unequal length into blocks, dividing them into several first sub-tensors, and merging them to obtain an intermediate tensor after temporal relationship attention calculation; dividing the intermediate tensor into blocks again, dividing them into several second sub-tensors, and merging them to obtain the noise prediction value of the casting data at the assumed missing position after feature attention calculation; wherein the temporal length of the noise prediction value is the same as the temporal length of the casting data; and training is performed with the mean square error between the noise prediction value and the actually added noise as the loss function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of aluminum alloy structural part casting, and in particular relates to a method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts. Background Art

[0002] Integrated aluminum alloy structural parts mainly include subframes, front floors, rear floors, etc. They are key components of the body and chassis of new energy vehicles and can ensure the safety and driving performance of the vehicle. The molding process of these structural parts usually adopts low-pressure casting, high-pressure casting and other methods, and is formed in one go by a casting machine. This also shows that whether the casting process is normal plays a key role in the final quality of the casting, which in turn affects the safety of the vehicle. The casting quality is affected by factors such as furnace pressure, aluminum liquid temperature, cooling flow rate, and mold temperature. The complex coupling relationship between these influencing factors makes the quality management of the casting site more difficult. In addition, frequent abnormal conditions on site and equipment failure shutdowns also increase the difficulty of quality management. For this reason, efficient quality management of integrated aluminum alloy structural parts casting is of great significance to improving the quality of castings and reducing management costs. Quality management usually includes quality monitoring, quality inspection, quality prediction and quality diagnosis. The realization of these functions requires a large amount of high-quality process data. However, due to unavoidable factors such as human errors and sensor abnormalities, there is often a problem of missing casting process data, among which the missing of mold temperature is the most serious. Among the many factors that affect casting quality, mold temperature has an important impact on the quality of integrated aluminum alloy structural parts. A large lack of mold temperature will seriously reduce the efficiency of casting quality management.

[0003] In recent years, generative models based on deep learning have achieved excellent results in time series data filling tasks. Such models generate missing data based on the time series dependency and feature correlation of the data itself to achieve missing value filling. As a representative method of generative models, the Diffusion model has begun to be used in time series data filling. However, directly applying the filling model to the mold temperature data filling task of integrated aluminum alloy structural parts will face the following five challenges:

[0004] 1) There is a large amount of invalid data in the casting process data. Filling the invalid data is of no practical significance and affects the establishment and training of the filling model.

[0005] 2) The time series lengths of casting data of various castings are inconsistent, and the use of padding to fill them may affect the performance and accuracy of the model;

[0006] 3) The effects of coolant flow rate and aluminum liquid temperature on mold temperature have a time-delay relationship, and it is necessary to consider a period of data rather than the data at a single moment;

[0007] 4) There are so many castings that it is impossible to quickly select castings with missing mold temperature data manually;

[0008] 5) Failure to utilize the temporal sequence and correlation in the foundry data to fill in missing values.

[0009] In summary, it is urgent to propose a method for filling missing values ​​of mold temperature for integrated aluminum alloy structural parts casting, so as to lay the foundation for efficient inspection of the quality of large integrated aluminum alloy structural parts. Summary of the invention

[0010] In view of the deficiencies in the prior art, the present invention provides a method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts.

[0011] In a first aspect, an embodiment of the present invention provides a method for filling missing values ​​of mold temperature for casting of an integrated aluminum alloy structural part, the method comprising:

[0012] Identify castings with missing mold temperature and / or abnormal mold temperature acquisition;

[0013] Input the process data corresponding to the castings with missing mold temperature and / or abnormal mold temperature collection into the pre-trained mold temperature missing value filling model, so as to fill the mold temperature data;

[0014] Among them, the training process of the mold temperature missing value filling model includes:

[0015] Get complete casting mold temperature data and related process data as casting data;

[0016] Assuming that the casting data has a missing mold temperature and / or abnormal mold temperature collection; adding noise to the assumed missing part of the casting data to obtain noisy data; the noisy data is time series data of unequal length;

[0017] The noisy data is divided into several first sub-tensors of equal quantity and length through variable time windows. After temporal relationship attention calculation, they are merged to obtain the intermediate tensor.

[0018] The intermediate tensor is divided again into several second sub-tensors of equal quantity and length through a variable time window. After feature attention calculation, the noise prediction value of the casting data at the assumed missing position is obtained by merging; wherein the time series length of the noise prediction value is the same as the time series length of the casting data;

[0019] The mold temperature missing value filling model is trained with the goal of minimizing the mean square error loss function between the noise prediction value and the actual added noise.

[0020] In a second aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory is coupled to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the above-mentioned mold temperature missing value filling method for integrated aluminum alloy structural casting

[0021] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] The present invention provides a method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts. The method inputs the process data corresponding to the casting with missing mold temperature and / or abnormal mold temperature acquisition into a pre-trained mold temperature missing value filling model, thereby filling the mold temperature data; in the training process of the mold temperature missing value filling model, the noise-added data is divided into several first sub-tensors of equal quantity and length through a variable time window, and after the time series relationship attention calculation, the intermediate tensor is merged; the intermediate tensor is divided into several second sub-tensors of equal quantity and length through a variable time window again, and after the feature attention calculation, the noise prediction value of the casting data at the assumed missing position is merged. The time series length of the noise prediction value is the same as the time series length of the casting data. The present invention solves the problem of unequal time series length of different casting data through block division and merging operations, and overcomes the time delay effect of the coolant flow rate and the aluminum liquid temperature on the mold temperature, thereby ensuring the reliability of the filling result, obtaining complete mold temperature data, and laying a foundation for the quality management of large integrated aluminum alloy structural parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. The drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 A schematic flow chart of a method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts provided by an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of a process flow of a mold temperature loss detection model training process provided by an embodiment of the present invention;

[0027] Figure 3 A first flow chart of a training process of a mold temperature missing value filling model provided by an embodiment of the present invention;

[0028] Figure 4 A second flow chart of the training process of the mold temperature missing value filling model provided by an embodiment of the present invention;

[0029] Figure 5 A schematic diagram of the blocks in the mold temperature missing value filling model provided by an embodiment of the present invention;

[0030] Figure 6 A schematic diagram of the combination in the mold temperature missing value filling model provided by an embodiment of the present invention;

[0031] Figure 7 A schematic diagram of a process flow of a mold temperature data filling process provided by an embodiment of the present invention;

[0032] Figure 8 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] It should be noted that, in the absence of conflict, the features in the following embodiments and implementations may be combined with each other.

[0035] like Figure 1 As shown, an embodiment of the present invention provides a method for filling missing values ​​of mold temperature for casting of an integrated aluminum alloy structural part, the method comprising the following steps:

[0036] Step S1, acquiring casting mold temperature data and process data related to the casting mold temperature to form a casting sample data set.

[0037] Furthermore, in this example, during the casting process, the process data related to the casting mold temperature include: setting furnace pressure, actual furnace pressure, setting furnace gas temperature, actual furnace gas temperature, setting aluminum liquid temperature, actual aluminum liquid temperature, upper mold cooling flow rate, and lower mold cooling flow rate.

[0038] Step S2, identifying each casting stage in the casting process, obtaining the casting stage characteristics, and preprocessing the casting sample data set according to the casting stage characteristics.

[0039] Specifically, step S2 includes the following sub-steps:

[0040] Step S201, constructing casting process characteristics, the casting process characteristics include: setting furnace pressure (p set )、actual furnace pressure(p real )、Maximum upper die cooling flow rate(c u ) and the maximum lower die cooling flow rate (c l ).

[0041] Step S202, setting corresponding identification rules for each casting stage in the casting process; according to the identification rules, for each casting, starting from the moment when the casting number first appears, traversing the casting process characteristics second by second, so as to identify the production preparation stage, trial punching stage, pressure testing stage, pressurization stage, pressure holding stage, pressure relief stage, cooling stage, and material unloading and mold removal stage, and extract the casting stage characteristics.

[0042] The casting stage characteristics include: preparation stage duration, flushing stage start time, flushing stage duration, pressure test stage duration, pressure test stage end time, pressurization stage start time, pressurization stage duration, pressurization times, pressure holding stage duration, pressure holding times, pressure holding stage end time, pressure relief stage duration, pressure relief stage end time, cooling time after pressure relief, and time to end unloading.

[0043] Specifically, the step S202 includes the following sub-steps:

[0044] Step S20201, set the first identification rule, identify the production preparation stage, and obtain the preparation stage duration (s).

[0045] The first recognition rule is: the set furnace pressure of casting i at time t 0, the pressure filling and pressure holding molding stages are not completed, and the maximum upper mold cooling flow rate and maximum die cooling flow rate If the first identification rule is met, then casting i is in the production preparation stage at time t.

[0046] Specifically, the first threshold is set according to a specific production line and a casting batch. For example, assuming there are two batches of castings, the actual furnace pressure of the first batch A casting is The corresponding threshold is set to 1.5, and the actual furnace pressure of the second batch B castings is The corresponding threshold is 1.

[0047] Step S20202, setting a second identification rule, identifying the test flushing stage, and obtaining the flushing stage start time and flushing stage duration (s).

[0048] Specifically, the second recognition rule is: the set furnace pressure of casting i at time t 0, actual furnace pressure Greater than the set threshold, maximum upper mold cooling flow rate Or maximum die cooling flow rate are all greater than the set threshold, and t is less than the end time of the pressure holding molding stage (if the pressure holding stage has not yet been traversed, the end time of the pressure holding stage takes a value far exceeding the casting time). If the above second identification rule is met, the casting i is in the trial punching stage at time t.

[0049] Step S20203, set the third identification rule, identify the pressure test stage, and obtain the pressure test stage duration (s) and the pressure test stage end time.

[0050] Specifically, the third identification rule is: the set furnace pressure of casting i at time t Greater than the set threshold or actual furnace pressure Greater than the set threshold, and the maximum upper mold cooling flow rate and maximum die cooling flow rate are all less than the set threshold, and time t is less than the end time of the pressure holding and molding stage (if the pressure holding and molding stage has not been traversed, the pressure holding and molding stage time takes the value of the remote casting time). In addition to meeting the above conditions, any one of the following conditions must also be met:

[0051] 1) If time t is the last second of the processing of casting i, the end time of the pressure test phase is t;

[0052] 2) If the end time of the pressure test phase is 0, and the time t is the same as the pressure test phase;

[0053] 3) If the actual furnace pressure , Maximum upper die cooling flow rate , , , Both are less than the set threshold value and the maximum lower die cooling flow rate , , , If the third identification rule is met, casting i is in the pressure test stage at time t.

[0054] Step S20204, setting a fourth identification rule, identifying the pressurization stage, and obtaining the start time of the pressurization stage, the duration of the pressurization stage (s), and the number of pressurization times.

[0055] Specifically, the fourth identification rule is: the maximum upper die cooling flow rate of casting i at time t and maximum die cooling flow rate are greater than the set threshold, set the furnace pressure Greater than 0, and or If the fourth identification rule mentioned above is satisfied, then casting i is in the pressurization stage at time t.

[0056] Step S20205, setting the fifth identification rule, identifying the pressure holding stage, and obtaining the pressure holding stage duration (s), the number of pressure holding times, and the end time of the pressure holding stage.

[0057] Specifically, the fifth identification rule is: the maximum upper die cooling flow rate of casting i at time t and maximum die cooling flow rate are greater than the set threshold, set the furnace pressure Greater than 0, and the actual furnace pressure meets or If the fifth identification rule mentioned above is satisfied, casting i is in the pressure holding stage at time t.

[0058] Step S20206, setting the sixth identification rule, identifying the pressure relief stage, and obtaining the pressure relief stage duration (s) and the pressure relief stage end time.

[0059] Specifically, the identification rule is: the maximum upper die cooling flow rate of casting i at time t and maximum die cooling flow rate are greater than the set threshold, set the furnace pressure to 0, and the actual furnace pressure is greater than the set threshold, and If the sixth identification rule mentioned above is satisfied, casting i is in the pressure relief stage at time t.

[0060] Step S20207, setting the seventh identification rule, identifying the cooling stage, and obtaining the cooling time (s) after pressure relief.

[0061] Specifically, the identification rule is: the set furnace pressure of casting i at time t is 0, the actual furnace pressure Less than the set threshold, and the maximum upper mold cooling flow rate and maximum die cooling flow rate If the seventh identification rule is met, the casting i is in the cooling stage at time t.

[0062] Step S20208, setting the eighth recognition rule, identifying the blanking and mold-exiting stage, and obtaining the end of blanking time (s).

[0063] Specifically, the identification rule is: the set furnace pressure of casting i at time t 0, maximum upper die cooling flow rate and maximum die cooling flow rate are all less than the set threshold, and the pressure-increasing stage and the pressure-holding stage have been completed. If the eighth identification rule is met, the casting i is in the unloading and ejection stage at time t.

[0064] Step S20209, save the preparation stage duration (s), pressurization stage start time, pressurization stage duration (s), pressurization times, pressure holding stage duration (s), pressure holding times, pressure holding stage end time, pressure relief stage duration (s), pressure relief stage end time, cooling time after pressure relief (s), end of material unloading duration (s), pressure test stage duration (s), pressure test stage end time, whether processing abnormalities occur, flushing stage start time, flushing stage duration (s) obtained in steps S201-S208, and record them as casting stage characteristics.

[0065] Step S203, preprocessing the casting sample data set according to the casting stage characteristics; comprising:

[0066] Delete the process data corresponding to the invalid casting stage in the casting sample data set; the invalid casting stage is: the pressure test stage, the punch test stage, the production preparation time exceeding the threshold, and the production abnormality including the processing interruption;

[0067] The mutation values ​​and abnormal values ​​in the process data corresponding to the effective casting stage are corrected; the effective casting stage includes: production preparation stage, pressurized filling stage, pressure holding molding stage, pressure relief and exhaust stage, casting cooling stage, and material unloading and demolding stage.

[0068] Specifically, in this example, the process of preprocessing the casting sample data set includes:

[0069] S20301, judging whether casting i has a pressure test stage according to the extracted casting stage characteristics, if so, taking the end time of the last pressure test as the dividing point, and deleting the casting data before the dividing point.

[0070] S20302, determine whether there is a processing interruption for casting i, and if so, delete casting i from the casting sample data set.

[0071] S20303, judging whether the production preparation, pressurization, pressure holding, pressure release, cooling, and material unloading and molding stages of casting i are complete. If not, the casting i is deleted from the casting sample data set.

[0072] S20304: For castings with too long preparation time (thousands or even tens of thousands of seconds), the last 300 seconds of the preparation time will be taken and the rest will be deleted.

[0073] S20305, correct mutation values ​​and outliers in the effective casting phase.

[0074] Step S3, inputting the preprocessed casting data set into a pre-trained mold temperature missing detection model to detect castings with mold temperature missing and / or mold temperature acquisition abnormalities.

[0075] Specifically, step S3 includes the following steps:

[0076] Step S301, constructing and training a mold temperature loss detection model;

[0077] In this example, the mold temperature loss detection model uses a convolutional neural network.

[0078] Among them, Figure 2 As shown in the figure, the training process of the mold temperature missing detection model includes:

[0079] Step S30101, converting the mold temperature data corresponding to each casting in the preprocessed casting data set into a line graph;

[0080] Step S30102, marking the mold temperature line graph corresponding to each casting; wherein, when there is no missing data for the mold temperature, the corresponding mold temperature line graph is marked as 1 and used as a positive sample; when there is missing data for the mold temperature and / or the mold temperature collection is abnormal, the corresponding mold temperature line graph is marked as 0 and used as a negative sample;

[0081] Step S30103, performing image enhancement on the marked mold temperature line graph; including: generating negative samples to balance the positive samples and the negative samples;

[0082] Furthermore, the image enhancement also includes: filling the line graph (that is, on the basis of drawing the line graph, filling the area below the line so that the area between the line and the horizontal axis is filled with color), and removing the coordinate axis and image border; performing standardization processing such as center cropping, scaling, standardization, and RGB format conversion on the image.

[0083] Among them, the methods of generating negative samples include:

[0084] Resample negative samples;

[0085] And / or, randomly select a certain number of positive samples, and replace one or two data segments in the mold temperature curves of the positive sample castings with random numbers or constants;

[0086] And / or, randomly generate a given number of negative samples using random numbers.

[0087] Step S30104, using positive samples and negative samples to train the mold temperature missing detection model.

[0088] Step S302: input the preprocessed casting data set into a pre-trained mold temperature missing detection model to detect castings with mold temperature missing and / or mold temperature acquisition abnormalities.

[0089] Step S4, inputting the process data corresponding to the casting with missing mold temperature and / or abnormal mold temperature collection into a pre-trained mold temperature missing value filling model to obtain the mold temperature data filling result.

[0090] Among them, the structure of the mold temperature missing value filling model is the Diffusion-Block-Time Series-Transformer model, which consists of two parts: 1) External model: Diffusion model; 2) Internal model: Block-Time Series-Feature Transformer model.

[0091] Furthermore, the training process of the mold temperature missing value filling model is to add noise to the data of each casting. ( ), conditional tensor C (in the training and verification stage of the mold temperature missing value filling model, the conditional tensor C takes the data assuming that the missing 0-1 tensor M is missing), the number of noise additions t and the length L of each casting data are passed to the internal model, that is, the block-series-feature Transformer model for training, and the predicted Gaussian noise value is output .like Figure 3 and Figure 4 As shown, the specific training steps include:

[0092] Step S401, obtaining complete casting mold temperature data and related process data as casting data X.

[0093] Specifically, the process data related to the casting mold temperature data include: set furnace pressure, actual furnace pressure, set furnace gas temperature, actual furnace gas temperature, set aluminum liquid temperature, actual aluminum liquid temperature, upper mold cooling flow rate, and lower mold cooling flow rate.

[0094] Step S402, assuming that there is a mold temperature missing and / or mold temperature acquisition abnormality in the casting data; adding noise at the assumed missing location of the casting data to obtain noisy data; the noisy data is time series data of unequal length.

[0095] Step S40201, based on the historical missing pattern of mold temperature data, it is assumed that the casting data has mold temperature missing and / or mold temperature collection abnormality, and a data real missing 0-1 tensor O and a data assumed missing 0-1 tensor M are established; on the basis of the assumed missing, the casting data X includes non-missing conditional observation data x co And the target data x to be filled ta .

[0096] Among them, the 0-1 value in the data real missing 0-1 tensor O indicates whether the original data at the corresponding position is missing, that is, real missing. If the value of an element in the data real missing 0-1 tensor O is 0, it means that the value of the corresponding position in the casting data X is a missing value, otherwise it is not missing. In the training set and the validation set, the value of all elements in the data real missing 0-1 tensor O is 1;

[0097] There are three ways to assume missing: 1) missing according to historical rules; 2) missing randomly according to ratio; 3) mixed missing. If the i-th row and j-th column of the data assumed missing 0-1 tensor M is 0, it means that the value of the corresponding position of the casting data X is assumed to be missing, otherwise it is not missing.

[0098] For example, taking the missing mold temperature of a batch of subframes in this example as an example, the historical missing pattern of mold temperature is explained: a large number of whole-segment missing or data collection abnormalities occur at the third position of the mold temperature measurement point of a batch of subframe castings, while other mold temperature measurement points do not have such missing or random missing. Therefore, it can be considered that the historical missing pattern of the mold temperature data of this batch of subframes is: there is a whole segment missing of mold temperature 3. Then when establishing the data assumption missing 0-1 tensor M, the column where mold temperature 3 is located can be set to 0 to indicate data missing.

[0099] It should be noted that the data is assumed to be missing 0-1 tensor M for the training of the mold temperature missing value filling model. First, it is assumed that a part of the data is missing, and then the mold temperature missing value filling model is used to fill the assumed missing data. By comparing the difference between the filled result and the actual result, the mold temperature missing value filling model is trained and evaluated.

[0100] Step S40202, setting the variance and mean of the added noise.

[0101] Initialize a first sequence t~Uniform({1,2,…,T}) that follows a uniform distribution and a second sequence that increases uniformly , which is used to fix the variance and mean of the added Gaussian noise, where T represents the maximum number of noise additions.

[0102] Step S40203, setting the number of noise additions, adding noise at the assumed missing locations of the casting data according to the variance and mean of the added noise, and obtaining the noisy data.

[0103] Specifically, first randomly generate the number of noise additions t for each sample in each batch i (t i <T), and calculate the value after t times of noise, the expression is as follows:

[0104]

[0105] In the formula, Indicates that the initial value of the mold temperature is set to be missing and needs to be filled; express Cumulative The value after adding Gaussian noise; , ; is a Gaussian distribution with N(0,1).

[0106] Furthermore, according to the additivity of Gaussian distribution, we know To obey Gaussian distribution.

[0107] Step S403, add the noise adding times encoding, noise adding data and assumed missing tensor to obtain the first tensor; divide the first tensor into several first sub-tensors of equal quantity and length through the variable time window, and merge them into the intermediate tensor after the temporal relationship attention calculation.

[0108] The process of dividing blocks by varying the time window includes:

[0109] According to the i-th casting sample in a batch, the length of each block, and the number of blocks, obtain the step length s that the i-th casting data needs to move in each block i , the total step length that the i-th casting data needs to move additionally when dividing into blocks;

[0110] In the first set A={1,2,…,n p -1}, a number of elements are randomly selected without duplication to form the second set; the number of selected elements is the total step length that the i-th casting data needs to move additionally when it is divided into blocks, n p is the number of blocks;

[0111] In the jth partition, j∈{1,2,…,n p}, when j belongs to the second set, then in the j+1th partition, the moving step becomes s i +1.

[0112] It should be noted that the purpose of dividing the noisy data into blocks is to deal with two problems faced by mold temperature filling in the casting scene: 1) The time series of different casting data are not of equal length; 2) The effects of coolant flow rate and aluminum liquid temperature on mold temperature have a time delay relationship. The cooling effect brought by the cooling flow rate at the current moment needs to act on the control of mold temperature at a later moment. Similarly, the aluminum liquid temperature at the current moment will also affect the mold temperature at a later moment. It is necessary to consider a section of data instead of considering the data at a single moment. To this end, sequences of different lengths need to be divided into overlapping blocks of the same length and number, which is the so-called block processing.

[0113] Specifically, the step S403 includes the following steps:

[0114] Step S40301, encode the number of noise additions t emb , the noisy data X' and the conditional tensor C (in the training and verification stage of the mold temperature missing value filling model, the conditional tensor C takes the data assuming missing 0-1 tensor M) to obtain the first tensor Y0.

[0115] Among them, get the noise adding times code t emb The process includes: implementing the Embedding layer of the deep learning library Torch, calling the Embedding layer, inputting the maximum number of noise additions T and the encoding dimension E dim Initialization is implemented to obtain the encoding tensor E, and then the number of noise additions is used as the index to obtain the noise addition encoding vector E[t]. The noise addition encoding vector E[t] is then transformed through two layers of linear layers to obtain the noise addition number encoding t emb .

[0116] Step S40302: divide the first tensor Y0 into several first sub-tensors of equal quantity and length by using a variable time window. .

[0117] Among them, the first tensor The shape is (n×n p × p ×K), where n represents the number of samples in a batch; p is the number of blocks set; l p Represents the length of each block; K is the number of features of the input data.

[0118] Specifically, Figure 5 As shown, the formula for block processing is as follows:

[0119]

[0120] In the above formula, B represents the number of casting samples in a batch; l i represents the i-th casting sample in a batch; l p Indicates the length of each block set; n p is the number of blocks set; i It represents the step length that casting i needs to move in each block division; is the total additional step length required for casting i to move when dividing into blocks.

[0121] Furthermore, when dividing into blocks, we first start from the set A={1,2,…,n p-1} without repeating random selection The elements form the set B i ; Then, in the j∈{1,2,…,n p} partition, if j∈B i , then in the j+1th partition, the moving step becomes s i +1; otherwise, the moving step is s i ; Finally, B i Stored in set B, where B={B1,B2,…,B batch}. As shown in the following formula:

[0122]

[0123]

[0124] Where P ij is the jth block of the i-th casting data in a batch; Indicates the starting point of the i-th casting data at the j-th block, where, .

[0125] For example, Figure 5 As shown, in this example, the number of blocks n is set p is 5, the length of each block is l p Set to 6, and block the first casting data with a length of 23 and the second casting data with a length of 24. The first casting data needs to move in steps of 4 each time it is divided into blocks; the total step length of the first casting data that needs to be moved additionally when it is divided into blocks is 1; the first casting set B1={1}, so when the second division is performed, the moving step length becomes 5. The second casting data needs to move in steps of 4 each time it is divided into blocks; the total step length of the second casting data that needs to be moved additionally when it is divided into blocks is 2; the second casting set B2={1,2}, so when the second and third divisions are performed, the moving step length becomes 5.

[0126] Step S40303, first sub-tensor After being processed by the first linear layer, temporal relation attention, and the second linear layer, the intermediate tensor is merged.

[0127] Specifically, the first subtensor The shape of (n×n p × p ×K) is transformed into (n×K×n p × p ), and then use the first linear layer to transform the first sub-tensor Process it and get the tensor Among them, the tensor The shape is (n×K×np ×D model ), where n represents the number of samples in a Batch; K is the number of features of the input data; n p is the number of blocks set; D model The dimension of the attention weight matrix of the Encoder layer of Transformer.

[0128] The tensor The shape is given by (n×K×n p ×D model ) is transformed into (Z1×n p ×D model ), the value of Z1 is n×K; then the Transformer Encoder module is used to calculate the temporal relationship between each period to obtain the tensor , and then the tensor The shape of is transformed into (n×K×n p ×D model ).

[0129] Use the second linear layer on the tensor Process it and get the tensor Among them, the tensor The shape is (n×K×n p × p ); for tensors Merge and obtain the intermediate tensor Y5.

[0130] Among them, Figure 6 As shown in the figure, merging means that each block needs to be restored to the original casting length. When merging each block, according to the moving step length s i and the set B that requires additional moves i , merge the j blocks divided in step 1 and average the overlapping parts. i Reset to an empty set.

[0131] Specifically, first establish two zero-value matrices and Q i (L×1), and then iterate according to the following formula, where :

[0132]

[0133]

[0134]

[0135] When the iteration is finished, the elements that overlap during the block division are averaged, as shown in the following formula:

[0136]

[0137] In the formula, the shape of the intermediate tensor Y5 is (n×L×K), where L is the data length of the original data input to the internal model.

[0138] Step S404, the intermediate tensor is divided again into several second sub-tensors of equal number and length through a variable time window, and after feature attention calculation, they are merged to obtain the noise prediction value of the casting data at the assumed missing location; wherein the time series length of the noise prediction value is the same as the time series length of the casting data.

[0139] Specifically, the intermediate tensor Y5 is divided into blocks to obtain the second sub-tensor ;

[0140] The tensor The shape is given by (n×n p × p ×K) is transformed into (n×n p ×K×l p ), and then use the third linear layer to Processing to obtain tensor ; Among them, the tensor The shape is (n×n p ×K×D model ).

[0141] The tensor The shape is given by (n×n p ×K×D model ) is transformed into (Z2×n p ×D model ), the value of Z2 is n×n p ; Then use the Transformer Encoder module to calculate the attention between each feature to obtain the tensor , and then the tensor The shape of is transformed into (n×n p ×K×D model ).

[0142] Use the fourth linear layer on the tensor Processing to obtain tensor ; Tensor The shape is (n×n p ×K×l p ).

[0143] For tensors The merge is performed and the merged result is output, that is, the noise prediction value of the casting data at the assumed missing position; wherein the time series length of the noise prediction value is the same as the time series length of the casting data.

[0144] Step S405 , training a mold temperature missing value filling model with the goal of minimizing the mean square error loss function between the noise prediction value and the actually added noise.

[0145] Specifically, the noise prediction value The actual noise added The MSE loss function is minimized as the goal, and the mold temperature missing value filling model is trained. The expression is as follows:

[0146]

[0147] Furthermore, after each epoch, the missing value filling model of mold temperature is verified, and the calculation formula is as follows:

[0148]

[0149] In the formula, represents the loss value of each sample in the validation set; the above formula means that starting from t=1, the validation set samples are noised t times, and the added noise is predicted by the block-wise time-feature Transformer network , calculate the corresponding MSE loss, and finally add the MSE losses of T times and take the average value to get the loss value of the validation set.

[0150] Repeat the above steps. In this example, after iterating to the set epoch number 250, the training process of the mold temperature missing value filling model is terminated.

[0151] Furthermore, if Figure 7 As shown, the process of step S4 inputting the process data corresponding to the casting with missing mold temperature and / or abnormal mold temperature collection into the pre-trained mold temperature missing value filling model to obtain the filling result of the mold temperature data includes:

[0152] The process data corresponding to the castings with missing mold temperature and / or abnormal mold temperature collection are input into the pre-trained mold temperature missing value filling model, and the mold temperature missing value filling model outputs the noise prediction value added for the tth time; where t is the number of noise additions;

[0153] The noise prediction value added for the tth time is reversely denoised until t=0 to obtain the filling result of the mold temperature data.

[0154] Specifically, the filling process needs to be reversed step by step denoising, that is, the noise predicted by the model is subtracted from the T-th pure Gaussian noise cycle Until t=0, the filling is completed, and the final value is the mold temperature data filling result. As shown in the following formula:

[0155]

[0156] In the formula, Indicates that the missing values ​​are replaced by a Gaussian distribution of N(0,1); To obey Gaussian distribution; specifically, comprising the following steps:

[0157] Using time series-feature neural network to predict Noise added ;calculate and , the expression is as follows:

[0158]

[0159]

[0160] according to calculate ; The expression is as follows:

[0161]

[0162] Repeat the above steps until the calculation reaches ,Will As the fill-in value for the missing value of mold temperature, the filling process is completed.

[0163] Example 1

[0164] The following takes the integrated aluminum alloy structural member, the subframe, as an example to illustrate the specific implementation of the present invention.

[0165] Step S1, obtaining casting mold temperature data and process data related thereto to form a casting sample data set; wherein, the process data related to the casting mold temperature data has a total of 79 features, as shown in the following Table 1.1:

[0166] Table 1.1 Selected data

[0167]

[0168] In this example, temperature sensors are only set at positions 1, 2, 3, 4, and 5 of the casting mold.

[0169] Step S2, setting corresponding identification rules according to each casting stage, identifying each casting stage to obtain the casting stage characteristics.

[0170] Specifically, in this example, each possible casting stage is identified from the casting data of 1147 subframe castings, and the casting stage features are extracted. When identifying each casting stage, the thresholds set for each condition are shown in Table 1.2 below:

[0171] Table 1.2 Thresholds used to identify various casting stages

[0172]

[0173] According to the extracted casting stage features, it can be found that 36 castings have pressure tests, 352 castings have punch tests, 1 casting is a production abnormality, and 69 castings have too long production preparation time;

[0174] Step S3, preprocessing the casting sample data set according to the casting stage characteristics, including: deleting the process data corresponding to the invalid casting stage in the casting sample data set; the invalid casting stage is: the pressure test stage, the punching test stage, the production preparation time exceeding the threshold, and the production anomaly including the processing interruption; correcting the mutation value and abnormal value in the process data corresponding to the effective casting stage; the effective casting stage includes: the production preparation stage, the pressurized filling stage, the pressure holding molding stage, the pressure relief and exhaust stage, the casting cooling stage, and the material unloading and demolding stage.

[0175] In this example, after deleting the invalid casting stages of each casting, there are still 794 casting data that are valid casting stages remaining.

[0176] Step S4, inputting the preprocessed casting data set into a pre-trained mold temperature missing detection model to detect castings with mold temperature missing and / or mold temperature acquisition abnormalities.

[0177] In this example, among the mold temperature data of the selected 794 castings, only the mold temperature point 5 is missing, so only the data of mold temperature point 5 is converted into a line graph and marked; among them, the mold temperature line graph with label 1 represents that there is no missing data in the mold temperature, which is a positive sample; the mold temperature line graph with label 0 represents that there is missing data or data collection is abnormal, which is a negative sample.

[0178] Among them, the number of positive samples is 656 and the number of negative samples is 138. 576 representative positive samples are selected from the positive samples, and negative samples are generated at the same time to balance the positive and negative samples.

[0179] Among them, the methods and corresponding quantities of negative sample generation include:

[0180] 1) Resample the negative samples: select 52 representative negative samples, repeat the sampling for 3 rounds, and generate 156 negative samples

[0181] 2) Randomly select a certain number of positive samples, replace one or two segments of the mold temperature curve of these positive sample castings with random numbers or constants, and generate 240 negative samples;

[0182] 3) Use random numbers to randomly generate a given number of negative samples, generating 50 negative samples.

[0183] Preprocessing is performed on 576 positive samples and 584 negative samples, including:

[0184] 1) Center cropping: The input image is cropped at the center. The height of the cropped image is 448 pixels and the width is 600 pixels.

[0185] 2) Scale the image: adjust the image to the specified size. In this example, the image is 224 pixels high and 224 pixels wide.

[0186] 3) Standardization: The mean of each channel of the image is 0.475, 0.451 and 0.390, and the standard deviation is 0.261, 0.255 and 0.259 respectively;

[0187] 4) Convert the image to RGB format.

[0188] Furthermore, the mold temperature missing detection model's validation set accuracy for whether the mold temperature is missing is shown in Table 1.3 below:

[0189] Table 1.3 Validation set loss of mold temperature missing detection model

[0190]

[0191] Step S5, inputting the process data corresponding to the casting with missing mold temperature and / or abnormal mold temperature collection into a pre-trained mold temperature missing value filling model to obtain the mold temperature data filling result.

[0192] Among them, the training process of the mold temperature missing value filling model includes:

[0193] Get complete casting mold temperature data and related process data as casting data;

[0194] Assuming that the casting data has a missing mold temperature and / or abnormal mold temperature collection; adding noise to the assumed missing part of the casting data to obtain noisy data; the noisy data is time series data of unequal length;

[0195] The noisy data is divided into blocks through a variable time window into several first sub-tensors of equal quantity and length. After the temporal relationship attention calculation, they are merged to obtain the intermediate tensor;

[0196] The intermediate tensor is divided again into several second sub-tensors of equal quantity and length through a variable time window. After feature attention calculation, the noise prediction value of the casting data at the assumed missing position is obtained by merging; wherein the time series length of the noise prediction value is the same as the time series length of the casting data;

[0197] The mold temperature missing value filling model is trained with the goal of minimizing the mean square error loss function between the noise prediction value and the actual added noise.

[0198] In this example, the training parameter settings of the mold temperature missing value filling model are shown in Table 1.4 below:

[0199] Table 1.4 Training parameter settings for the filling model

[0200]

[0201] Finally, the mean square error loss of the validation set is used to evaluate the filling effect of the mold temperature missing value filling model. The mean square error loss of the validation set is: 0.003088.

[0202] In summary, the present invention implements the filling of mold temperature data by inputting the process data corresponding to the casting with mold temperature missing and / or mold temperature acquisition abnormality into the pre-trained mold temperature missing value filling model; in the training process of the mold temperature missing value filling model, the noise data is divided into several first sub-tensors of equal quantity and length through a variable time window, and after the time series relationship attention calculation, the intermediate tensor is merged; the intermediate tensor is divided into several second sub-tensors of equal quantity and length through a variable time window again, and after the feature attention calculation, the noise prediction value of the casting data at the assumed missing position is merged. The present invention solves the problem of unequal length of different casting data time series through block and merge operations, and overcomes the time delay effect of coolant flow rate and aluminum liquid temperature on mold temperature, thereby ensuring the reliability of the filling result, obtaining complete mold temperature data, and laying a foundation for the quality management of large-scale integrated aluminum alloy structural parts.

[0203] like Figure 8 As shown, an embodiment of the present application provides an electronic device, which includes a memory 101 for storing one or more programs and a processor 102. When the one or more programs are executed by the processor 102, any method in the first aspect described above is implemented.

[0204] The memory 101, the processor 102 and the communication interface 103 are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The memory 101 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 101. The communication interface 103 can be used to communicate signaling or data with other node devices.

[0205] Among them, the memory 101 can be, but is not limited to, a random access memory 101 (Random Access Memory, RAM), a read only memory 101 (Read Only Memory, ROM), a programmable read-only memory 101 (Programmable Read-Only Memory, PROM), an erasable programmable read-only memory 101 (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable read-only memory 101 (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.

[0206] The processor 102 may be an integrated circuit chip with signal processing capability. The processor 102 may be a general-purpose processor 102, including a central processing unit 102 (CPU), a network processor 102 (NP), etc.; it may also be a digital signal processor 102 (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0207] In the embodiments provided in the present application, it should be understood that the disclosed method and system can also be implemented in other ways. The method and system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the method and system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0208] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0209] On the other hand, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor 102, the method as described in any one of the first aspects above is implemented. If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory 101 (ROM, Read-Only Memory), random access memory 101 (RAM, RandomAccess Memory), disk or optical disk and other media that can store program codes.

[0210] Those skilled in the art will readily appreciate other embodiments of the present application after considering the description and practicing the contents disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application. The description and examples are intended to be exemplary only.

[0211] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts, characterized in that: The method comprises: Identify castings with missing mold temperature and / or abnormal mold temperature acquisition; Inputting the process data corresponding to the casting with missing mold temperature and / or abnormal mold temperature collection into the pre-trained mold temperature missing value filling model to obtain the mold temperature data filling result; Among them, the training process of the mold temperature missing value filling model includes: Get complete casting mold temperature data and related process data as casting data; Assuming that the casting data has a missing mold temperature and / or abnormal mold temperature acquisition, thereby establishing an assumed missing tensor; adding noise to the assumed missing part of the casting data to obtain noisy data; the noisy data is time series data of unequal length; The noise number encoding, the noise data and the assumed missing tensor are added to obtain the first tensor; the first tensor is divided into several first sub-tensors of equal quantity and length by a variable time window; after the temporal relationship attention calculation, the intermediate tensor is obtained by merging; The intermediate tensor is divided again into several second sub-tensors of equal quantity and length through a variable time window. After feature attention calculation, the noise prediction value of the casting data at the assumed missing position is obtained by merging; wherein the time series length of the noise prediction value is the same as the time series length of the casting data; The mold temperature missing value filling model is trained with the goal of minimizing the mean square error loss function between the noise prediction value and the actual added noise.

2. The method for filling missing values ​​of mold temperature for integrated aluminum alloy structural parts casting according to claim 1, characterized in that: Identification of castings with missing mold temperature and / or abnormal mold temperature acquisition includes: Acquire casting mold temperature data and related process data to form a casting sample data set; Identify each casting stage to obtain the casting stage characteristics; pre-process the casting sample data set according to the casting stage characteristics; The preprocessed casting data set is input into the pre-trained mold temperature missing detection model to detect castings with mold temperature missing and / or mold temperature acquisition abnormalities.

3. The method for filling missing values ​​of mold temperature for integrated aluminum alloy structural casting according to claim 2, characterized in that: Identify each casting stage to obtain casting stage characteristics including: Constructing casting process characteristics; the casting process characteristics include: setting furnace pressure, actual furnace pressure, maximum upper mold cooling flow rate and maximum lower mold cooling flow rate; Set corresponding identification rules for each casting stage; The casting process characteristics corresponding to each casting are traversed to identify the production preparation stage, trial punching stage, pressure test stage, pressurization stage, pressure holding stage, pressure relief stage, cooling stage, and material unloading and mold release stage, and the casting stage characteristics are extracted; the casting stage characteristics include: preparation stage duration, flushing stage start time, flushing stage duration, pressure test stage duration, pressure test stage end time, pressurization stage start time, pressurization stage duration, pressurization times, pressure holding stage duration, pressure holding times, pressure holding stage end time, pressure relief stage duration, pressure relief stage end time, cooling time after pressure relief, and end unloading time.

4. The method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts according to claim 2 or 3, characterized in that: Preprocessing of casting sample dataset according to casting stage characteristics includes: Delete the process data corresponding to the invalid casting stage in the casting sample data set; the invalid casting stage is: the pressure test stage, the punch test stage, the production preparation time exceeding the threshold, and the production abnormality including the processing interruption; The mutation values ​​and abnormal values ​​in the process data corresponding to the effective casting stage are corrected; the effective casting stage includes: production preparation stage, pressurized filling stage, pressure holding molding stage, pressure relief and exhaust stage, casting cooling stage, and material unloading and demolding stage.

5. The method for filling missing values ​​of mold temperature for integrated aluminum alloy structural casting according to claim 2, characterized in that: The training process of the mold temperature missing detection model includes: Convert the mold temperature data corresponding to each casting in the preprocessed casting data set into a line graph; Mark the mold temperature line graph corresponding to each casting; when there is no missing data for the mold temperature, the corresponding mold temperature line graph is marked as 1 and used as a positive sample; when there is missing data for the mold temperature and / or the mold temperature collection is abnormal, the corresponding mold temperature line graph is marked as 0 and used as a negative sample; Perform image enhancement on the mold temperature line graph after marking; including: generating negative samples to balance positive samples and negative samples; The mold temperature missing detection model is trained using positive and negative samples.

6. The method for filling missing values ​​of mold temperature for integrated aluminum alloy structural casting according to claim 1, characterized in that: The training process of the mold temperature missing value filling model specifically includes: Acquire casting mold temperature data and process data related thereto which have been preprocessed and have complete mold temperature as casting data; Assuming that the casting data has missing mold temperature and / or abnormal mold temperature acquisition, thereby establishing an assumed missing tensor; Set the number of noise additions; add noise to the casting data based on the assumed missing tensor and the number of noise additions to obtain the noisy data; The noise-added data, the assumed missing tensor, the number of noise additions, and the time series length of the casting data are input into the mold temperature missing value filling model; Get the noise adding times code of the noise adding times; Add the number of noise additions, the noise addition data, and the assumed missing tensor to obtain the first tensor; The first tensor is divided into several first sub-tensors of equal quantity and length by using a variable time window. After temporal relationship attention calculation, they are merged to obtain an intermediate tensor. The intermediate tensor is divided again into several second sub-tensors of equal number and length through a variable time window. After feature attention calculation, the noise prediction value of the assumed missing part of the casting data is obtained by merging; wherein the time series length of the noise prediction value is the same as the time series length of the casting data; The mold temperature missing value filling model is trained with the goal of minimizing the mean square error loss function between the noise prediction value and the actual added noise.

7. The method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts according to claim 1 or 6, characterized in that: The process of chunking by varying time windows includes: According to the i-th casting sample in a batch, the length of each block, and the number of blocks, obtain the step length s that the i-th casting data needs to move in each block i , the total step length that the i-th casting data needs to move additionally when dividing into blocks; In the first set A={1,2,⋯,n p -1}, a number of elements are randomly selected without duplication to form the second set B; the number of selected elements is the total step length that the i-th casting data needs to move additionally when it is divided into blocks, n p is the number of blocks; In the jth partition, j∈{1,2,⋯,n p }, when j belongs to the second set B, then in the j+1th partition, the moving step becomes s i +1.

8. The method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts according to claim 1, characterized in that: Inputting the process data corresponding to the casting with missing mold temperature and / or abnormal mold temperature collection into the pre-trained mold temperature missing value filling model, thereby filling the missing values ​​and / or abnormal values ​​of the mold temperature data includes: The process data corresponding to the castings with missing mold temperature and / or abnormal mold temperature collection are input into the pre-trained mold temperature missing value filling model, and the mold temperature missing value filling model outputs the noise prediction value added for the tth time; where t is the number of noise additions; The noise prediction value added for the tth time is reversely denoised until t=0 to obtain the filling result of the mold temperature data.

9. An electronic device, comprising a memory and a processor, characterized in that: The memory is coupled to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the mold temperature missing value filling method for integrated aluminum alloy structural parts casting as described in any one of claims 1-8 above.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for filling missing values ​​of mold temperature for casting of integrated aluminum alloy structural parts as described in any one of claims 1 to 8 is implemented.