A satellite receiver fault diagnosis method based on random forest

Through the random forest-based fault diagnosis method, the problem of satellite receiver data noise and high dimensionality is solved, more accurate fault detection and classification is achieved, and the accuracy and efficiency of fault diagnosis are improved.

CN113780351BActive Publication Date: 2024-09-06BEIJING AUTOMATION CONTROL EQUIP INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110913148.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-10
Publication Date
2024-09-06
Estimated Expiration
2041-08-10

Smart Images

  • Figure CN113780351B
    Figure CN113780351B
Patent Text Reader

Abstract

The present invention provides a satellite receiver fault diagnosis method based on random forest, the method comprising: S10, collecting test data of the satellite receiver under various working conditions; S20, obtaining balanced classification sampling data; S30, obtaining preprocessed sample data; S40, obtaining a first sampling sample and a second sampling sample containing data features and data values; S50, generating a decision tree; S60, judging whether the number of generated decision trees reaches a preset number, if so, combining multiple decision trees into a random forest and going to S70, otherwise, going to S40; S70, obtaining a random forest fault diagnosis training model; S80, obtaining a random forest fault diagnosis training model after parameter optimization; S90, obtaining the accuracy of the verified random forest fault diagnosis training model to complete the fault diagnosis of the satellite receiver. The present invention can solve the technical problem that the existing fault diagnosis technology cannot accurately diagnose the fault of the satellite receiver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of satellite navigation fault diagnosis, and in particular to a satellite receiver fault diagnosis method based on random forest. Background Art

[0002] The application of global satellite navigation technology in the fields of national economy, national defense and military is becoming more and more in-depth, and various functions are continuously improved. Users' requirements for satellite navigation accuracy and reliability are increasing. Since the satellite receiver is a relatively complex system, and the environment and interference factors in the test process are different, any component (system internal components, sensors, actuators and other hardware and software) may malfunction or even fail during the long-term operation of the system. If a product failure cannot be discovered in time, it will lead to an extension of the test cycle, loss of personnel energy, and more likely to cause huge military, political and economic losses, resulting in more serious consequences.

[0003] With the emergence of machine learning and artificial intelligence technologies, these advanced algorithms have been successfully applied in the field of fault diagnosis. However, due to the complex characteristics of satellite receivers, their test data contains a lot of noise, and the data set is high-dimensional, and it is impossible to determine their working status based on only a few features. Therefore, existing fault diagnosis technologies cannot accurately diagnose satellite receivers. Summary of the invention

[0004] The present invention provides a satellite receiver fault diagnosis method based on random forest, which can solve the technical problem that the existing fault diagnosis technology cannot accurately diagnose the fault of the satellite receiver.

[0005] According to one aspect of the present invention, a satellite receiver fault diagnosis method based on random forest is provided, the method comprising:

[0006] S10, collecting test data of the satellite receiver under various working conditions, and labeling the test data under each working condition;

[0007] S20, performing balanced classification sampling on the test data under various working conditions to obtain balanced classification sampling data;

[0008] S30, preprocessing the balanced classification sampling data to obtain preprocessed sample data;

[0009] S40, randomly dividing the preprocessed sample data into a training set and a test set, sampling the data features and data values ​​in the training set to obtain a first sampling sample including the data features and data values, and sampling the data features and data values ​​in the test set to obtain a second sampling sample including the data features and data values;

[0010] S50, training the first sampling sample including the data features and the data values ​​to generate a decision tree;

[0011] S60, determining whether the number of generated decision trees reaches a preset number, if so, combining multiple decision trees into a random forest and going to S70, otherwise, going to S40;

[0012] S70, using a voting method to judge the random forest to obtain a random forest fault diagnosis training model;

[0013] S80, optimizing the parameters of the random forest fault diagnosis training model using a grid search method to obtain the random forest fault diagnosis training model after parameter optimization;

[0014] S90. Verify the random forest fault diagnosis training model after parameter optimization using a second sampling sample containing data features and data values ​​to obtain a verified random forest fault diagnosis training model, thereby obtaining the accuracy of the verified random forest fault diagnosis training model to complete the fault diagnosis of the satellite receiver.

[0015] Preferably, in S90, the accuracy of the verified random forest fault diagnosis training model is obtained by the following formula:

[0016]

