A CART-based fatigue state detection method for aircraft structural components

Through the detection and analysis method based on the CART model, the problems of slow speed and inaccuracy of traditional detection methods are solved, the fatigue status of aircraft structural components is quickly and accurately detected, and the detection efficiency and maintenance quality are improved.

CN118278113BActive Publication Date: 2024-09-27NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712403.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-27
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

The traditional fatigue state detection method of aircraft structural components is slow and difficult to achieve quantitative and accurate detection, which affects efficiency and maintenance quality.

Method used

The detection analysis method based on the CART (Classification and Regression Tree) model is used to collect and process multiple detection data, build a feature variable database, generate a decision tree model, and conduct fatigue status detection on aircraft structural components.

Benefits of technology

It realizes rapid detection and analysis of the fatigue status of structural components, improves the objectivity and accuracy of detection, and assists on-site workers in assessing the damage and repair quality of structural components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118278113B
    Figure CN118278113B
Patent Text Reader

Abstract

The present invention relates to the technical field of aircraft structural component detection and analysis, and solves the technical problem that traditional methods have slow detection speed and are difficult to achieve quantitative and accurate detection. In particular, it relates to a CART-based method for detecting the fatigue state of aircraft structural components, including: collecting and processing defect damage type maintenance status data of aircraft structural components; preprocessing the defect damage type maintenance status data and constructing a characteristic variable database; constructing a fatigue state detection model for detecting the fatigue state of aircraft structural components based on the characteristic variable database; and using the fatigue state detection model to detect whether the fatigue state of aircraft structural components exceeds the requirements. The present invention utilizes multiple detection data of aircraft structural components and adopts a detection and analysis method based on a CART model to achieve rapid detection and analysis of the fatigue state of structural components, thereby improving the objectivity and accuracy of detection of damage conditions and maintenance quality of structural components.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of aircraft structural component detection and analysis, and in particular to a CART-based fatigue state detection method for aircraft structural components. Background Art

[0002] During the service of an aircraft, fatigue cracks or external impacts caused by stress concentration can easily lead to structural failure. The integrity of structural components is one of the key factors to ensure the flight safety of an aircraft. During the development of an aircraft, there will be a certain degree of initial defects and damage in the materials or structures. During the use or transportation of the aircraft, damage may also occur due to certain reasons, which will cause certain deviations from the initial design and analysis requirements of the structure.

[0003] Different damages in different parts have different effects on the residual strength of aviation structural components. For certain degree of defect damage in components, the judgment made by traditional manual observation and inspection is highly subjective, and actual misclassification is relatively frequent, which affects the efficiency and judgment of component performance and maintenance quality. Therefore, it is necessary to carry out inspection and analysis of the fatigue state of structural components, so as to take better preventive measures before failure occurs, so as to ensure the overall function of the structure and improve the structural safety quality of the aircraft. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a CART-based fatigue state detection method for aircraft structural components, which solves the technical problems of slow detection speed and difficulty in quantitative and accurate detection in traditional aircraft structural component fatigue state detection methods. The present invention utilizes multiple detection data of aircraft structural components and adopts a detection and analysis method based on the CART (Classification and Regression Tree) model to achieve rapid detection and analysis of the fatigue state of structural components.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a CART-based method for detecting fatigue status of aircraft structural components, the method comprising the following steps:

[0006] S1. Collect and process the defect damage type maintenance status data of aircraft structural components to obtain the comprehensive evaluation results of fatigue cracks of structural components. , Nondestructive testing results , Surface corrosion results , Comprehensive evaluation results of scratch damage , Comprehensive evaluation results of the overall deformation And the flight cycle number evaluation results ;

[0007] S2. Preprocess the defect damage type repair status data and construct a comprehensive evaluation result including fatigue cracks , Nondestructive testing results , Surface corrosion results , Comprehensive evaluation results of scratch damage , Comprehensive evaluation results of the overall deformation And the flight cycle number evaluation results Characteristic variable database;

[0008] S3. constructing a fatigue state detection model for detecting fatigue state of aircraft structural components based on a characteristic variable database;

[0009] S4. Use the fatigue state detection model to detect whether the fatigue state of aircraft structural components exceeds the requirements.

[0010] Furthermore, in step S1, the specific process includes the following steps:

[0011] S11. Scan and photograph the area where the aircraft structural components to be measured are located to obtain corresponding point cloud data and corresponding defect damage image type data, including local defect damage images, scratch damage images and scratch damage location points, structural surface corrosion images, non-destructive testing results and aircraft logbooks;

[0012] S12. Process the collected type data to obtain comprehensive fatigue crack assessment results of structural components , Nondestructive testing results , Surface corrosion results , Comprehensive evaluation results of scratch damage , Comprehensive evaluation results of the overall deformation And the flight cycle number evaluation results .

[0013] Furthermore, in step S12, the specific process includes the following steps:

