Method, device and medium for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts
Through feature extraction and conditional independence testing, a casting quality causality structure diagram is formed, which solves the problem of low causality acquisition efficiency in integrated casting of aluminum alloy structural parts, and achieves faster quality analysis and problem solving.
Patent Information
- Application Number
- CN202410918894.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-10
AI Technical Summary
In the integrated casting process of aluminum alloy structural parts, it is difficult to efficiently obtain the casting quality causal relationship with existing technology. Especially when processing high-dimensional data, the calculation time is too long and Markov equivalence problems occur frequently, resulting in a quality causal graph structure. Learning efficiency is low.
By extracting features of the factors affecting the quality of integrated casting of aluminum alloy structural parts, a fully connected graph is formed, and edges of non-adjacent nodes are deleted to form a partially fully connected graph. Nodes that do not affect independence are eliminated, and conditional independence testing is performed, and we get Develop a skeleton diagram of casting quality causality and orient it to form a structural diagram of casting quality causality.
It improves the efficiency of obtaining the causal relationship of casting quality, reduces the running time, reduces the frequency of Markov equivalence problems, and provides a basis for root cause analysis of integrated casting quality problems of aluminum alloy structural parts.
Smart Images

Figure CN118468995B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of aluminum alloy casting, and in particular relates to a method, a device and a medium for obtaining the causal relationship of the quality of integrated casting of an aluminum alloy structural part. Background Art
[0002] Large integrated aluminum alloy structural parts mainly include subframes, front and rear floors, motor housings, etc. They are important components of the body and chassis of new energy vehicles. Their quality is of great significance to the safety of new energy vehicles during driving. Casting is the main process for forming structural parts. The casting quality is affected by many factors such as the ratio of metal elements in the alloy solution, casting process parameters, casting machine performance, environmental factors, etc. These factors lead to many quality problems in the casting process. In order to improve the efficiency of solving quality problems and reduce the cost of abnormal response, it is necessary to analyze the root causes of the problems. The control plan based on the root causes can solve the problems in a targeted manner and ensure that quality problems do not occur again. The root cause analysis of quality problems mainly includes two steps: quality causal graph structure learning and quality diagnosis. Among them, quality causal graph structure learning is the basis of root cause analysis, which is of great significance for accurately identifying the root causes of different types of problems. However, in the casting process, there are many quality influencing factors and the coupling relationship is complex, which brings great challenges to the efficiency of casting quality causal graph structure learning.
[0003] Quality causal graph structure learning mainly refers to obtaining the causal relationship between quality influencing factors and between quality influencing factors and quality indicators, usually presented in the form of a directed graph. Currently, mechanism-based and data-driven causal graph structure learning is the main way to solve the above challenges.
[0004] Among them, mechanism-based causal graph structure learning has problems such as unclear mechanism knowledge and low efficiency of graph structure construction, which greatly limits its application in industrial sites.
[0005] Data-driven causal graph structure learning mainly includes constraint-based methods, scoring-based methods, and causal function model-based methods.
[0006] The core idea of the scoring-based method is to traverse all possible graph structures and evaluate each structure in combination with evaluation indicators. However, due to the many influencing factors in the foundry scenario, it poses a great challenge to the efficiency of optimizing the graph structure.
[0007] Methods based on causal function models usually assume that data are generated linearly, which is an assumption that is difficult to meet in industrial casting scenarios.
[0008] Constraint-based methods, such as the PC algorithm, have the core idea of forming an undirected graph based on the D-partition theory to perform conditional independence tests and orient the undirected graph using some rules. This method is widely used in industrial sites with its weak assumptions and mature statistical theory support. However, the PC algorithm has the problem of low efficiency of conditional independence tests in the process of processing high-dimensional data. When the data dimension is too high, the number of conditional independence tests will increase exponentially, resulting in long calculation time and low computational efficiency. In addition, in the process of orienting the undirected graph, since the fork structure and the chain structure cannot be distinguished by the conditional independence test, many edges cannot be oriented, that is, there will be a Markov equivalence problem, which cannot be applied to the causal relationship analysis of casting quality. Summary of the invention
[0009] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method, device and medium for obtaining the causal relationship of the quality of integrated casting of aluminum alloy structural parts.
[0010] According to a first aspect of an embodiment of the present invention, a method for obtaining a causal relationship of quality of integrated casting of an aluminum alloy structural part is provided, the method comprising:
[0011] The factors influencing the quality of integrated casting of aluminum alloy structural parts are extracted, and the extracted features and casting quality indicators are used as nodes;
[0012] Connect all nodes in pairs through undirected edges to form a fully connected graph;
[0013] Determine whether any two nodes are adjacent; delete the edges between non-adjacent nodes in the fully connected graph to form a partial fully connected graph;
[0014] Determine a first separation set corresponding to each adjacent node in the partial fully connected graph, remove nodes in the first separation set that do not affect the independence between adjacent nodes, and form a second separation set;
[0015] Based on each node in the second separation set, a conditional independence test is performed on each adjacent node in the partial fully connected graph. If the adjacent nodes are independent, the edges between the adjacent nodes are deleted to obtain a casting quality causal relationship skeleton graph;
[0016] The edges between adjacent nodes in the casting quality causal relationship skeleton graph are directed to form a casting quality causal relationship structure graph.
[0017] According to a second aspect of an embodiment of the present invention, a device for obtaining causal relationships of integrated casting quality of aluminum alloy structural parts is provided, comprising one or more processors for implementing the above-mentioned method for obtaining causal relationships of integrated casting quality of aluminum alloy structural parts.
[0018] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a program stored thereon, which, when executed by a processor, is used to implement the above-mentioned method for obtaining the causal relationship of the integrated casting quality of aluminum alloy structural parts.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] The present invention provides a method for obtaining the causal relationship of the quality of integrated casting of aluminum alloy structural parts. First, the characteristics of the factors affecting the quality of integrated casting of aluminum alloy structural parts are extracted, and the extracted characteristics and casting quality indicators are used as nodes; all nodes are connected in pairs through undirected edges to form a fully connected graph; by judging whether the nodes are adjacent to each other, the edges between non-adjacent nodes in the fully connected graph are deleted to form a partial fully connected graph, thereby reducing the number of nodes used for edge independence test. Afterwards, the first separation set corresponding to each adjacent node in the partial fully connected graph is determined, and the nodes that do not affect the independence between adjacent nodes in the first separation set are eliminated to form a second separation set to reduce the number of nodes used for conditional independence test. Then, based on each node in the second separation set, a conditional independence test is performed on each adjacent node in the partial fully connected graph. If the adjacent nodes are independent, the edges between the adjacent nodes are deleted to obtain a casting quality causal relationship skeleton graph; finally, the edges between each adjacent node in the casting quality causal relationship skeleton graph are directed to form a casting quality causal relationship structure graph, thereby reducing the number of times the Markov equivalence class problem appears in the casting quality causal relationship structure graph. The method of the present invention can improve the efficiency of obtaining the cause-effect relationship of casting quality, reduce the running time, and lay a foundation for the root cause analysis and quality problem solving of the integrated casting of aluminum alloy structural parts. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0022] Figure 1 A schematic flow chart of a method for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts provided by an embodiment of the present invention;
[0023] Figure 2 A schematic diagram of a process for determining a first separation set provided by an embodiment of the present invention;
[0024] Figure 3 A schematic diagram of a process for determining a second separation set provided by an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of a process for determining a third separation set provided by an embodiment of the present invention;
[0026] Figure 5 A schematic diagram of a casting quality cause-and-effect relationship structure diagram provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to describe the present invention in more detail, the technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods and cases. The description of the following embodiments is only used to help understand the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
[0028] In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0029] like Figure 1 As shown, the present invention focuses on the field of integrated casting of aluminum alloy structural parts, and provides a method and device for obtaining the causal relationship of integrated casting quality of aluminum alloy structural parts, which lays a foundation for analyzing the root causes of casting quality problems. The method specifically includes the following steps:
[0030] Step S1, extracting features of factors influencing the quality of integrated casting of aluminum alloy structural parts, and using the extracted features and casting quality indicators as nodes.
[0031] Specifically, step S1 includes the following sub-steps:
[0032] Step S101, obtaining data on factors affecting quality and quality indexes of integrated casting of aluminum alloy structural parts.
[0033] Among them, the data on factors affecting the quality of integrated casting of aluminum alloy structural parts include: the batch to which the casting belongs, the set furnace pressure, the actual furnace pressure, the cooling flow rate, the furnace gas temperature setting, the actual furnace gas temperature, the actual aluminum liquid temperature, and the mold temperature.
[0034] The quality index data of integrated casting of aluminum alloy structural parts include: deformation, cold shut, shrinkage and porosity.
[0035] Step S102, preprocessing the data of factors influencing the quality of integrated casting of aluminum alloy structural parts.
[0036] Furthermore, the acquired data on factors affecting the quality of integrated casting of aluminum alloy structural parts were cleaned from aspects such as outlier removal, missing value filling, and duplicate value processing.
[0037] Step S103, based on the preprocessed casting quality influencing factor data, feature extraction is performed on the influencing factors of the integrated casting quality of the aluminum alloy structural parts to obtain a plurality of nodes.
[0038] Furthermore, the pre-processed aluminum alloy structural parts integrated casting quality influencing factor data and quality index data are associated one by one according to the casting number; that is, the casting quality index data must be the result obtained by processing the corresponding casting quality influencing factor data.
[0039] Based on the preprocessed casting quality influencing factors data, feature extraction is performed on the factors affecting the quality of integrated casting of aluminum alloy structural parts. Each field obtained by feature extraction is used as a node to obtain several nodes, which are used together with quality indicators to subsequently construct a graph structure.
[0040] Furthermore, the step S103 also includes: discretizing the casting quality influencing factor data after feature extraction. In this example, the discretization adopts an equal-width discretization method.
[0041] Step S2: connect all nodes in pairs through undirected edges to form a fully connected graph.
[0042] Step S3, determining whether any two nodes are adjacent; deleting the edges between non-adjacent nodes in the fully connected graph to form a partial fully connected graph.
[0043] Specifically, the non-adjacent rule is defined as follows: the i-th node (i.e., the i-th casting quality influence or quality index after feature extraction) is recorded as the variable X i , the jth node (i.e. the jth casting quality influence or quality index after feature extraction) is recorded as variable X j ; If the variable X i Not affected by variable X j direct influence, and the variable X j Nor is it affected by the variable X i The variable X i and variable X j Not adjacent, if variable X i and variable X j Not adjacent, remove variable X from the fully connected graph i and variable X j The edge between.
[0044] According to the non-adjacent rule, the edges between non-adjacent nodes in the fully connected graph are deleted to form a partial fully connected graph. The specific process includes:
[0045] Let the i-th node be the variable X i , the jth node is recorded as variable X j ;
[0046] If the variable X i Not affected by variable X j direct influence, and the variable X j Nor is it affected by the variable X i The variable X i and variable X j Not adjacent;
[0047] If the variable X i and variable X j Not adjacent, remove variable X from the fully connected graph i and variable X j The edges between them form a partially fully connected graph.
[0048] The partial fully connected graph represents an undirected graph formed after the fully connected graph deletes the edges between non-adjacent nodes based on the non-adjacent rule.
[0049] It should be noted that the variable X i and variable X j Whether it is directly affected is determined by casting knowledge and represented by a non-adjacent matrix. The element in the i-th row and j-th column of the non-adjacent matrix is denoted by N ij , when N ij =1, indicating that the variable X i and variable X j Not adjacent; when N ij =0, indicating that the variable X i and variable X j The adjacent relationship is unknown. It is worth noting that the non-adjacent rule can only determine those variables that are definitely non-adjacent, while the remaining nodes may be adjacent or non-adjacent, and further judgment is required based on the conditional independence test in the subsequent steps.
[0050] Step S4, determining a first separation set corresponding to each adjacent node in the partial fully connected graph, removing nodes in the first separation set that do not affect the independence between adjacent nodes, and forming a second separation set.
[0051] Among them, Figure 2 As shown, the process of determining the first separation set corresponding to each adjacent node in the partial fully connected graph includes:
[0052] Let the i-th node be the variable X i , the jth node is recorded as variable X j ;
[0053] Find all the variables X in the partial fully connected graph C' i Adjacent to but not including X j The set of adjacent variables X in the partially fully connected graph C' i and variable X j The first separation set is denoted as adj(C', X i ) \ {X j}.
[0054] Furthermore, in this example, a separation set screening rule is defined, and nodes that do not affect the independence between adjacent nodes in the first separation set are removed according to the separation set screening rule to form a second separation set; including:
[0055] Define the separation set screening rule: record the i-th node as variable X i , the jth node is recorded as variable X j , the kth node (i.e., the kth casting quality influence or quality index after feature extraction) is recorded as variable X k ; If there is a variable X k ,VARIABLE X k In the variable X i and variable X j In the first separation set, if the variable X k With variable X j are not adjacent, and the variable X k Occurs in variable X i Before, the variable X i Occurs in variable X j Before, the variable X k From the variable X i and variable X j Removed from the first separation set.
[0056] It should be noted that the variable X k Occurs in variable X i Before, it means variable X k Prior to variable X in both time and space i The order of occurrence between variables can be obtained through casting knowledge and represented by the order relationship matrix. The element in the i-th row and j-th column of the order relationship matrix is denoted as M ij , when M ij =1, indicating that the variable X i In variable X j before; when M ij =0, indicating that the variable X i In variable X j After that happens; when M ij =-1, indicating that the variable X i In variable X jThe order of precedence is uncertain. The order of precedence can be determined from three aspects: the location of sensor arrangement, the order of data collection and the order of processing time.
[0057] like Figure 3 As shown, according to the separation set screening rule, nodes that do not affect the independence between adjacent nodes in the first separation set are removed to form a second separation set; including:
[0058] Let the i-th node be the variable X i , the jth node is recorded as variable X j , the kth node is recorded as variable X k ;
[0059] If there is a variable X k ,VARIABLE X k In the partially fully connected graph C', adjacent variables X i and variable X j In the first separation set, if the variable X k With variable X j are not adjacent, and the variable X k Occurs in variable X i Before, the variable X i Occurs in variable X j Before, it means variable X i and variable X j The independence test of X k The impact of
[0060] The variable X k From the partial fully connected graph C', the adjacent variables X i and variable X j Remove from the first separation set, and obtain all the variables X in the partial fully connected graph C' i Adjacent but not including variable X j and variable X k The set of adjacent variables X in the partially fully connected graph C' i and variable X j The second separation set is denoted as adj(C', X i ) \ {X j , X k}.
[0061] It should be noted that the variable X k represents the variables removed by the separation set screening rule, and the second separation set is used for the subsequent adjacent variables X i and variable X j A collection of conditional independence tests.
[0062] It should be noted that the variables that do not affect the independence between adjacent nodes are expressed as follows: after the separation set screening rule, if the variable X is removed k , which represents the variable X i and variable X j The independence test of X k The influence of variable X k As a condition, it will not affect the variable X i and variable X j Independence between variables, then the variable X k Eliminate from the first separation set. The formula is derived as follows:
[0063] (1)
[0064] (2)
[0065] Among them, the variable X r is related to the variable X i and variable X j variables that are adjacent.
[0066] Formula (1) is obtained from the joint probability distribution formula; Represents variable X k ,VARIABLE X i and variable X j The joint probability distribution of Represents variable X k probability; Indicates that the variable X k is the condition, variable X i probability; Indicates that the variable X i is the condition, variable X j The probability of; the first equal sign in formula (2) is obtained from the total probability formula; Indicates that the variable X i and variable X k is the condition, variable X j probability; Represents variable X k and variable X i The joint probability distribution of . Formula (2) shows that are always equal, that is, regardless of whether the variable X k As a condition, The probability value of the variable X will not change. k Will not affect variable X i and variable X j The results of the independence test between them.
[0067] Step S5, based on each node in the second separation set, a conditional independence test is performed on each adjacent node in the partial fully connected graph. If the adjacent nodes are independent, the edges between the adjacent nodes are deleted to obtain a casting quality causal relationship skeleton graph.
[0068] Furthermore, the conditional independence test includes Fisher Z test, chi-square test and kernel function test. In this example, chi-square test is selected. The chi-square test is based on each node in the second separation set to perform conditional independence test on each adjacent node in the partial fully connected graph. The original hypothesis is that the variable X k is the condition, variable X i and variable X j Independent, the alternative hypothesis is that the variable X k is the condition, variable X i and variable X j Not independent, in this example, the significance level is set to 0.05. If the test is passed, it proves that the adjacent nodes are independent, delete the edge between the adjacent nodes, and update this variable to the third separation set. If the test is not passed, it proves that the adjacent nodes are not independent, retain the edge between the adjacent nodes, and retain this variable in the second separation set.
[0069] Furthermore, the iteration stopping condition of the conditional independence test is: the iteration stops until all adjacent nodes in the partial fully connected graph are traversed and all variables in the second separation set of adjacent nodes have completed the conditional independence test.
[0070] Furthermore, the casting quality causal relationship skeleton diagram is an undirected graph formed by connecting the adjacent nodes through undirected edges after the conditional independence test. Two nodes connected by undirected edges represent that the two nodes are directly adjacent, indicating that the two nodes directly affect each other.
[0071] Furthermore, the step S5 further includes: performing a conditional independence test on each adjacent node based on each node in the second separation set, if the adjacent nodes are not independent based on the nodes in the second separation set, retaining the edge between the adjacent nodes, and removing the node from the second separation set, thereby forming a third separation set;
[0072] Specifically, Figure 4 As shown, the i-th node is recorded as variable X i , the jth node is recorded as variable X j , the kth node is recorded as variable X k , the mth node (i.e. the mth casting quality influence or quality index after feature extraction) is recorded as variable X m ;
[0073] Based on each node in the second separation set, a conditional independence test is performed on each adjacent node. If the variable X in the second separation set m Condition, the adjacent variable X in the partial fully connected graph C' i and variable X j If the variable X is not independent, m Remove from the second separation set, thereby forming the adjacent variable X in the partial fully connected graph C' i and variable X j The third separation set is adj(C', X i ) \ {X j , X k , X m};
[0074] The third separation set represents all the connections between X and i Adjacent but not including X j , X k and X m The set of variables in this set is used as a condition for the adjacent variables X in the partial fully connected graph C'. i and variable X j independent.
[0075] Furthermore, the pseudo code of the learning phase of the causal relationship skeleton diagram of the integrated casting quality of aluminum alloy structural parts is shown in Table 1 below.
[0076] Table 1 Pseudocode of the learning phase of the causal relationship skeleton diagram of the integrated casting quality of aluminum alloy structural parts
[0077]
[0078] Step S6, orienting the edges between adjacent nodes in the casting quality causal relationship skeleton graph to form a casting quality causal relationship structure graph.
[0079] Furthermore, in this example, a directional rule is defined, and the edges between adjacent nodes in the casting quality causal relationship skeleton diagram are oriented according to the directional rule to form a casting quality causal relationship structure diagram; including:
[0080] Define targeting rules:
[0081] R1: For all non-adjacent X i and X j , assuming X k With X i and X j If they are adjacent, k is the conditional variable X i and variable X j Not independent (i.e. if X kNot in X i and X j ), then put X i —X k —X j Oriented to X i X k X j ;
[0082] R2: If there is X i X k —X j , then X k —X j Oriented to X k X j ;
[0083] R3: If there is X i X k X j And X i and X j If adjacent, then X i —X j Oriented to X i X j ;
[0084] R4: If there is X i —X k1 X j , X i —X k2 X j And X k1 and X k2 If they are not adjacent, then X i —X j Oriented to X i X j ;
[0085] R5: If X i and X j Adjacent and X i Before X j If X occurs, i —X j Oriented to X i X j .
[0086] Furthermore, orienting the edges between each adjacent node pair indicates that all undirected edges in the casting quality causal relationship skeleton graph are oriented using an orientation rule to form a casting quality causal relationship structure graph. The casting quality causal relationship structure graph indicates that each adjacent node is connected by a directed edge to form a directed graph, and two nodes connected by a directed edge represent that there is a causal relationship between the node pair, the tail of the directed edge indicates the cause, the arrow indicates the result, and the causal direction is from the cause to the result, indicating that the cause leads to the result.
[0087] Furthermore, the pseudo code of the directional stage of the structure graph of the integrated casting quality causal graph of aluminum alloy structural parts is shown in Table 2 below.
[0088] Table 2. Pseudo code for the directional stage of the cause-effect structure diagram of the integrated casting quality of aluminum alloy structural parts
[0089]
[0090] Example 1
[0091] The specific implementation method of the method of the present invention is described in detail below by taking a large integrated aluminum alloy structural part, a subframe, as an example.
[0092] Step S1, extracting features of factors influencing the quality of integrated casting of aluminum alloy structural parts, and using the extracted features and casting quality indicators as nodes.
[0093] Step S101, obtaining data on factors affecting quality and quality indexes of integrated casting of aluminum alloy structural parts.
[0094] In this example, the factors affecting the casting quality of the subframe include: "casting batch", "set furnace pressure", "actual furnace pressure", "cooling flow rate 1-64", "furnace gas temperature setting", "actual furnace gas temperature", "actual aluminum liquid temperature", "mold temperature 6", "mold temperature 8", "mold temperature 18", and "mold temperature 20".
[0095] Among them, "Cooling flow rate 1-64" indicates the cooling flow rate in the 1st to 64th cooling channels in the casting mold; "Mold temperature 6" indicates the mold temperature at the 6th position of the casting mold; "Mold temperature 8" indicates the mold temperature at the 8th position of the casting mold; "Mold temperature 18" indicates the mold temperature at the 18th position of the casting mold; "Mold temperature 20" indicates the mold temperature at the 20th position of the casting mold.
[0096] The casting quality index of the subframe is shrinkage. A quality index value of 0 indicates that there is no shrinkage, that is, the quality is qualified; a quality index value of 1 indicates that there is shrinkage, that is, the quality is unqualified.
[0097] Step S102, preprocessing the data of factors affecting the quality of integrated casting of aluminum alloy structural parts, including outlier processing, missing value filling, and repeated value processing.
[0098] Among them, data preprocessing includes:
[0099] Case 1.1: Data is still recorded during non-processing hours such as early morning and early morning. The corresponding cleaning method is: for castings with a production preparation time greater than 2000s, only the data from 300s before the start of casting is retained;
[0100] Case 1.2: The actual furnace pressure column has a pressure test process; the corresponding cleaning method is: all the pressure test data and non-zero data of the informal casting process are changed to 0;
[0101] Case 1.3: Abnormal changes in the casting number column: The corresponding cleaning method is: if the preparation time for the next casting is greater than 300s, and the casting has not been actually cast or only pressure tested, delete the casting; or,
[0102] When the preparation time for the next casting is less than 300s, and the casting number has not been actually cast or has only been pressure tested, it will be replaced by the next casting; or,
[0103] There is more than one pressurization process, and the cooling flow rate changes each time. The casting number is updated at the time corresponding to 120 seconds after the end of one pressurization.
[0104] Case 1.4: The actual temperature data of the furnace gas / aluminum liquid temperature column changes suddenly; the corresponding cleaning method is: all temperature values that change more than 10 degrees should be replaced nearby;
[0105] Case 1.5: The cooling flow rate column has a test flushing process; the corresponding cleaning method is: before / after the formal flushing, all data of the test flushing process less than 30s will be changed to 0; before the formal flushing, all test flushing data of the test flushing process greater than 30s will be retained.
[0106] When there are missing values in the mold temperature column, the corresponding cleaning method is: use the starting temperature above / ending temperature below the missing mold temperature as the interpolation starting / ending value; the interpolation amount is determined by the other three columns, find the temperature change from the previous moment to this moment in the other three columns, take the average value, and then perform a random processing on the average value.
[0107] When the casting number column and / or casting number are repeated, the corresponding cleaning method is: select the adjacent number that does not appear repeatedly (add 1 / 2 or subtract 1 / 2); if there are two groups of repetitions: change the second group with the number added by 1 / 2; change the first / second group with the number subtracted by 1 / 2; if there are three groups of repetitions, change the second / third group with the number added by 1 / 2.
[0108] Step S103, based on the preprocessed casting quality influencing factor data, feature extraction is performed on the influencing factors of the integrated casting quality of the aluminum alloy structural parts to obtain a plurality of nodes.
[0109] The extracted features and feature explanations of the factors affecting casting quality are as follows:
[0110] Among them, the factors affecting casting quality include: the set value of furnace pressure, the actual value of furnace pressure, cooling flow rate, the set value of furnace gas temperature, the actual value of furnace gas temperature, the actual value of aluminum liquid temperature, and mold temperature.
[0111] Furthermore, the features extracted from the set value of the furnace pressure include:
[0112] Initial setting pressure: set the initial pressure value for pressurization;
[0113] Set the furnace pressure stability value: the pressure value at which the pressure remains unchanged; a fixed parameter manually set during the pressure maintenance process;
[0114] The pressure difference between the initial set pressure and the set furnace pressure: the pressure difference between the initial pressure value of the pressurization and the fixed parameter manually set during the pressure maintenance process;
[0115] The time difference between the initial set pressure and the set furnace pressure: the time interval between the time corresponding to the time of setting the initial pressure of pressurization and the time of starting to set the furnace pressure;
[0116] Set furnace pressure change rate: reach the set furnace pressure change speed;
[0117] Set furnace pressure holding time: set the duration for which the furnace pressure remains unchanged;
[0118] Set furnace pressure end time: the time interval from when the pressure value becomes 0 to when the next casting number changes;
[0119] Furthermore, the features extracted from the actual value of furnace pressure include:
[0120] Pressurization preparation time: the time interval from the moment when the casting number changes to the value of 0 to the moment when the furnace pressure first has a non-zero value;
[0121] Starting pressure: the pressure value at which pressurization begins;
[0122] The first pressure holding starting pressure: The first pressure maintains a stable starting pressure;
[0123] The pressure difference between the initial pressure of the first pressure holding and the initial pressure: the pressure difference of the first pressure increase;
[0124] The time difference from the start of pressurization to the first holding pressure: the time interval from the moment corresponding to the starting pressure to the moment corresponding to the first holding pressure.
[0125] The pressure change rate of the first pressure increase: the speed of the first pressure increase;
[0126] Average pressure of the first holding pressure: the average pressure value from the pressure value at the beginning of the first holding pressure to the pressure value at the end of the first holding pressure;
[0127] First pressure holding duration: the time interval during which the first pressure remains stable;
[0128] First holding pressure end pressure: the pressure value after the first holding pressure ends;
[0129] Second pressure holding starting pressure: The second pressure maintains a stable starting pressure;
[0130] The difference between the end pressure of the first pressure holding and the start pressure of the second pressure holding: the pressure difference of the second pressure increase;
[0131] The time difference between the end of the first pressure holding and the start of the second pressure holding: the time interval between the moment corresponding to the pressure at the end of the first pressure holding and the moment corresponding to the pressure at the start of the second pressure holding;
[0132] The pressure change rate of the second pressure increase: the speed of the second pressure increase;
[0133] Average pressure of the second holding pressure: the average pressure value from the beginning of the second holding pressure to the end of the second holding pressure;
[0134] Second pressure holding duration: the time interval during which the second pressure is kept constant;
[0135] Second pressure holding end pressure: the pressure value after the second pressure holding ends; the starting pressure of pressure relief;
[0136] The time difference when the second pressure holding pressure drops to 0: the time interval from the moment when the second pressure holding ends to the moment when the pressure returns to 0;
[0137] Pressure relief change rate: the speed of pressure relief;
[0138] Total pressurization time: the time interval between the start of the first pressure holding and the end of the second pressure holding;
[0139] Maximum actual furnace pressure: the maximum furnace pressure of all pressure values under the same casting number.
[0140] Furthermore, the features of cooling flow rate extraction include:
[0141] The time interval for starting to introduce coolant is the time interval from the moment when the casting number changes to the moment when the cooling flow rate is greater than 0.5;
[0142] Duration of coolant flow: the duration of the cooling flow rate greater than 0.5;
[0143] Furthermore, the features extracted from the set value of the furnace gas temperature include:
[0144] The average value of furnace gas temperature setting: the average value of furnace gas temperature during the period from the corresponding moment of the beginning of a casting number to the corresponding moment of the end of this casting number.
[0145] Furthermore, the features extracted from the actual value of the furnace gas temperature include:
[0146] The actual average value of furnace gas temperature: the average value of the actual furnace gas temperature during the period from the corresponding moment of the beginning of the casting number to the corresponding moment of the end of the casting number;
[0147] The difference between the set and actual furnace gas temperature: the difference between the average value of the actual and set furnace gas temperatures during the period from the corresponding moment of the beginning of a casting number to the corresponding moment of the end of this casting number.
[0148] Furthermore, the features extracted from the actual value of the aluminum liquid temperature include:
[0149] Actual mode of aluminum liquid temperature: the temperature value with the most actual aluminum liquid temperature.
[0150] Furthermore, the features of mold temperature extraction include:
[0151] Mold starting temperature: the mold temperature when the casting begins processing;
[0152] Casting start temperature: the mold temperature at the moment when the actual furnace pressure first appears a non-zero value;
[0153] The temperature difference from the mold starting temperature to the start of casting: the temperature change in the production preparation process before casting;
[0154] The time difference between the mold starting temperature and the temperature at the beginning of casting: the time interval of the production preparation process before casting;
[0155] Temperature change rate before production starts: the rate of change of mold temperature before casting;
[0156] Average mold temperature at the start of production: Average mold temperature at the start of production;
[0157] Maximum temperature of the casting process: the maximum temperature of the mold temperature during the time period corresponding to the actual furnace pressure being a non-zero value;
[0158] The difference between the temperature at the beginning of casting and the maximum temperature during the casting process: temperature difference;
[0159] The time difference between the temperature at the beginning of casting and the maximum temperature during the casting process: time difference;
[0160] Heating rate during casting process: Heating rate;
[0161] Casting end temperature: the mold temperature at the moment when the actual furnace pressure appears to be 0 for the second time;
[0162] The difference between the maximum temperature during the casting process and the temperature at the end of casting: temperature difference;
[0163] The time difference between the maximum temperature during the casting process and the temperature at the end of casting: time difference;
[0164] Cooling rate during casting process: Cooling rate;
[0165] The average value of the mold temperature during the casting process: the average value of the mold temperature during the time period when the actual furnace pressure is a non-zero value;
[0166] Variance of mold temperature during casting process: Variance of mold temperature during the time period when the actual furnace pressure is non-zero;
[0167] The mold temperature at the end of the last casting: the mold temperature at the end of the casting processing, the mold temperature of the last line of a casting number;
[0168] The difference between the temperature at the end of casting and the temperature at the end of the last casting: temperature difference;
[0169] The time difference between the temperature at the end of casting and the temperature at the end of the last casting: time difference;
[0170] Temperature change rate at the end of production: the rate of change of mold temperature after casting;
[0171] Average mold temperature at the end of production: The average mold temperature after casting.
[0172] The data of factors affecting casting quality after feature extraction are discretized. In this example, the discretization adopts an equal-width discretization method, and the width is set to 5, which means that the data of various factors affecting casting quality after feature extraction are divided into 5 intervals.
[0173] The pre-processed data of the quality influencing factors and quality index data of the integrated casting of aluminum alloy structural parts are presented in a table with 240 columns and 691 rows. Among them, 239 columns are the casting quality influencing factors after feature extraction, and the last column is the quality index. Each row represents the processing of a casting; in this example, the casting quality influencing factors and quality indexes after feature extraction are used as nodes, and each node is numbered.
[0174] Specifically, set "Batch" to number 1;
[0175] The “setting furnace pressure” factor influencing casting quality is extracted by feature extraction, and the “starting setting furnace pressure pressure”, “setting furnace pressure stability value”, “pressure difference between the starting setting pressure and the setting furnace pressure”, “time difference between the starting setting pressure and the setting furnace pressure”, “setting furnace pressure change rate”, “setting furnace pressure holding time”, and “setting furnace pressure ending time” are set as numbers 2 to 8 respectively;
[0176] The features of the casting quality influencing factor "actual furnace pressure" are extracted to obtain "pressurization preparation time", "starting pressure", "starting pressure of the first pressure holding", "pressure difference between the starting pressure of the first pressure holding and the starting pressure", "time difference from the start of pressurization to the starting pressure of the first pressure holding", "pressure change rate of the first pressure increase", "average pressure of the first pressure holding", "first pressure holding duration", "first pressure holding end pressure", "second pressure holding starting pressure", "pressure difference between the first pressure holding end pressure and the second pressure holding start pressure", "time difference from the end of the first pressure holding to the start of the second pressure holding", "pressure change rate of the second pressure increase", "average pressure of the second pressure holding", "second pressure holding duration", "second pressure holding end pressure", "time difference from the second pressure holding pressure to 0", "pressure relief change rate", "total pressurization time", and "maximum actual furnace pressure" are set as numbers 9 to 28 respectively;
[0177] The “cooling velocity 1 time interval”, …, and “cooling velocity 64 time interval” obtained by feature extraction of the casting quality influencing factor “cooling velocity” are set as numbers 29 to 154 respectively;
[0178] The “mean value of furnace gas temperature setting” obtained by feature extraction of the casting quality influencing factor “furnace gas temperature setting” is set as number 155.
[0179] The “actual mean value of furnace gas temperature” and the “difference between the set furnace gas temperature and the actual mean value” obtained by feature extraction of the casting quality influencing factor “actual furnace gas temperature” are set as numbers 156 and 157 respectively.
[0180] The “actual mode of the actual molten aluminum temperature” obtained by feature extraction of the casting quality influencing factor “actual molten aluminum temperature” is set as number 158.
[0181] In this example, temperature sensors are only set at the 6th, 8th, 18th and 20th positions of the casting mold, and the "mold starting temperature", "casting starting temperature", "temperature difference between mold starting temperature and casting starting temperature" at each position are obtained by feature extraction of the casting quality influencing factor "mold temperature", "production start temperature", "temperature change rate of preparation for production", "average mold temperature for production start preparation", "maximum temperature of the casting process", "difference between the temperature at the start of casting and the maximum temperature of the casting process", "time difference between the temperature at the start of casting and the maximum temperature of the casting process", "heating rate of the casting process", "casting end temperature", "temperature difference between the maximum temperature of the casting process and the end of casting", "temperature change rate between the maximum temperature of the casting process and the end of casting" The time difference between the start temperature of the mold and the start temperature of the casting is set as 159~161, and the time difference between the start temperature of the casting and the end temperature of the last casting is set as 163~239 respectively; among them, at the 6th position of the casting mold, the features "the temperature difference between the start temperature of the mold and the start temperature of the casting" and "the temperature change rate of the preparation for the start of production" are also provided with the feature "the time difference between the start temperature of the mold and the start temperature of the casting", and the corresponding number is 162.
[0182] Set the quality index to number 240.
[0183] Step S2, connect all nodes in pairs through undirected edges to form a fully connected graph; determine whether any two nodes are adjacent; delete the edges between non-adjacent nodes in the fully connected graph to form a partial fully connected graph.
[0184] Specifically, the non-adjacent nodes determined by the non-adjacent rule are as follows:
[0185] The characteristics of furnace gas temperature setting, furnace pressure setting, actual furnace pressure, and cooling flow rate 1-64 are not adjacent;
[0186] The actual characteristics of furnace gas temperature and the characteristics of set furnace pressure, the characteristics of actual furnace pressure, and the characteristics of cooling flow rate 1-64 are not adjacent;
[0187] The actual characteristics of aluminum liquid temperature and the characteristics of set furnace pressure, the characteristics of actual furnace pressure, the characteristics of cooling flow rate 1-64, and the characteristics of furnace gas temperature setting are not adjacent;
[0188] The characteristics of mold temperature and furnace gas temperature setting are not adjacent;
[0189] The batches and actual furnace pressure characteristics, furnace gas temperature actual characteristics, and aluminum liquid temperature actual characteristics are not adjacent;
[0190] Based on the above knowledge, a non-adjacent matrix is formed.
[0191] Step S3, determine the first separation set corresponding to each adjacent node in the partial fully connected graph, remove the nodes in the first separation set that do not affect the independence between adjacent nodes, and form a second separation set. Based on each node in the second separation set, perform a conditional independence test on each adjacent node in the partial fully connected graph. If the adjacent nodes are independent, delete the edges between the adjacent nodes to obtain a casting quality causal relationship skeleton graph.
[0192] Specifically, the i-th node is recorded as variable X i , the jth node is recorded as variable X j , the kth node is recorded as variable X k ;
[0193] If there is a variable X k ,VARIABLE X k In the partially fully connected graph C', adjacent variables X i and variable X j In the first separation set, if the variable X k With variable X j are not adjacent, and the variable X k Occurs in variable X i Before, the variable X i Occurs in variable X j Before, it means variable X i and variable X j The independence test of X k The impact of
[0194] The variable X k From the partial fully connected graph C', the adjacent variables X i and variable X j Remove from the first separation set, and obtain all the variables X in the partial fully connected graph C' i Adjacent but not including variable X j and variable X k The set of adjacent variables X in the partially fully connected graph C' i and variable X j The second separation set is denoted as adj(C', X i ) \ {X j , X k}.
[0195] Furthermore, based on casting knowledge, casting process and sensor acquisition sequence, the order of influencing factors of casting quality after feature extraction is set as follows:
[0196] (1) The features extracted from the internal influencing factors such as furnace pressure, actual furnace pressure, cooling flow rate, and mold temperature are set, and they occur in sequence according to the order of feature extraction; for example: the actual furnace pressure is a process that changes over time, the starting pressure must occur before the first holding pressure starting pressure, the first pressure increase rate must occur before the second holding pressure duration; the cooling flow rate time interval must occur before the cooling flow rate duration.
[0197] (2) All factors affecting casting quality after feature extraction occur before quality indicators.
[0198] It is worth noting that the detailed order relationship between the cooling flow rate features and between the cooling flow rate features and the mold temperature features cannot be obtained due to data privacy. At the same time, the mold temperature at the same position is opened by different cooling channels at different time points. It is difficult to say which one occurs first and which one occurs later. The temperature change at a mold temperature position is the result of the joint action of these channels at different time points. Their time sequence is coupled together, so this example does not set the order relationship.
[0199] Furthermore, the characteristics of the mold temperature at different positions can be known through casting knowledge: 1) The mold temperature is cooled first by the upper mold and then by the lower mold, first by the pouring head and then by the middle position of the casting; 2) The temperatures at the three positions of mold temperature 6, mold temperature 8, and mold temperature 20 affect each other; mold temperature 18 affects mold temperature 8; mold temperature 18 does not affect mold temperature 6 and mold temperature 20. The above two conclusions can be obtained from mechanism knowledge, but due to the complexity of the temperature field change, the present invention does not set the order relationship between the characteristics extracted from the mold temperature at the four positions.
[0200] Based on the above mechanism knowledge, a sequence relationship matrix is formed.
[0201] Step S4, orienting the edges between adjacent nodes in the casting quality causal relationship skeleton graph to form a casting quality causal relationship structure graph.
[0202] The casting quality cause-effect relationship structure diagram formed in this example is as follows Figure 5 As shown. Figure 5 Nodes not shown in the figure but obtained through feature extraction indicate nodes that are processed by non-adjacent rules, separation set screening rules, and directional rules. Figure 5 The nodes shown in are independent and therefore are not listed in the casting quality causal structure diagram.
[0203] It should be noted that the running time of the casting quality causal relationship result obtained by the existing PC algorithm is 1736 seconds, while the running time of the casting quality causal relationship result obtained by the method of the present invention is 1402 seconds, saving a total of 334 seconds. Furthermore, if more knowledge can be obtained and the non-adjacent matrix and the sequential relationship matrix can be supplemented, the number of conditional independence tests will be further reduced, the running time will be further shortened, and the calculation efficiency will be further improved.
[0204] In summary, the present invention provides a method for obtaining the causal relationship of the quality of integrated casting of aluminum alloy structural parts. First, the factors affecting the quality of integrated casting of aluminum alloy structural parts are feature extracted, and the extracted features and casting quality indicators are used as nodes; all nodes are connected in pairs through undirected edges to form a fully connected graph; by judging whether the nodes are adjacent to each other, the edges between non-adjacent nodes in the fully connected graph are deleted to form a partial fully connected graph, thereby reducing the number of nodes used for edge independence test. Afterwards, the first separation set corresponding to each adjacent node in the partial fully connected graph is determined, and the nodes that do not affect the independence between adjacent nodes in the first separation set are eliminated to form a second separation set to reduce the number of nodes used for conditional independence test. Then, based on each node in the second separation set, a conditional independence test is performed on each adjacent node in the partial fully connected graph. If the adjacent nodes are independent, the edges between the adjacent nodes are deleted to obtain a casting quality causal relationship skeleton graph; finally, the edges between each adjacent node in the casting quality causal relationship skeleton graph are oriented to form a casting quality causal relationship structure graph, thereby reducing the number of times the Markov equivalence class problem appears in the casting quality causal relationship structure graph. The method of the present invention can improve the efficiency of obtaining the cause-effect relationship of casting quality, reduce the running time, and lay a foundation for the root cause analysis and quality problem solving of the integrated casting of aluminum alloy structural parts.
[0205] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computers, available storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0206] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that the computer program instructions implement each process and / or box in the flowchart and / or box diagram, as well as the combination of the processes and / or boxes in the flowchart and / or box diagram. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0207] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, the instruction device implementing the process Figure 1 One or more processes and / or boxes Figure 1 A function specified in one or more boxes.
[0208] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a code that can be processed by the computer, thereby providing a method for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0209] 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.
[0210] 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 obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts, characterized in that: The method comprises: The factors influencing the quality of integrated casting of aluminum alloy structural parts are extracted, and the extracted features and casting quality indicators are used as nodes; Connect all nodes in pairs through undirected edges to form a fully connected graph; Determine whether any two nodes are adjacent; delete the edges between non-adjacent nodes in the fully connected graph to form a partial fully connected graph; Determine a first separation set corresponding to each adjacent node in the partial fully connected graph, remove nodes in the first separation set that do not affect the independence between adjacent nodes, and form a second separation set; Based on each node in the second separation set, a conditional independence test is performed on each adjacent node in the partial fully connected graph. If the adjacent nodes are independent, the edges between the adjacent nodes are deleted to obtain a casting quality causal relationship skeleton graph; The edges between adjacent nodes in the casting quality causal relationship skeleton graph are directed to form a casting quality causal relationship structure graph.
2. The method for obtaining causal relationship of integrated casting quality of aluminum alloy structural parts according to claim 1, characterized in that: Factors affecting the quality of integrated casting of aluminum alloy structural parts include: The batch to which the casting belongs, the set furnace pressure, the actual furnace pressure, the cooling flow rate, the furnace gas temperature setting, the actual furnace gas temperature, the actual aluminum liquid temperature, and the mold temperature.
3. The method for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts according to claim 1, characterized in that: The quality indicators of integrated casting of aluminum alloy structural parts include: deformation, cold shut, shrinkage and porosity.
4. The method for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts according to claim 1, characterized in that: The process of deleting the edges between non-adjacent nodes in the fully connected graph to form a partial fully connected graph includes: Let the i-th node be the variable X i , the jth node is recorded as variable X j ; If the variable X i Not affected by variable X j direct influence, and the variable X j Nor is it affected by the variable X i The variable X i and variable X j Not adjacent; If the variable X i and variable X j Not adjacent, remove variable X from the fully connected graph i and variable X j The edges between them form a partially fully connected graph.
5. The method for obtaining causal relationship of integrated casting quality of aluminum alloy structural parts according to claim 1, characterized in that: The process of determining the first separation set corresponding to each adjacent node in the partial fully connected graph includes: Let the i-th node be the variable X i , the jth node is recorded as variable X j ; Find all the variables X in the partial fully connected graph C' i Adjacent to but not including X j The set of adjacent variables X in the partially fully connected graph C' i and variable X j The first separation set is denoted as adj(C', X i ) \ {X j }.
6. The method for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts according to claim 1, characterized in that: The process of removing nodes in the first separation set that do not affect the independence between adjacent nodes to form the second separation set includes: Let the i-th node be the variable X i , the jth node is recorded as variable X j , the kth node is recorded as variable X k ; If there is a variable X k ,VARIABLE X k In the partially fully connected graph C', adjacent variables X i and variable X j In the first separation set, if the variable X k With variable X j are not adjacent, and the variable X k Occurs in variable X i Before, the variable X i Occurs in variable X j Before, it means variable X i and variable X j The independence test of X k The impact of The variable X k From the partial fully connected graph C', the adjacent variables X i and variable X j Remove from the first separation set, and obtain all the variables X in the partial fully connected graph C' i Adjacent but not including variable X j and variable X k The set of adjacent variables X in the partially fully connected graph C' i and variable X j The second separation set is denoted as adj(C', X i ) \ {X j , X k }.
7. The method for obtaining causal relationship of integrated casting quality of aluminum alloy structural parts according to claim 1, characterized in that: The method further comprises: Performing a conditional independence test on each adjacent node based on each node in the second separating set, if the adjacent nodes are not independent based on the nodes in the second separating set, retaining the edge between the adjacent nodes, and removing the node from the second separating set, thereby forming a third separating set; Specifically, the i-th node is recorded as variable X i , the jth node is recorded as variable X j , the kth node is recorded as variable X k , the mth node is recorded as variable X m ; Based on each node in the second separation set, a conditional independence test is performed on each adjacent node. If the variable X in the second separation set m Condition, the adjacent variables X in the partially fully connected graph C' i and variable X j If the variable X is not independent, m Remove from the second separation set, thereby forming the adjacent variable X in the partial fully connected graph C' i and variable X j The third separation set is adj(C', X i ) \ {X j , X k , X m }; The third separation set represents all the connections between X and i Adjacent but not including X j , X k and X m The set of variables in this set is used as a condition for the adjacent variables X in the partial fully connected graph C'. i and variable X j independent.
8. The method for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts according to claim 1, characterized in that: The process of orienting the edges between adjacent nodes based on the casting quality causal relationship skeleton diagram to form the casting quality causal relationship structure diagram includes: Let the i-th node be the variable X i , the jth node is recorded as variable X j , the kth node is recorded as variable X k , the k1th node is recorded as variable X k1 , the k2th node is recorded as variable X k2 ; For all non-adjacent X i and X j , assuming X k With X i and X j If they are adjacent, k is the conditional variable X i and variable X j If not independent, then X i —X k —X j Oriented to X i X k X j ; If there is X i X k —X j , then X k —X j Oriented to X k X j ; If there is X i X k X j And X i and X j If adjacent, then X i —X j Oriented to X i X j ; If there is X i —X k1 X j , X i —X k2 X j And X k1 and X k2 If they are not adjacent, then X i —X j Oriented to X i X j ; If X i and X j Adjacent and X i Before X j If X occurs, i —X j Oriented to X i X j ; In this way, each adjacent node is traversed and connected through directed edges. The tail of the directed edge represents the cause, and the arrow represents the result. The direction from the cause to the result represents the causal direction, forming a casting quality causal relationship structure diagram.
9. A device for obtaining causal relationship of quality of integrated casting of aluminum alloy structural parts, characterized in that: It comprises one or more processors for implementing the method for obtaining the causal relationship of the quality of integrated casting of aluminum alloy structural parts according to any one of claims 1-8.
10. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, it is used to implement the method for obtaining the causal relationship of the quality of integrated casting of aluminum alloy structural parts described in any one of claims 1 to 8.