[0017] Where ACC is the accuracy of the verified random forest fault diagnosis training model, TP is the number of positive labeled data classified as positive examples by the verified random forest fault diagnosis training model, TN is the number of positive labeled data classified as negative examples by the verified random forest fault diagnosis training model, FN is the number of negative labeled data classified as negative examples by the verified random forest fault diagnosis training model, and FP is the number of negative labeled data classified as positive examples by the verified random forest fault diagnosis training model.

[0018] Preferably, in S20, balanced classification sampling is performed on the test data under various working conditions to obtain balanced classification sampling data, including: under-sampling the test data under normal working conditions using a random dilution method, and over-sampling the test data under fault conditions using a SMOTE algorithm to obtain balanced classification sampling data.

[0019] Preferably, in S30, preprocessing the balanced classification sampled data to obtain the preprocessed sample data includes: normalizing, digitizing and unitizing the balanced classification sampled data to obtain the preprocessed sample data.

[0020] Preferably, in S40, the preprocessed sample data is randomly divided into a training set and a test set, data features and data values ​​in the training set are sampled to obtain a first sample containing the data features and data values, and data features and data values ​​in the test set are sampled to obtain a second sample containing the data features and data values, including:

[0021] S41, randomly dividing the preprocessed sample data into a training set and a test set;

[0022] S42, randomly sampling the data features in the training set, and resampling the data values ​​in the training set to obtain a first sampling sample including the data features and the data values;

[0023] S43. Randomly sample the data features in the test set, and resample the data values ​​in the test set to obtain a second sampling sample including the data features and the data values.

[0024] Preferably, in S90, the random forest fault diagnosis training model after parameter optimization is verified using a second sampling sample containing data features and data values, and the verified random forest fault diagnosis training model is obtained, including: using a 10-fold cross-validation method, and verifying the random forest fault diagnosis training model after parameter optimization using a second sampling sample containing data features and data values ​​to obtain a verified random forest fault diagnosis training model.

[0025] Preferably, the multiple operating conditions include normal operating conditions and fault operating conditions, wherein the normal operating condition includes a normal operating state, and the fault operating condition includes a test data frame loss state, a power word excessive jump state, and a filter damage state.

[0026] According to another aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above methods when executing the computer program.

[0027] By applying the technical solution of the present invention, balanced classification sampling is performed on the test data under different working conditions, which effectively solves the problem of unbalanced distribution of sample data; preprocessing is performed on the balanced classification sampling data to facilitate subsequent model calculation and improve the classification accuracy of the random forest fault diagnosis training model; and parameter optimization is performed on the random forest fault diagnosis training model to further improve the classification accuracy of the random forest fault diagnosis training model. The method of the present invention can overcome the defects of the prior art, thereby more quickly and accurately solving the fault detection and classification of the satellite receiver system during long-term operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The included drawings are used to provide a further understanding of the embodiments of the present invention, which constitute a part of the specification, are used to illustrate the embodiments of the present invention, and together with the text description, explain the principles of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 A flowchart of a satellite receiver fault diagnosis method based on random forests according to an embodiment of the present invention is shown;

[0030] Figure 2 A learning curve diagram of the number of iterations of a basic classifier provided according to an embodiment of the present invention is shown;

[0031] Figure 3 A line chart of cross validation provided according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0032] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0034] Unless otherwise specifically stated, the relative arrangement of the parts and steps described in these embodiments, numerical expressions and numerical values ​​do not limit the scope of the present invention. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be regarded as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.

[0035] like Figure 1 As shown, the present invention provides a satellite receiver fault diagnosis method based on random forest, the method comprising:

[0036] S10, collecting test data of the satellite receiver under various working conditions, and labeling the test data under each working condition;

[0037] S20, performing balanced classification sampling on the test data under various working conditions to obtain balanced classification sampling data;

[0038] S30, preprocessing the balanced classification sampling data to obtain preprocessed sample data;

[0039] S40, randomly dividing the preprocessed sample data into a training set and a test set, sampling the data features and data values ​​in the training set to obtain a first sampling sample including the data features and data values, and sampling the data features and data values ​​in the test set to obtain a second sampling sample including the data features and data values;

[0040] S50, training the first sampling sample including the data features and the data values ​​to generate a decision tree;

[0041] S60, determining whether the number of generated decision trees reaches a preset number, if so, combining multiple decision trees into a random forest and going to S70, otherwise, going to S40;

[0042] S70, using a voting method to judge the random forest to obtain a random forest fault diagnosis training model;

[0043] S80, optimizing the parameters of the random forest fault diagnosis training model using a grid search method to obtain the random forest fault diagnosis training model after parameter optimization;