[0014] S121. Calculate the tensile deformation and bending-torsion deformation of the structural components, and calculate the comprehensive evaluation result of the overall deformation based on the tensile deformation and bending-torsion deformation. , the calculation formula is:

[0015] ;

[0016] in, and are the normalized values ​​of tensile deformation and bending-torsion deformation, respectively; and are the given weights respectively;

[0017] S122. Record the crack length, width and depth of the fatigue crack occurrence site, and obtain the comprehensive evaluation results of fatigue cracks through calculation. ;

[0018] S123, record the scratch damage image and the scratch damage location point cloud, and calculate the comprehensive evaluation result of the scratch damage ;

[0019] S124. Record the surface corrosion image of the structure, analyze the corrosion type and location, and obtain the surface corrosion results by calculation , surface corrosion results The calculation formula is:

[0020] ;

[0021] In the above formula, The evaluation value of the protection of structural components under the degree of exposure to harmful environment; is the weight value, which is used to adjust the contribution of the evaluation factors to the final result; It is an indicator for damage detection;

[0022] S125. Classify the nondestructive testing results to obtain nondestructive testing results , non-destructive testing results It is expressed as:

[0023] ;

[0024] in, , , They represent qualified, unqualified, and need further evaluation respectively;

[0025] S126. Obtain the service life, flight cycle number, inspection period and inspection method, and final maintenance status of the structural components, and use the process judgment method to obtain the flight cycle number evaluation result. , flight cycle number evaluation results The expression is:

[0026] ;

[0027] In the above formula, is the standard evaluation score, which is 1 in this embodiment; They are the weights of the start checkpoint, the structure change point, and the monitoring cycle situation, and in this embodiment, the corresponding values ​​are 0.7, 0.2, and 0.15.

[0028] Furthermore, in step S122, the specific process includes the following steps:

[0029] S1221. Establish factor set P and evaluation set Q based on the single factor evaluation results, which are:

[0030] ;

[0031] ;

[0032] S1222. Establish a comprehensive evaluation matrix based on the factor set P and the evaluation set Q ,Right now:

[0033] ;

[0034] in, is the single factor evaluation value;

[0035] S1223. Determine the weight of each factor in the single factor evaluation result ,Right now:

[0036] ;

[0037] in, is the weight of a single factor;

[0038] S1224, perform fuzzy transformation on the weights of each factor to obtain fuzzy comprehensive evaluation , is the weight and comprehensive evaluation matrix The synthesis of:

[0039] ;

[0040] in, represents a matrix operator;

[0041] S1225. Calculate the comprehensive evaluation results of fatigue cracks , the calculation formula is:

[0042] ;

[0043] In the above formula, m is the fuzzy comprehensive evaluation result The number of components in m, in this embodiment, is 4; is the fuzzy comprehensive evaluation result The Quantity; is the first A quantity.

[0044] Furthermore, in step S3, the specific process includes the following steps:

[0045] S31, dividing the feature variable database into a training set and a test set based on a hierarchical partitioning strategy;

[0046] S32, generating a decision tree CART based on the training set;

[0047] S33, performing CPM comprehensive hierarchical pruning of subtrees on the generated decision tree CART, and selecting the optimal subtree therefrom;

[0048] S34, evaluating the selected optimal subtree, and determining whether the current decision tree model is used as the final fatigue state detection model according to the evaluation result;

[0049] If the optimal subtree improves the accuracy of the result while maintaining a relatively balanced decision tree structure, or further reduces the complexity of the decision tree, the current decision tree model is used as the final fatigue state detection model;

[0050] Otherwise, return to step S32 to re-optimize.

[0051] Furthermore, in step S32, the specific process includes the following steps:

[0052] S321, let the training set be , They correspond to the feature vectors of the training samples respectively; Y represents the maintenance level, reflecting the fatigue state of the structural components;

[0053] S322, perform statistical calculation and analysis on the value of each eigenvector, and obtain the cut-off point value of the eigenvector ;

[0054] S323, according to the split point value Calculate the Gini index of the existing feature vector for the training set D;

[0055] S324, among all possible feature vectors and all their possible split point values In the equation, the eigenvector with the smallest Gini index and its corresponding split point value are selected as the optimal eigenvector and the optimal split point;

[0056] S325, generating multiple child nodes from the current node according to the optimal feature vector and the optimal split point, and distributing the training set to the child nodes according to the feature vector;

[0057] S326. Recursively call steps S322-S325 for the child nodes until the stopping condition is met to generate a decision tree CART.

[0058] Furthermore, in step S33, the specific process includes the following steps:

[0059] S331, treating the generated decision tree CART as the initial subtree, and using the CPM comprehensive algorithm to perform hierarchical pruning on these subtrees;

[0060] S332. For the subtrees obtained after the layered pruning, the square error on the test set is calculated, and the subtree with the best performance on the test set is selected as the optimal subtree.

[0061] Furthermore, in step S331, the specific process includes the following steps:

[0062] S3311, calculate the prediction error for each internal node t of the generated decision tree And the number of leaf nodes Calculate and then Cut off The smallest , and use the updated subtree as ;

