Underwater propeller fault diagnosis method and system based on predictive beat dynamic adjustment
By using the gray prediction model and modified Bayes algorithm in underwater propeller fault diagnosis, dynamically adjusting the prediction rhythm, and combining it with the fuzzy support vector domain description algorithm, the problem of insufficient fault identification accuracy in the existing technology is solved, and a higher level of accuracy is achieved. The fault identification accuracy and smaller error.
Patent Information
- Application Number
- CN202310330916.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-30
AI Technical Summary
The existing technology has limited fault level identification accuracy in underwater robot thruster fault state monitoring, especially in the transitional stage of closed-loop control to re-track the target state after a thruster failure, the identification accuracy is insufficient.
An underwater propeller fault diagnosis method based on dynamic adjustment of predicted beats is adopted. By establishing a gray prediction model and modified Bayes algorithm, fault characteristics are extracted, the predicted beats are dynamically adjusted, and a fault identification model is established based on the fuzzy support vector domain description algorithm to improve fault diagnosis. Identification accuracy.
The fault identification accuracy is significantly improved, the average absolute error, average relative error and root mean square error between the identification results and the true fault degree are reduced, and the accuracy of fault diagnosis is improved.
Smart Images

Figure CN116340827B
Abstract
Description
Technical Field
[0001] The invention relates to underwater robot propeller fault detection, and in particular to an underwater propeller fault diagnosis method and system based on predicted beat dynamic adjustment. Background Art
[0002] With the development of science and technology, underwater robots, as the main equipment for exploring marine resources, have incomparable advantages. For underwater robots, thrusters, as key components, play a key role in the process of marine exploration. In order to determine whether the underwater robot is operating normally, thruster status monitoring is very necessary.
[0003] Regarding the state monitoring of the thruster, in the prior art, such as the Chinese patent application with publication number CN107132760A, a method for underwater robot state monitoring based on fuzzy support vector domain description is disclosed, wherein a monitoring model is constructed and the underwater robot thruster data sample is brought into the monitoring model, which can not only determine whether there is a thruster fault, but also determine the degree of the thruster fault. However, since the underwater robot is a large inertia system, there is a transition stage in the time it takes for the closed-loop control to re-track the target state after the thruster fails. During this transition stage, the fault degree identification accuracy of this scheme is limited.
[0004] For example, in the prior art, a paper titled "Fault degree identification method for thruster of autonomous underwater vehicle using homomorphic membership function and low frequency trend prediction" published in the journal Proceedings of The Institution of Mechanical Engineers Part C-Journal of Mechanical Engineering Science proposes a method for predicting and compensating thruster fault degree identification results, which improves fault identification accuracy by using single-path least squares prediction and fixed prediction cycle. However, the improvement in fault identification accuracy of this scheme is limited. Summary of the invention
[0005] Purpose of the invention: In view of the above shortcomings, the present invention provides an underwater thruster fault diagnosis method based on predicted beat dynamic adjustment to improve fault identification accuracy.
[0006] The present invention also provides an underwater propeller fault diagnosis system based on dynamic adjustment of predicted beat.
[0007] Technical solution: To solve the above problems, the present invention adopts an underwater propeller fault diagnosis method based on predicted beat dynamic adjustment, comprising the following steps:
[0008] (1) Collect dynamic signals of underwater robots;
[0009] (2) Establish a grey prediction model; obtain the time series of the dynamic signal at the current moment, perform grey prediction on the time series, and obtain the predicted trajectory;
[0010] (3) Extract fault features from the prediction trajectory based on the modified Bayesian algorithm to obtain the fault feature prediction sequence;
[0011] (4) Obtain the slope K of the fault feature prediction sequence and select the characteristic value of the Nth prediction cycle in the fault feature prediction sequence. The calculation formula of N is:
[0012] ,
[0013] Among them, a and b are constants obtained from experiments. A characteristic value of a prediction beat is selected from the fault feature prediction sequence as the fault feature value at the current moment;
[0014] (5) Bringing the selected fault feature value into the fault identification model, wherein the fault identification model is established through an underwater propeller fault test, performing underwater propeller fault identification, and obtaining the fault degree of the underwater propeller at the current moment; the specific content of establishing the fault identification model is: conducting an underwater propeller fault test, obtaining the dynamic signal of the underwater robot, extracting the fault feature from the dynamic signal based on the modified Bayesian algorithm, and establishing the fault identification model based on the fault feature using the fuzzy support vector domain description algorithm;
[0015] (6) Obtain the time series of the next time cycle, repeat steps (2) to (5), and obtain the fault degree of the thruster in the next time cycle.
[0016] Furthermore, in the step (2), multi-path grey prediction is performed on the dynamic signal to establish a multi-path grey fusion prediction model; the time series of the dynamic signal at the current moment is obtained, the time series is overlapped and sampled to obtain multiple single path sequences, grey prediction is performed on each single path sequence to obtain multiple single path prediction results, and the multiple single path prediction results are fused into a prediction trajectory of one path based on K-means clustering analysis.
[0017] Furthermore, the specific steps of obtaining the time series of the dynamic signal at the current moment in step (2) and performing overlapping sampling on the time series to obtain multiple single path sequences are as follows:
[0018] (2.1) Using a length of LThe dynamic signal is intercepted by the time window, starting from the current moment and extracting L data, the length is L Time series: ;
[0019] (2.2) For time series Overlap sampling is performed to obtain multiple single path sequences. The data length of each single path sequence is l ,total L-l+1 A single path sequence, that is, , , …, ;
[0020] (2.3) For each single path sequence Perform wavelet decomposition to obtain wavelet scale components and wavelet detail component ,in, ;
[0021] (2.4) Based on the grey prediction theory, the wavelet scale component Forward Prediction The beat data is used to obtain the predicted data sequence :
[0022] ;
[0023] (2.5) In predicting data series The wavelet detail components of the original sequence are superimposed , and obtain the predicted trajectory of amplitude reconstruction .
[0024] The present invention also provides an underwater propeller fault diagnosis system based on predicted beat dynamic adjustment, comprising a collection module for collecting dynamic signals of an underwater robot;
[0025] Model building module: used to build a grey prediction model; obtain the time series of the dynamic signal at the current moment, perform grey prediction on the time series, and obtain the prediction trajectory;
[0026] The fault feature value acquisition module is used to extract fault features from the prediction trajectory based on the modified Bayesian algorithm to obtain a fault feature prediction sequence; obtain the slope K of the fault feature prediction sequence, select the feature value of the Nth prediction beat in the fault feature prediction sequence, and the calculation formula of N is:
[0027] ,
[0028] Among them, a and b are constants obtained from experiments. A characteristic value of a prediction beat is selected from the fault feature prediction sequence as the fault feature value at the current moment;
[0029] The fault identification module is used to bring the selected fault characteristic value into the fault identification model. The fault identification model is established through the underwater propeller fault test, and the underwater propeller fault is identified to obtain the fault degree of the underwater propeller.
[0030] Beneficial effect: Compared with the prior art, the significant advantage of the present invention is that by dynamically adjusting the predicted beat during thruster fault diagnosis, the fault identification accuracy can be improved, and the mean absolute error, mean relative error, and root mean square error between the identification result and the actual fault degree can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of the diagnostic method of single-path grey prediction and dynamic adjustment of prediction rhythm in the present invention.
[0032] Figure 2 It is a flow chart of the diagnostic method of multi-path grey fusion prediction and dynamic adjustment of prediction rhythm in the present invention.
[0033] Figure 3 It is a waveform diagram of the propeller control voltage signal collected by the present invention.
[0034] Figure 4 It is a waveform diagram of the propeller speed signal collected by the present invention.
[0035] Figure 5 It is a schematic diagram of the process of multi-path gray fusion and dynamic adjustment of predicted beats for collected signals in the present invention.
[0036] Figure 6 It is a schematic diagram comparing the single-path grey prediction fault degree diagnosis with the actual fault degree and the fault degree diagnosed by the prior art solution.
[0037] Figure 7 It is a schematic diagram comparing the fault degree diagnosis predicted by grey fusion of multiple paths in the present invention with the actual fault degree and the fault degree diagnosed by the prior art solution. DETAILED DESCRIPTION
[0038] like Figure 1 As shown, in this embodiment, a method for underwater thruster fault diagnosis based on single-path grey prediction beat dynamic adjustment is provided. Figure 2 The figure shows a method for underwater propeller fault diagnosis based on dynamic adjustment of predicted beat and multi-path grey fusion prediction. Figure 2 The multi-path grey fusion prediction is taken as an example to illustrate.
[0039] like Figure 2 As shown, in this embodiment, a method for underwater thruster fault diagnosis based on multi-path grey fusion prediction is provided, and the specific steps are as follows:
[0040] The first step is to conduct a fault test on the underwater robot propeller and record the dynamic signals of the underwater robot, including dynamic signals such as the propeller control voltage signal and the longitudinal speed signal of the underwater robot;
[0041] In the second step, the fault features are extracted from the acquired dynamic signals based on the modified Bayesian algorithm, and the fault identification model is established based on the fault features and the fuzzy support vector domain description algorithm;
[0042] The third step is to collect the dynamic signal of the underwater robot in real time, using a length of L The collected dynamic signal is intercepted by the time window, starting from the current moment, L data are extracted to the left in sequence to obtain a time series with a length of L .
[0043] The fourth step is to extract the time series Overlap sampling is performed to obtain multiple single path sequences. The data length of each single path sequence is l ,total L - l+ 1 single path, namely:
[0044] , , …, .
[0045] like Figure 1 As shown, for the underwater thruster fault diagnosis method of single-path grey prediction, the overlapping sampling of the time series in this step is not performed, and the extracted time series is directly subjected to wavelet decomposition in the fifth step.
[0046] Step 5: For the first single path sequence Perform wavelet decomposition to obtain wavelet scale components and wavelet detail component .
[0047] The sixth step is to transform the wavelet scale component based on the grey prediction theory. Forward Prediction The beat data is used to obtain the predicted data sequence :
[0048] ;
[0049] The specific content of grey prediction theory is: Generate new sequences by adding them up in sequence , and the series obtained by the cumulative generation process Generate neighbor values:
[0050] ,
[0051] Among them, the right Also called the generation coefficient, , is the whitened background value.
[0052] Building differential equations , where is the development coefficient, is the amount of ash action.
[0053] , , , ,
[0054] The grey prediction model can be expressed as , solved by the least squares method and The minimum estimated value of , so the corresponding white differential equation is , solving the whitened differential equation yields the prediction equation:
[0055] ;
[0056] Finally, the prediction sequence is obtained by cumulative reduction using the prediction equation.
[0057] Step 7: Predicting the data sequence The wavelet detail component of the original data is superimposed , and obtain the predicted trajectory of amplitude reconstruction : ;
[0058] Step 8: For each single path , ,……, Repeat steps 5 to 7 to obtain multiple single-branch path prediction results, namely , ,……, .
[0059] The ninth step is to cluster the multiple path prediction results based on K-means cluster analysis. , , ,……, Merge into one path .
[0060] Step 10: Based on the modified Bayesian algorithm, the fusion path Extract fault features from the .
[0061] Step 11: Calculate the fault feature prediction sequence The slope K.
[0062] Step 12: Select the fault feature prediction sequence The feature value of the Nth predicted beat in , as the fault feature value at the current moment, the selection of N and the fault feature prediction sequence When the slope K is larger, N is smaller; when the slope K is smaller, N is larger. The relationship between N and K is shown in formula (12).
[0063] (12)
[0064] In the formula, K is the slope, a and b are constants, and the specific values are obtained through multiple tests;
[0065] Step 13: The fault characteristic value Substitute it into the fault identification model, perform thruster fault identification, and obtain the fault degree of the thruster at the current moment.
[0066] In the fourteenth step, for the collected dynamic signal, the time window of length L is moved to the right by one time beat, and steps three to thirteen are repeated to identify the degree of propeller failure in the next time beat.
[0067] like Figure 3 and Figure 4 As shown, in this embodiment, a propeller fault test of an underwater robot is performed to obtain dynamic signals such as a propeller control voltage signal and a longitudinal speed signal of the underwater robot. During the test, the target speed of the underwater robot is set to 0.4 m / s through closed-loop control, and the underwater robot starts from rest. The speed of the underwater robot gradually increases. At the 100th beat, the underwater robot reaches 0.4 m / s and starts to run at a uniform speed of 0.4 m / s. At the 300th beat, a slow-changing fault occurs in the propeller until the end of the test.
[0068] like Figure 5 As shown, the collected dynamic signals are subjected to multi-path gray fusion and dynamic adjustment of the predicted beat, as shown in Figure 5 (a) shows that the length is L =180 time window interception Figure 3 The data from beat 251 to beat 430 is used as sample data. .
[0069] like Figure 5 (b) shows that Figure 5 (a) Data Overlap sampling is performed to obtain multiple single paths. The data length of each single path is l =160, total L - l+ 1 = 21 single paths , ,……, .
[0070] like Figure 5 As shown in (c), for the first single path sequence Perform wavelet decomposition to obtain wavelet scale components and wavelet detail component .
[0071] like Figure 5 As shown in (d), based on the grey prediction theory, the wavelet scale component Forward Prediction The beat data is used to obtain the predicted data sequence .
[0072] like Figure 5 (e) shows that in the prediction data series The wavelet detail component of the original data is superimposed , and obtain the predicted trajectory of amplitude reconstruction .
[0073] like Figure 5 (f) shows that the same method is used for a single path , ,……, Prediction and amplitude reconstruction are performed separately to obtain multiple single path prediction results, namely , ,……, .
[0074] like Figure 5 As shown in (g), the multi-path prediction results are clustered based on K-means clustering analysis. , , ,……, Merge into one path .
[0075] like Figure 5 (h) shows the modified Bayesian algorithm from the fusion path Extract fault features from the , calculate the fault feature prediction sequence The slope K = 4.438, calculated , 846 is the rounded data. Select the fault feature prediction sequence The eigenvalue of the 846th predicted beat in , the fault characteristic value Substitute it into the fault identification model to perform thruster fault identification and obtain a fault degree of 22.374%. This fault degree 22.374% is used as the thruster fault degree identification result at the current actual moment (430th beat).
[0076] like Figure 6 As shown, the fault degree diagram of the underwater thruster fault diagnosis method based on single-path grey prediction and dynamic adjustment of prediction beat is closer to the actual fault degree than the known method 1 and the known method 2 provided in the background technology.
[0077] like Figure 7 As shown in the figure, the fault degree diagram of the underwater thruster fault diagnosis method based on multi-path grey fusion prediction and dynamic adjustment of prediction beat, in view of the problem that the fault degree identification results obtained by the known method 1 and the known method 2 lag behind the actual fault degree, the effectiveness of the method of this embodiment in reducing the lag of the fault identification results is compared through experimental error indicators. The error calculation formula is as follows:
[0078] Mean absolute error: ;
[0079] Average relative error: ;
[0080] Root Mean Square Error:
[0081] The error index analysis table is as follows:
[0082] Fault severity identification method Mean absolute error Mean relative error Root mean square error Known method 1 0.156 0.759 0.091 Known method 2 0.069 0.350 0.064 Example 1 0.023 0.165 0.050 Example 2 0.017 0.129 0.043
[0083] Among them, the mean absolute error, mean relative error and root mean square error of the known method 1 are 0.156, 0.759 and 0.091 respectively, the errors of the known method 2 are 0.069, 0.350 and 0.064 respectively, and the errors of the single-path grey prediction method are 0.023, 0.165 and 0.050, which are better than the known methods 1 and 2. For the single-path grey prediction, the fault identification accuracy can be improved to a certain extent by dynamically adjusting the prediction beat. The multi-path grey fusion prediction method reaches 0.017, 0.129 and 0.043, which is better than the known methods 1, 2 and the single-path grey prediction method.
Claims
1. A method for underwater propeller fault diagnosis based on dynamic adjustment of predicted beat, characterized in that: The following steps are involved: (1) Collect dynamic signals of underwater robots; (2) Establish a grey prediction model; obtain the time series of the dynamic signal at the current moment, perform grey prediction on the time series, and obtain a predicted trajectory; perform multi-path grey prediction on the dynamic signal and establish a multi-path grey fusion prediction model; obtain the time series of the dynamic signal at the current moment, perform overlapping sampling on the time series, obtain multiple single-branch path sequences, perform grey prediction on each single-branch path sequence, obtain multiple single-branch path prediction results, and fuse the multiple single-branch path prediction results into a predicted trajectory of one path based on K-means clustering analysis; (3) Extract fault features from the prediction trajectory based on the modified Bayesian algorithm to obtain the fault feature prediction sequence; (4) Obtain the slope K of the fault feature prediction sequence and select the characteristic value of the Nth prediction cycle in the fault feature prediction sequence. The calculation formula of N is: , Among them, a and b are constants obtained from experiments. A characteristic value of a prediction beat is selected from the fault feature prediction sequence as the fault feature value at the current moment; (5) Bringing the selected fault feature value into the fault identification model, wherein the fault identification model is established through an underwater propeller fault test, performing underwater propeller fault identification, and obtaining the fault degree of the underwater propeller at the current moment; the specific content of establishing the fault identification model is: conducting an underwater propeller fault test, obtaining the dynamic signal of the underwater robot, extracting the fault feature from the dynamic signal based on the modified Bayesian algorithm, and establishing the fault identification model based on the fault feature using the fuzzy support vector domain description algorithm; (6) Obtain the time series of the next time cycle, repeat steps (2) to (5), and obtain the fault degree of the thruster in the next time cycle.
2. The underwater propeller fault diagnosis method according to claim 1, characterized in that: The specific steps of obtaining the time series of the dynamic signal at the current moment in step (2) and performing overlapping sampling on the time series to obtain multiple single path sequences are as follows: (2.1) Using a length of L The dynamic signal is intercepted by the time window, starting from the current moment and extracting L data, and the length is L Time series: ; (2.2) For time series Overlap sampling is performed to obtain multiple single path sequences, and the data length of each single path sequence is l ,total L-l+1 A single path sequence, that is, , , …, .
3. The underwater propeller fault diagnosis method according to claim 2, characterized in that: The specific steps of performing grey fusion prediction on each single path sequence are as follows: (2.3) For each single path sequence Perform wavelet decomposition to obtain wavelet scale components and wavelet detail component ,in, ; (2.4) Based on the grey prediction theory, the wavelet scale component Forward Prediction The beat data is used to obtain the predicted data sequence : ; (2.5) In predicting data series The wavelet detail components of the original sequence are superimposed , and obtain the predicted trajectory of amplitude reconstruction .
4. The underwater propeller fault diagnosis method according to claim 3, characterized in that: The grey prediction theory is specifically as follows: For the original sequence Generate new sequences by adding them up in sequence , for the generated new sequence Generate neighbor values: , in, is the generation coefficient, ; is the whitened background value; Set up the differential equation: ;in, is the development coefficient, is the ash action amount; Establishing grey prediction model: ;in: , , , ; Solving by least squares method and The minimum estimated value of , so the corresponding whitened differential equation is , solving the whitened differential equation yields the prediction equation: ; The prediction sequence is obtained by cumulative reduction of the prediction equation.
5. The underwater propeller fault diagnosis method according to claim 3, characterized in that: Based on K-means clustering analysis, multiple single path prediction results are , , ,……, Merge into one path ; Based on the modified Bayesian algorithm, the fusion path Extract fault features from the .
6. A diagnostic system for the underwater propulsion unit fault diagnosis method according to any one of claims 1 to 5, characterized in that: It includes a collection module for collecting dynamic signals of the underwater robot; Model building module: used to build a grey prediction model; obtain the time series of the dynamic signal at the current moment, perform grey prediction on the time series, and obtain the prediction trajectory; The fault feature value acquisition module is used to extract fault features from the prediction trajectory based on the modified Bayesian algorithm to obtain the fault feature prediction sequence; obtain the slope K of the fault feature prediction sequence, select the feature value of the Nth prediction beat in the fault feature prediction sequence, and the calculation formula of N is: , Among them, a and b are constants obtained from experiments. A characteristic value of a prediction beat is selected from the fault feature prediction sequence as the fault feature value at the current moment; The fault identification module is used to bring the selected fault characteristic value into the fault identification model. The fault identification model is established through the underwater propeller fault test, and the underwater propeller fault is identified to obtain the fault degree of the underwater propeller.
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 steps of the method described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