[0044] S90. Verify the random forest fault diagnosis training model after parameter optimization using a second sampling sample containing data features and data values ​​to obtain a verified random forest fault diagnosis training model, thereby obtaining the accuracy of the verified random forest fault diagnosis training model to complete the fault diagnosis of the satellite receiver.

[0045] The present invention performs balanced classification sampling on the test data under different working conditions, effectively solving the problem of unbalanced distribution of sample data; preprocessing the balanced classification sampled data facilitates subsequent model calculation and improves the classification accuracy of the random forest fault diagnosis training model; and optimizing the parameters of the random forest fault diagnosis training model further improves the classification accuracy of the random forest fault diagnosis training model. The method of the present invention can overcome the defects of the prior art, thereby more quickly and accurately solving the fault detection and classification during the long-term operation of the satellite receiver system.

[0046] According to an embodiment of the present invention, the multiple working conditions include normal working conditions and fault working conditions, wherein the normal working condition includes the normal operating state, and the fault working condition includes the test data frame loss state, the power word jump state and the filter damage state. The test data frame loss state means that the transmitted data is discontinuous; the power word jump state means that the power of different positioning systems is interfered to a certain extent; the filter damage state means that the data display situation is that the power word is 0.

[0047] According to an embodiment of the present invention, in S20, balanced classification sampling is performed on the test data under various working conditions to obtain balanced classification sampled data, including: under-sampling the test data under normal working conditions using a random dilution method to dilute data with a larger number of categories; over-sampling the test data under fault conditions using a SMOTE algorithm to supplement data with a smaller number of categories, thereby obtaining balanced classification sampled data.

[0048] Through the above settings, the problem of unbalanced distribution of sample data is effectively solved, so that the number of samples in each working condition category in the training set and the test set can be roughly the same.

[0049] Among them, the SMOTE algorithm uses the Euclidean distance as the standard to calculate the distance from each data to the minority category samples, obtain the k nearest neighbors, and thus supplement the data.

[0050] According to one embodiment of the present invention, in S30, the balanced classification sampled data is preprocessed to obtain the preprocessed sample data, including: normalizing, digitizing and unitizing the balanced classification sampled data to obtain the preprocessed sample data, so as to facilitate subsequent model calculations and improve the classification accuracy of the random forest fault diagnosis training model.

[0051] According to an embodiment of the present invention, in S40, the preprocessed sample data is randomly divided into a training set and a test set, data features and data values ​​in the training set are sampled to obtain a first sample containing the data features and data values, and data features and data values ​​in the test set are sampled to obtain a second sample containing the data features and data values, including:

[0052] S41, randomly dividing the preprocessed sample data into a training set and a test set;

[0053] S42, randomly sampling the data features in the training set, and resampling the data values ​​in the training set to obtain a first sampling sample including the data features and the data values;

[0054] S43. Randomly sample the data features in the test set, and resample the data values ​​in the test set to obtain a second sampling sample including the data features and the data values.

[0055] Among them, random sampling is a sampling method without replacement, randomly sampling m (m <= n) features from n feature indicators. Resampling is also the Bootstrap sampling method. Data values ​​cannot be sampled without replacement, because if the data values ​​are sampled without replacement, the data samples used by each tree will be completely different, the results will be biased, and the similarity between each decision tree will be too small, resulting in poor voting results, which will make the model bias larger. Therefore, the data value sampling uses the Bootstrap method for resampling. This method is with replacement, that is, some data will be sampled repeatedly. For example, for a data set x containing p data features, each time a data feature is selected with replacement, repeated p times, a new data set x1 will be formed, and the above operation will be repeated t times to form t different data sample sets x1,...,x n .

[0056] In S50 of the present invention, the first sampling sample including data features and data values ​​is trained, and generating a decision tree specifically includes: starting from the root node, according to the Gini coefficient minimization criterion, searching for the optimal features and optimal feature values ​​of the sample feature space for a multidimensional sample feature, assigning these sample features to the child nodes of the next layer one by one, and recursively generating subtrees from top to bottom.

[0057] Among them, for the data set D, it is assumed that the data set D has features of K different working condition categories, C k is the number of features of the kth working condition category, then the calculation formula of the Gini coefficient Gini(D) of the data set D is as follows:

[0058]

[0059] In S70 of the present invention, the voting method adopts the majority rule, and the calculation formula is as follows:

[0060]

[0061] In the formula, Label(x) is a random forest, I(C m ,n) is the indicator function, M is the number of decision trees, N is the number of fault categories, m is the mth decision tree, and n is the nth fault category.