[0063] S3312, Assume that the subtree of each node They are all wrong, choose whether to prune based on the error rate;

[0064] S3313. Adjust the pruning scheme based on the minimum classification error probability before and after pruning and select the optimal pruning strategy.

[0065] Furthermore, in step S3312, specifically:

[0066] First, calculate the correction error of the target subtree before pruning , Expected value of number of misjudgments , Standard Deviation , Misjudgment limit ,Right now:

[0067] ;

[0068] ;

[0069] ;

[0070] Secondly, calculate the correction error of the target subtree before pruning:

[0071] ;

[0072] Compare the number of misjudgments before and after pruning. If the following inequality is satisfied, prune; otherwise, do not prune; that is:

[0073] ;

[0074] In the above formula, For the The number of samples that make errors in each leaf node; is the total number of samples contained in the target subtree; L is the total number of leaf nodes.

[0075] Furthermore, in step S3313, specifically:

[0076] Calculate the prediction error rate of each leaf node of the target subtree before pruning, that is:

[0077] ;

[0078] The prediction error rate of the target subtree before pruning is calculated using weighted summation, namely:

[0079] ;

[0080] Calculate the prediction error rate of the target subtree after pruning, that is:

[0081] ;

[0082] Compare the prediction error rates before and after pruning. If the following inequality is satisfied, prune; otherwise, do not prune, that is:

[0083] ;

[0084] In the above formula, Expressed as The leaf nodes belong to samples The number of samples; Expressed as the total number of sample categories; is the total number of samples; is the total number of samples contained in the target subtree; is the sample at node T The number of samples.

[0085] By means of the above technical solution, the present invention provides a CART-based method for detecting fatigue status of aircraft structural components, which has at least the following beneficial effects:

[0086] 1. The present invention uses a training set to construct and train a fatigue state detection model based on a CART decision tree, which can effectively detect and evaluate the damage and fatigue state of structural components, and improve the objectivity and accuracy of the detection of damage and maintenance quality of structural components.

[0087] 2. The present invention can assist on-site workers in detecting whether the fatigue state of structural components exceeds the requirements, realize quantitative evaluation of the fatigue state of structural components, and play an important role in quality monitoring during assembly and damage repair of aircraft structural components. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0089] Figure 1 This is a flow chart of a method for detecting fatigue status of aircraft structural components according to the present invention;

[0090] Figure 2 A comprehensive evaluation and judgment flow chart of the service life of the structural components of the present invention;

[0091] Figure 3 This is a curve diagram showing the effect of the number of flight cycles on the residual strength and crack length of the present invention. DETAILED DESCRIPTION

[0092] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods, so that the implementation process of how the present application uses technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.

[0093] Please refer to Figure 1-Figure 3 , showing a specific implementation of this embodiment. This embodiment uses a training set to construct and train a fatigue state detection model based on a CART decision tree, which can effectively detect and evaluate the damage condition and fatigue state of structural components, and improve the objectivity and accuracy of the detection of damage condition and maintenance quality of structural components.

[0094] Please refer to Figure 1 This embodiment proposes a CART-based method for detecting fatigue status of aircraft structural components, which includes the following steps:

[0095] S1. Collect and process the defect damage type maintenance status data of aircraft structural components to obtain the comprehensive evaluation results of fatigue cracks of structural components. , Nondestructive testing results , Surface corrosion results , Comprehensive evaluation results of scratch damage , Comprehensive evaluation results of the overall deformation And the flight cycle number evaluation results As a preferred implementation of this embodiment, the specific process includes the following steps:

[0096] S11. Scan and photograph the area where the aircraft structural components to be measured are located to obtain corresponding point cloud data and corresponding defect damage image type data, including local defect damage images, scratch damage images and scratch damage location points, structural surface corrosion images, non-destructive testing results and aircraft logbooks;

[0097] S12, process the collected type data, calculate the overall deformation of the structural component according to the measured point cloud data and the digital model, including tensile deformation and bending-torsion deformation; record the location of fatigue cracks, crack length, width, and depth; record scratch damage images and scratch damage location point clouds; record structural surface corrosion images, analyze corrosion types and locations; non-destructive testing results; service life of components, inspection cycles and inspection methods, historical maintenance records, and final maintenance status (normal / abnormal) of components and other information. In this embodiment, a laser scanner or a three-dimensional camera can be used to scan the components to obtain point cloud data. Using a registration algorithm, the collected point cloud data is aligned with the theoretical digital model by identifying common feature points or surfaces. After alignment, compare the differences between the point cloud data and the theoretical digital model. Use algorithms including iterative nearest points to calculate the distance between points in the point cloud data and the theoretical digital model to obtain the overall deformation of the structural component. As a preferred implementation of this embodiment, the specific process includes the following steps:

[0098] S121. Calculate the tensile deformation and bending-torsion deformation of the structural components, and calculate the comprehensive evaluation result of the overall deformation based on the tensile deformation and bending-torsion deformation. In this embodiment, the tensile deformation can be calculated by comparing the distance between the point cloud data and the theoretical numerical model in a specific direction (usually along the tensile direction). For the calculation of the bending and torsion deformation, the bending and torsion deformation can be calculated by comparing the distance between the point cloud data and the theoretical numerical model on a plane perpendicular to the tensile direction.

[0099] The calculated tensile deformation and bending-torsion deformation are normalized respectively, and they are divided by the maximum deformation corresponding to the designed maximum load to obtain the normalized value and . According to the given weight and Perform weighted summation to obtain the comprehensive deformation . Weight and It can be set according to the main load form and force transmission path distribution of the structural components. The final calculation results are the comprehensive evaluation results of the overall deformation, namely:

[0100] ;

[0101] S122. Record the crack length, width and depth of the fatigue crack occurrence site, and obtain the comprehensive evaluation results of fatigue cracks through calculation. ; A fuzzy comprehensive evaluation model is used for fatigue cracks, in which the single factor evaluation indicators considered include: damage visibility, extension sensitivity and sensitivity index, residual strength after damage, and possibility of accidental damage. A comprehensive evaluation matrix is ​​established based on these single factor evaluation results to obtain the comprehensive evaluation results The specific process includes the following steps:

[0102] S1221. Establish factor set P and evaluation set Q based on the single factor evaluation results, which are:

[0103] ;

[0104] ;

[0105] S1222. Establish a comprehensive evaluation matrix based on the factor set P and the evaluation set Q All single factor evaluation results constitute the fuzzy relationship from factor set P to evaluation set Q. Through these single factor evaluation results, the following comprehensive evaluation matrix is ​​established: ,Right now:

[0106] ;

[0107] In the above process, the single factor evaluation result represents the degree of evaluation of the subject on a specific factor. is a single factor evaluation value. To focus on , the object belongs to Comprehensive evaluation matrix This can usually be obtained through past historical maintenance experience.

[0108] S1223. Determine the weight of each factor in the single factor evaluation result ; After establishing the fuzzy relationship, it is necessary to determine the weight of each factor. To determine the weight, the expert estimation method is used. For models with service records or similar models, experts in this field give the weight of each indicator based on their corresponding knowledge and experience. The weight can be expressed as:

[0109] ;

[0110] S1224, perform fuzzy transformation on the weights of each factor to obtain fuzzy comprehensive evaluation ; After fuzzy transformation of the above formula, we can get the fuzzy comprehensive evaluation , which is the weight and comprehensive evaluation matrix The synthesis of:

[0111] ;

[0112] in, Represents a matrix operator, which is used in this embodiment Fuzzy operator.

[0113] S1225. Calculate the comprehensive evaluation results of fatigue cracks , the calculation formula is:

[0114] ;

[0115] In the above formula, m is the fuzzy comprehensive evaluation result The number of components in m, in this embodiment, is 4; is the fuzzy comprehensive evaluation result The Quantity; is the first A quantity.

[0116] S123, record the scratch damage image and the scratch damage location point cloud, and calculate the comprehensive evaluation result of the scratch damage Specific steps are the same as step S122. The fuzzy comprehensive evaluation model is also used for scratch damage. The single factor evaluation indicators considered include: damage visibility, extension sensitivity and sensitivity index, residual strength after damage, and possibility of accidental damage. A comprehensive evaluation matrix is ​​established based on these single factor evaluation results, and finally the comprehensive evaluation results of scratch damage are obtained. .

[0117] S124. Record the surface corrosion image of the structure, analyze the corrosion type and location, and obtain the surface corrosion results by calculation ; The environmental damage assessment method is used to assess the surface corrosion of the structure, taking into account the following factors: the impact of the protection of structural components and the degree of exposure to harmful environments, and the damage detection index. The impact of the protection of structural components and the degree of exposure to harmful environments is calculated and evaluated with reference to the scale, and the resulting assessment value is The smaller the value, the more stringent the inspection is. The scale is as follows:

[0118] ;

[0119] The damage detection index is characterized by the surface area ratio scaling normalization method: including the surface corrosion area on the detected component, the total surface area is the total surface area of ​​the detected component. The scaling factor is used Scale the total surface area to the relative range of the surface corrosion area, that is, the damage detection index The calculation formula is: ;

[0120] Combine the protection of structural components with the impact of exposure to adverse environments and damage detection indicators to form a comprehensive evaluation index , then the surface corrosion result The calculation formula is:

[0121] ;

[0122] In the above formula, The evaluation value of the protection of structural components under the degree of exposure to harmful environment; is the weight value, which is used to adjust the contribution of the evaluation factors to the final result; It is an indicator for damage detection;

[0123] S125. Classify the nondestructive testing results to obtain nondestructive testing results ; According to the NDT test type and detection results as well as the design requirements and safety standards of structural components, the NDT detection results are classified into qualified , unqualified Further evaluation is needed There are three levels of non-destructive testing results It is expressed as:

[0124] ;

[0125] S126. Obtain the service life, flight cycle number, inspection period and inspection method, and final maintenance status of the structural components, and use the process judgment method to obtain the flight cycle number evaluation result. The number of flight cycles reflects the service life of structural components, which is closely related to the number of crack initiation life cycles and the number of final failure life cycles. Figure 2 As shown, and refer to Figure 3 The flight cycle number affects the residual strength and crack length curve shown in the figure, and a comprehensive assessment of the service life of the components is achieved by using process judgment.

[0126] A process judgment method is adopted: according to the historical record information of the aircraft components and the influence of the number of flight cycles on the residual strength and crack length, it is judged whether the number of flight cycles / hours of the current structural components has reached the starting inspection point; if the starting inspection point has not been reached, the comprehensive evaluation index is the standard score; if the starting inspection point has been reached, the comprehensive evaluation index is reduced accordingly, and the reduction is set to 10% of the comprehensive evaluation index, and at the same time, it is judged whether the structural change point has been reached.

[0127] Continue to determine whether the structural change point has been reached. If not, continue to determine the monitoring cycle of the structural components. In this embodiment, if the number of flight cycles / hours is in the first 45% of the monitoring cycle, it is considered to be in the early stage of the cycle and the current score is maintained; if it is in the last 55% of the monitoring cycle to the structural change point, it is considered to be in the middle and late stages of the cycle, and the comprehensive evaluation index is reduced accordingly, and the reduction is set to 10% of the comprehensive evaluation index.

[0128] Continue to determine whether the structural change point has been reached. If so, determine whether the structural components should be replaced. If they have been replaced, the components enter a new life cycle. If they have not been replaced, perform an equivalent fatigue test comparison, and the comprehensive evaluation index will be reduced accordingly, with the reduction set to 45% of the comprehensive evaluation index.

[0129] When determining the weight of each indicator and the reduction of the comprehensive evaluation index, an estimation method can be used based on the data of models with service records or similar models, or field experts can give the weight of each indicator based on their knowledge and experience. The expression is:

[0130] ;

[0131] In the above formula, is the standard evaluation score, which is 1 in this embodiment; They are the weights of the start checkpoint, the structure change point, and the monitoring cycle situation, and in this embodiment, the corresponding values ​​are 0.7, 0.2, and 0.15.

[0132] S2. Preprocess the defect damage type repair status data and construct a comprehensive evaluation result including fatigue cracks , Nondestructive testing results , Surface corrosion results , Comprehensive evaluation results of scratch damage , Comprehensive evaluation results of the overall deformation And the flight cycle number evaluation results feature variable database; since the classification tree in this embodiment uses the Gini index to select the optimal feature and determine the optimal split point of the feature, the feature variable database is first constructed, as shown in the following table:

[0133] ;

[0134] The preprocessing of the defect damage type repair status data includes missing value processing, outlier processing, normalization, etc. First, check whether there are missing values ​​in the data set and use descriptive statistics to detect them.

[0135] Secondly, missing values ​​can be deleted or filled. The filling data is generally based on the data of models with service records or similar models. Secondly, outliers are detected using visualization methods to find outliers in the data. For outliers, replacement is selected or experts in this field give suggestions for adjustment based on relevant knowledge and experience.

[0136] S3. A fatigue state detection model for detecting the fatigue state of aircraft structural components is constructed based on the characteristic variable database. The specific implementation steps are as follows:

[0137] S31. Divide the feature variable database into training set and test set based on the hierarchical partitioning strategy; adopt the hierarchical partitioning strategy: keep the proportion of samples of each category in the training set and the test set the same as that in the original data set. This can reduce the model bias caused by sample imbalance. In hierarchical partitioning, the data is usually grouped according to categories, and then divided according to a certain proportion in each category, 70% of the samples are used for training, and 30% of the samples are used for testing. The data is grouped according to the flight cycle number category.

[0138] S32, generating a decision tree CART based on the training set; the specific implementation steps are as follows:

[0139] S321, let the training set be , where the training set , The feature vectors corresponding to the training samples are uniformly represented as feature A. Y represents the maintenance level, which reflects the fatigue state of the structural components. At this time, for each feature vector, each possible split point value is calculated. According to the node value of the sample point pair, the training set D can be adaptively divided into multiple parts. The Gini index definition formula of the training set D under the condition of the feature is used to calculate the Gini index at the split point value.

[0140] The training set D is adaptively segmented by an algorithm: including calculating and analyzing the value of each feature vector, and using an adaptive algorithm to calculate the split points of the training set.

[0141] S322, perform statistical calculation and analysis on the value of each eigenvector, and obtain the cut-off point value of the eigenvector In this embodiment, the values ​​in each feature vector are statistically calculated and analyzed. If the sample value distribution conforms to the normal distribution, the mean of the sample values ​​in the feature vector is calculated. With standard deviation . Get the sample value cut-off point value , , Or the corresponding split point values ​​can be given based on the data of aircraft models or similar aircraft models with existing service records and relevant aircraft design manual specifications. Or the split point values ​​of the sample values ​​can be given by domain experts based on their knowledge and experience.