[0062] According to an embodiment of the present invention, in S90, the random forest fault diagnosis training model after parameter optimization is verified using a second sampling sample containing data features and data values, and the verified random forest fault diagnosis training model is obtained, including: using a 10-fold cross-validation method, and verifying the random forest fault diagnosis training model after parameter optimization using a second sampling sample containing data features and data values ​​to obtain the verified random forest fault diagnosis training model.

[0063] According to an embodiment of the present invention, in S90, the accuracy of the verified random forest fault diagnosis training model is obtained by the following formula:

[0064]

[0065] Where ACC is the accuracy of the verified random forest fault diagnosis training model, TP is the number of positive labeled data classified as positive examples by the verified random forest fault diagnosis training model, TN is the number of positive labeled data classified as negative examples by the verified random forest fault diagnosis training model, FN is the number of negative labeled data classified as negative examples by the verified random forest fault diagnosis training model, and FP is the number of negative labeled data classified as positive examples by the verified random forest fault diagnosis training model.

[0066] Among them, the accuracy of the verified random forest fault diagnosis training model is obtained through the confusion matrix, and the formula of the confusion matrix is ​​as follows:

[0067]

[0068] Where CM is the confusion matrix, A is the positive example, and B is the negative example.

[0069] The following is an example of a satellite receiver having four working conditions, each of which has 1500 data samples, to specifically illustrate the method of the present invention. In this embodiment, the satellite receiver has four working conditions: normal operation, test data frame loss, excessive power word jump, and filter damage.

[0070] Step 1: Identify each working condition data sample with Arabic numerals 1 to 4; wherein each set of data in the data sample is 20-dimensional, including positioning status, clock error, clock drift, PDOP value, Beidou power word, GPS power word and satellite channel carrier-to-noise ratio, etc.

[0071] Step 2: Perform balanced classification sampling on the test data under four working conditions to obtain balanced classification sampling data, and preprocess the balanced classification sampling data to obtain preprocessed sample data.

[0072] Step 3. Randomly select 70% of the preprocessed sample data as a training set and 30% as a test set, sample the data features and data values ​​in the training set to obtain a first sampling sample containing the data features and data values, and sample the data features and data values ​​in the test set to obtain a second sampling sample containing the data features and data values; wherein the first 20 dimensions in the sample are used as the input of the satellite receiver fault diagnosis model based on random forest, and the 21st dimension is used as the output of the satellite receiver fault diagnosis model based on random forest.

[0073] Step 4: Train the first sample containing data features and data values ​​to generate a decision tree. In this embodiment, the decision tree is used as a basic classifier. Each basic classifier is on a random training set. The bagging algorithm is used to combine the classification results of multiple decision trees. The number of iterations of the basic classifier is adjusted by the grid search method to determine the range of the number of decision trees (ntree) in the random forest model. In this embodiment, the range of decision trees is set to [1,100]. The learning curve of the number of iterations of the basic classifier after the grid search parameter adjustment is as follows: Figure 2 As shown by Figure 2 It can be seen that when the number of basic classifiers (the number of decision trees) is greater than 20, the classification accuracy is maintained above 85%.

[0074] Step 5: Use the second sampling sample containing data features and data values ​​to verify the random forest fault diagnosis training model after parameter optimization to obtain a verified random forest fault diagnosis training model, so that the accuracy of the verified random forest fault diagnosis training model is 90.2%, so as to complete the fault diagnosis of the satellite receiver.

[0075] In this embodiment, the accuracy comparison chart obtained by using a 10-fold cross validation is as follows: Figure 3 As shown by Figure 3 It can be seen that the accuracy of the fault diagnosis training model based on random forest is maintained at more than 88%. After parameter optimization, the random forest greatly reduces the overfitting problem of the model while ensuring the optimal model classification accuracy, thereby realizing fault detection and classification of satellite receiver test data more accurately and reliably.

[0076] Without loss of generality, 10 groups of 10-fold cross validation are used in this embodiment, and the classification accuracy of the model is averaged. The accuracy comparison of the model and other typical classification algorithms is shown in Table 1. The accuracy obtained by using the existing SVM algorithm is 73.5%, the accuracy obtained by using the decision tree algorithm is 84%, and the accuracy obtained by using the method of the present invention is 90.2%, as shown in Table 1. The accuracy of the method of the present invention is improved by 16.7% compared with the accuracy of the SVM algorithm, and by 6.2% compared with the accuracy of the decision tree algorithm, which shows that the accuracy of the method of the present invention for satellite receiver test data fault diagnosis is higher.

[0077] Table 1 Comparison of fault diagnosis results of different algorithms

[0078]

[0079] The classification accuracy under various working conditions is shown in Table 2. Among them, the classification accuracy of filter damage is relatively high, at 93.3%, which is also related to the fact that it is easier to identify as a hardware failure.

[0080] Table 2 Comparison of classification accuracy results under various working conditions

[0081]

[0082] The fault diagnosis method of the present invention is a fault diagnosis based on an integrated learning method of multiple decision trees, which has the advantages of good classification effect, ability to process high-dimensional data, strong anti-overfitting ability, etc. It can well classify satellite navigation test data, thereby achieving the purpose of fault diagnosis.

[0083] According to another aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above methods when executing the computer program.

[0084] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.

[0085] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.

[0086] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A satellite receiver fault diagnosis method based on random forest, characterized in that: The method comprises: S10, collecting test data of the satellite receiver under various working conditions, and labeling the test data under each working condition; S20, performing balanced classification sampling on the test data under various working conditions to obtain balanced classification sampling data; S30, preprocessing the balanced classification sampling data to obtain preprocessed sample data; S40, randomly dividing the preprocessed sample data into a training set and a test set, sampling the data features and data values ​​in the training set to obtain a first sampling sample including the data features and data values, and sampling the data features and data values ​​in the test set to obtain a second sampling sample including the data features and data values; S50, training the first sampling sample including the data features and the data values ​​to generate a decision tree; S60, determining whether the number of generated decision trees reaches a preset number, if so, combining multiple decision trees into a random forest and going to S70, otherwise, going to S40; S70, using a voting method to judge the random forest to obtain a random forest fault diagnosis training model; S80, optimizing the parameters of the random forest fault diagnosis training model using a grid search method to obtain the random forest fault diagnosis training model after parameter optimization; S90, using a second sampling sample including data features and data values ​​to verify the random forest fault diagnosis training model after parameter optimization, to obtain a verified random forest fault diagnosis training model, thereby obtaining the accuracy of the verified random forest fault diagnosis training model, to complete the fault diagnosis of the satellite receiver; Among them, in S90, the accuracy of the verified random forest fault diagnosis training model is obtained by the following formula: Where ACC is the accuracy of the verified random forest fault diagnosis training model, TP is the number of positive labeled data classified as positive examples by the verified random forest fault diagnosis training model, TN is the number of positive labeled data classified as negative examples by the verified random forest fault diagnosis training model, FN is the number of negative labeled data classified as negative examples by the verified random forest fault diagnosis training model, and FP is the number of negative labeled data classified as positive examples by the verified random forest fault diagnosis training model.

2. The method according to claim 1, characterized in that In S20, balanced classification sampling is performed on the test data under various working conditions to obtain balanced classification sampling data, including: under-sampling the test data under normal working conditions by using a random dilution method, and over-sampling the test data under fault conditions by using a SMOTE algorithm to obtain balanced classification sampling data.

3. The method according to claim 1, characterized in that: In S30, preprocessing the balanced classification sampled data to obtain the preprocessed sample data includes: normalizing, digitizing and unitizing the balanced classification sampled data to obtain the preprocessed sample data.

4. The method according to claim 1, characterized in that: In S40, the preprocessed sample data is randomly divided into a training set and a test set, data features and data values ​​in the training set are sampled to obtain a first sample containing the data features and data values, and data features and data values ​​in the test set are sampled to obtain a second sample containing the data features and data values, including: S41, randomly dividing the preprocessed sample data into a training set and a test set; S42, randomly sampling the data features in the training set, and resampling the data values ​​in the training set to obtain a first sampling sample including the data features and the data values; S43. Randomly sample the data features in the test set, and resample the data values ​​in the test set to obtain a second sampling sample including the data features and the data values.

5. The method according to claim 1, characterized in that In S90, the random forest fault diagnosis training model after parameter optimization is verified by using a second sampling sample containing data features and data values, and the verified random forest fault diagnosis training model is obtained, including: using a 10-fold cross-validation method, and verifying the random forest fault diagnosis training model after parameter optimization by using a second sampling sample containing data features and data values, to obtain the verified random forest fault diagnosis training model.

6. The method according to claim 1, characterized in that The various working conditions include normal working conditions and fault working conditions, wherein the normal working condition includes the normal operating state, and the fault working condition includes the test data frame loss state, the power word jump excessive state and the filter damage state.

7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.