[0142] S323, according to the split point value Calculate the Gini index of the existing feature vector for the training set D. The training set D is based on whether feature A takes a possible split point value. Divided into , to Multipart, that is:

[0143] ;

[0144] Under the condition of feature A, the Gini index of training set D is defined as:

[0145] ;

[0146] S324, among all possible feature vectors and all their possible split point values In the equation, the eigenvector with the smallest Gini index and its corresponding split point value are selected as the optimal eigenvector and the optimal split point;

[0147] S325. Generate multiple child nodes from the current node according to the optimal feature vector and the optimal split point, and distribute the training set to the child nodes according to the feature vector. The Gini index for a single feature vector element is:

[0148] ;

[0149] In the above formula, K is the total number of classes in the classification; is the probability that the sample belongs to the Kth class.

[0150] S326. Recursively call steps S322-S325 for the child nodes until the stopping condition is met to generate a decision tree CART.

[0151] S33, perform CPM comprehensive hierarchical pruning of subtrees on the generated decision tree CART, and select the optimal subtree therefrom. The specific implementation steps are as follows:

[0152] S331. Treat the generated decision tree CART as the initial subtree, and use the CPM comprehensive algorithm to perform hierarchical pruning on these subtrees. For each node, we regard its subtree as an independent subtree. The CPM comprehensive algorithm takes into account the cost and complexity of the decision tree, and combines the idea of ​​pessimistic pruning, that is, assuming that the subtree of each node is wrong, and then chooses whether to prune based on the error rate. This can help us choose to minimize the complexity of the decision tree while maintaining the accuracy of the model. Then, use the minimum error pruning algorithm to further adjust the pruning scheme and select the optimal pruning strategy. The specific implementation steps are as follows:

[0153] S3311, calculate the prediction error for each internal node t of the generated decision tree And the number of leaf nodes Calculate and then Cut off The smallest , and use the updated subtree as ; The following formula represents the degree of reduction of the overall loss function after pruning, namely:

[0154] ;

[0155] In the above formula, is a subtree with internal node 0 as the root node, which is the overall tree of the decision tree; is a subtree with internal node t as its node; For the prediction error, the Gini index is used in this example.

[0156] S3312, Assume that the subtree of each node Specifically, we combine the idea of ​​pessimistic pruning, that is, we assume that the subtrees of each node are all wrong, and choose whether to prune based on the error rate. This can help us choose to reduce the complexity of the decision tree as much as possible while maintaining the accuracy of the model.

[0157] First, calculate the correction error of the target subtree before pruning , Expected value of number of misjudgments , Standard Deviation , Misjudgment limit .in For the The number of samples that make errors in each leaf node; is the total number of samples contained in the target subtree; L is the total number of leaf nodes.

[0158] ;

[0159] ;

[0160] ;

[0161] Secondly, calculate the correction error of the target subtree before pruning:

[0162] ;

[0163] Compare the number of misjudgments before and after pruning. If the following inequality is satisfied, prune; otherwise, do not prune; that is:

[0164] .

[0165] S3313, adjust the pruning scheme based on the minimum classification error probability before and after pruning, and select the optimal pruning strategy; calculate the prediction error rate of each leaf node of the target subtree before pruning, where, Expressed as The leaf nodes belong to samples The number of samples; Expressed as the total number of sample categories; is the total number of samples; is the total number of samples contained in the target subtree; is the sample at node T The number of samples.

[0166] ;

[0167] The prediction error rate of the target subtree before pruning is calculated using weighted summation, namely:

[0168] ;

[0169] Calculate the prediction error rate of the target subtree after pruning, that is:

[0170] ;

[0171] Compare the prediction error rates before and after pruning. If the following inequality is satisfied, prune; otherwise, do not prune, that is:

[0172] .

[0173] S332. For the subtrees obtained after layered pruning, calculate their squared errors on the test set, and select the subtree with the best performance on the test set as the optimal subtree. When the performance is no longer improved after pruning, we stop the pruning process. Next, we use the test set to evaluate the optimal subtree and calculate its performance index on the test set to confirm whether the performance of the optimal subtree on the test set meets the requirements.

[0174] S34, evaluate the selected optimal subtree, and determine whether the current decision tree model is used as the final fatigue state detection model based on the evaluation results; in this step, the fatigue state detection model is evaluated for adaptability and verified on the test set. When the performance of the fatigue state detection model meets the requirements, it can be deployed to the actual component fatigue state and defect detection system for real-time monitoring and prediction of the component maintenance status.

[0175] If the optimal subtree improves the accuracy of the result while maintaining a relatively balanced decision tree structure, or further reduces the complexity of the decision tree, the current decision tree model is used as the final fatigue state detection model;

[0176] Otherwise, return to step S32 and optimize again; if the evaluation result shows that the selected optimal subtree does not improve the accuracy of the result while maintaining the relative balance of the decision tree structure, or does not further reduce the complexity of the decision tree, then it is necessary to return to the previous step S32 and re-train and layered pruning to find a more suitable optimal subtree.

[0177] In this embodiment, an independent test set is used to evaluate the trained fatigue state detection model, and the evaluation indicators (accuracy and recall) are calculated to evaluate the performance of the fatigue state detection model. The performance of the fatigue state detection model on the test set is analyzed to determine whether it meets the requirements. If the performance meets the requirements, the next step can be entered.

[0178] In addition, the fatigue state detection model needs to be monitored and maintained, and the performance of the fatigue state detection model in the actual system needs to be regularly monitored to ensure the stability and accuracy of the fatigue state detection model. The fatigue state detection model needs to be updated and maintained according to the actual situation to adapt to the changes and needs of the component fatigue state detection system.

[0179] S4. Use the fatigue state detection model to detect whether the fatigue state of aircraft structural components exceeds the requirements.

[0180] The present invention uses a training set to construct and train a fatigue state detection model based on a CART decision tree, which can effectively detect and evaluate the damage and fatigue state of structural components, and improve the objectivity and accuracy of the detection of damage and maintenance quality of structural components. The above-mentioned application and model can be deployed to the assembly and maintenance stations of structural components, and the RGBD depth camera and processing software can be installed at the measurement and detection station to assist on-site staff in detecting whether the fatigue state of structural components exceeds the requirements, and realize the quantitative evaluation of the fatigue state of structural components, which plays an important role in quality monitoring during the assembly and damage maintenance of aircraft structural components.

[0181] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, so the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0182] The above implementation methods have been described in detail. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A CART-based method for detecting fatigue status of aircraft structural components, characterized in that: The method comprises the following steps: S1. Collect and process the defect damage type maintenance status data of aircraft structural components to obtain the comprehensive evaluation results of fatigue cracks of structural components v, non-destructive testing results C, and surface corrosion results R D , comprehensive evaluation results of scratch damage W, comprehensive evaluation results of overall deformation O` u And the flight cycle number evaluation result S FC The specific process includes the following steps: S11. Scan and photograph the area where the aircraft structural components to be measured are located to obtain corresponding point cloud data and corresponding defect damage image type data, including local defect damage images, scratch damage images and scratch damage location points, structural surface corrosion images, non-destructive testing results and aircraft logbooks; S12. Process the collected type data to obtain the fatigue crack comprehensive evaluation results v, non-destructive testing results C, and surface corrosion results R of the structural components. D , comprehensive evaluation results of scratch damage W, comprehensive evaluation results of overall deformation O` u And the flight cycle number evaluation result S FC The specific process includes the following steps: S121. Calculate the tensile deformation and bending-torsion deformation of the structural components, and calculate the comprehensive evaluation result of the overall deformation based on the tensile deformation and bending-torsion deformation. u , the calculation formula is: O` u =w L ·O` L +w w ·O` W Among them, O` L and O` W are the normalized values ​​of tensile deformation and bending-torsion deformation respectively; w L and w w are the given weights respectively; S122, recording the crack length, width and depth of the fatigue crack occurrence site, and obtaining the fatigue crack comprehensive evaluation result v by calculation, the specific process includes the following steps: S1221. Establish factor set P and evaluation set Q based on the single factor evaluation results, which are: Q={q1(0),q2(1),q3(2)} S1222. Establish a comprehensive evaluation matrix based on the factor set P and the evaluation set Q Right now: Among them, r ij is the single factor evaluation value; S1223. Determine the weight of each factor in the single factor evaluation result Right now: Among them, a i is the weight of a single factor; S1224, perform fuzzy transformation on the weights of each factor to obtain fuzzy comprehensive evaluation Weight and comprehensive evaluation matrix The synthesis of: in, represents a matrix operator; S1225. Calculate the fatigue crack comprehensive evaluation result v, the calculation formula is: In the above formula, m is the fuzzy comprehensive evaluation result The number of components in b i is the fuzzy comprehensive evaluation result The i-th component in q i is the i-th component in the evaluation set Q; S123, recording the scratch damage image and the scratch damage location point cloud, and obtaining the scratch damage comprehensive assessment result W by calculation; S124. Record the surface corrosion image of the structure, analyze the corrosion type and location, and calculate the surface corrosion result R D , surface corrosion result R D The calculation formula is: R D =(1-R E ) + ηR s In the above formula, R E is the evaluation value of the protection of structural components under the degree of exposure to harmful environments; η is the weight value, which is used to adjust the contribution of the evaluation factors to the final result; R S It is an indicator for damage detection; S125. Classify the nondestructive testing results to obtain a nondestructive testing result C. The nondestructive testing result C is expressed as: C={C1(0),C2(1),C3(0.5)} Among them, C2(1), C1(0), and C3(0.5) represent qualified, unqualified, and need further evaluation, respectively; S126. Obtain the service life, flight cycle number, inspection cycle and inspection method, and final maintenance status of the structural components, and use the process judgment method to obtain the flight cycle number evaluation result S FC , flight cycle number evaluation result S FC The expression is: S FC =I ST +w1I 开始检查点 +w2I 结构更改点 +w3I 监控周期情况 In the above formula, I ST is the standard evaluation score; w1, w2, and w3 are the weights of the start checkpoint, structure change point, and monitoring cycle situation, respectively; S2. Preprocess the defect damage type maintenance status data and construct a comprehensive evaluation result v of fatigue crack, nondestructive testing result C, surface corrosion result R D , comprehensive evaluation results of scratch damage W, comprehensive evaluation results of overall deformation O` u And the flight cycle number evaluation result S FC Characteristic variable database; S3. Constructing a fatigue state detection model for detecting fatigue state of aircraft structural components based on the characteristic variable database, the specific process includes the following steps: S31, dividing the feature variable database into a training set and a test set based on a hierarchical partitioning strategy; S32, generating a decision tree CART based on the training set; S33, performing CPM comprehensive hierarchical pruning of subtrees on the generated decision tree CART, and selecting the optimal subtree therefrom; S34, evaluating the selected optimal subtree, and determining whether the current decision tree model is used as the final fatigue state detection model according to the evaluation result; If the optimal subtree improves the accuracy of the result while maintaining a relatively balanced decision tree structure, or further reduces the complexity of the decision tree, the current decision tree model is used as the final fatigue state detection model; Otherwise, return to step S32 and optimize again; S4. Use the fatigue state detection model to detect whether the fatigue state of aircraft structural components exceeds the requirements.

2. The fatigue state detection method according to claim 1, characterized in that: In step S32, the specific process includes the following steps: S321, let the training set be D = {v, C, R D ,W,O` u ,S FC ,Y},v,C,R D ,W,O` u ,S FC ,Y correspond to the feature vectors of the training samples respectively; Y represents the maintenance level, reflecting the fatigue state of the structural components; S322, performing statistical calculation and analysis on the value of each eigenvector, and obtaining the cut-off point value a of the eigenvector; S323, calculating the Gini index of the existing feature vector for the training set D according to the split point value a; S324, among all possible feature vectors and all possible split point values ​​a thereof, select the feature vector with the smallest Gini index and its corresponding split point value as the optimal feature vector and the optimal split point; S325, generating multiple child nodes from the current node according to the optimal feature vector and the optimal split point, and distributing the training set to the child nodes according to the feature vector; S326. Recursively call steps S322-S325 for the child nodes until the stopping condition is met to generate a decision tree CART.

3. The fatigue state detection method according to claim 1, characterized in that: In step S33, the specific process includes the following steps: S331, treating the generated decision tree CART as the initial subtree, and using the CPM comprehensive algorithm to perform hierarchical pruning on these subtrees; S332. For the subtrees obtained after the layered pruning, the square error on the test set is calculated, and the subtree with the best performance on the test set is selected as the optimal subtree.

4. The fatigue state detection method according to claim 3, characterized in that: In step S331, the specific process includes the following steps: S3311, calculate the prediction error C(t) and the number of leaf nodes |T| for each internal node t of the generated decision tree, and then cut off the smallest T in a(t) in T0 t , and take the updated subtree as T t ; S3312, assume that the subtree T of each node t They are all wrong, choose whether to prune based on the error rate; S3313. Adjust the pruning scheme based on the minimum classification error probability before and after pruning and select the optimal pruning strategy.

5. The fatigue state detection method according to claim 4, characterized in that: In step S3312, specifically: First, calculate the corrected error Error(T), the expected value of the number of misjudgments E(T), the standard deviation std(T), and the upper limit of misjudgments E(T)+std(T) of the target subtree before pruning, that is: Secondly, calculate the correction error of the target subtree before pruning: E(Leaf)=error(Leaf)+0.5 Compare the number of misjudgments before and after pruning. If the following inequality is satisfied, prune; otherwise, do not prune; that is: E(Leaf) <E(T)+std(T) In the above formula, error(Leaf i ) is the number of samples with errors in the i-th leaf node; N(T) is the total number of samples contained in the target subtree; L is the total number of leaf nodes.

6. The fatigue state detection method according to claim 4, characterized in that: In step S3313, specifically: Calculate the prediction error rate of each leaf node of the target subtree before pruning, that is: The prediction error rate of the target subtree before pruning is calculated using weighted summation, namely: Calculate the prediction error rate of the target subtree after pruning, that is: Compare the prediction error rates before and after pruning. If the following inequality is satisfied, prune; otherwise, do not prune, that is: Error(T) <Error(Leaf) In the above formula, n k (Leaf i ) represents the number of samples belonging to sample K at the i leaf node; K represents the total number of sample categories; N(Leaf i ) is the total number of samples; N(T) is the total number of samples contained in the target subtree; n k (T) is the number of samples belonging to sample K at node T.