Method for rapidly generating sacrificial anode potential detection report based on Matlab

Matlab automatically processes the sacrificial anode potential detection data of offshore wind farms, generates 3D graphics and detection conclusions, and automatically creates reports, which solves the problem of low efficiency in offshore wind farm detection and achieves efficient and accurate detection report generation.

CN118709671AActive Publication Date: 2024-09-27THREE GORGES NEW ENERGY OFFSHORE WIND POWER OPERATION & MAINTENANCE JIANGSU CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410724290.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-27
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

The work efficiency of sacrificial anode potential detection in offshore wind farms is low, highly repeatable, and consumes a lot of manpower and material resources. The existing technology cannot be effectively optimized.

Method used

Based on Matlab, the method of quickly generating sacrificial anode potential detection reports automatically identifies data, generates 3D graphics and detection conclusions, automatically creates word documents, and realizes automated processing of data tables, graphics and conclusions, saving manpower and material resources and improving detection accuracy.

Benefits of technology

It realizes the rapid generation of graphics and conclusions for large batches of data, saves manpower and material resources, improves the accuracy of detection data, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709671A
    Figure CN118709671A
Patent Text Reader

Abstract

A method for rapidly generating a sacrificial anode potential detection report based on Matlab comprises the following steps: starting to read data, checking whether 360-degree detection data exists or not, and if so, directly generating a 3D graph; if not, automatically converting the 0-degree data into 360-degree data, and automatically generating a 3D graph after checking to be correct; data screening is carried out, and the number of fans is automatically classified and checked; identifying the interval of the data, automatically classifying and screening according to the size of the data, and automatically generating a corresponding conclusion type; and automatically creating a word document, and automatically generating a fan detection report according to a sequence of'detection table-detection 3D graph-detection conclusion 'of a single fan. According to the method, the problem that the offshore wind power sacrificial anode detection data report is difficult to process can be effectively solved, and graph and conclusion generation of mass data is achieved in a one-key mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of detection report generation, and in particular relates to a method for quickly generating a sacrificial anode potential detection report based on Matlab. Background Art

[0002] According to relevant standards, offshore wind farms need to conduct sacrificial anode potential detection on all wind turbines every year. The mode of data collection, data processing and test data report writing is relatively simple, and its biggest feature is mechanical repetitiveness and low efficiency, that is, "effort" and "return" are not proportional, which seriously consumes manpower and material resources. Therefore, a new method is urgently needed to optimize the working mode and realize the maximum utilization of human and material resources. So far, there has been no relevant report to conduct research and analysis in this regard, and most of them are based on repetitive work. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method for quickly generating a sacrificial anode potential detection report based on Matlab, which can automatically identify data, and based on this, generate corresponding 3D graphics and detection conclusions, and automatically create a word document, and generate a detection report with the generated data table, 3D graphics and detection conclusions, saving a lot of manpower and material resources, and at the same time, it can also improve the accuracy of data detection.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: The method for quickly generating a sacrificial anode potential detection report based on Matlab is as follows: Start reading data and check whether there is 360° detection data. If there is, directly generate 3D graphics; if not, automatically convert 0° data into 360° data. After checking, automatically generate 3D graphics. The significance of this step is that when creating 3D graphics, 360° data is required as graphics production needs; Carry out data screening and automatically classify and check the number of fans. The purpose of this step is to verify whether the number of fans is consistent with the input number of fans and to determine the number of cycles.

[0005] Identify the interval where the data is located, automatically classify and filter the data according to its size, and automatically generate the corresponding conclusion type. The significance of this step is that it can automatically identify the data type, draw test conclusions, avoid manual screening, and improve the accuracy of test data.

[0006] Automatically create a word document and automatically generate a fan inspection report in the order of "inspection table - inspection 3D graphics - inspection conclusion" for a single fan. The significance of this step is that the fan sacrificial anode potential inspection report can be generated with one click, saving a lot of manpower and material resources.

[0007] Preferably, the steps of performing data screening and automatically classifying and checking the number of fans are as follows: Perform a potential value condition judgment: Judgment condition 1: The potential value of the fan > 1.1V; Judgment condition 2: The potential value of the fan > 0.8V; If judgment condition 1 is satisfied, output conclusion 1; proceed to the next fan judgment; If judgment condition 1 is not satisfied, then perform the determination of judgment condition 2; if judgment condition 2 is satisfied, output conclusion 2 and proceed to the next fan judgment; if judgment condition 2 is not satisfied, output conclusion 3 and proceed to the next fan judgment.

[0008] Preferably, the process of automatically converting 0° data to 360° data is as follows: 1) Data preprocessing stage: Data integrity check and filling algorithm: Input: The original data set D = {di∣di=(ai,pi)}, where ai is the measured angle and pi is the corresponding potential value; 2) Process: Traverse D to check if there is a data point with a = 360°; If it is missing, select the data point (a0,p0) with a = 0°, and construct a new data point (360°,p0) and add it to D; After ensuring data integrity, use the z-score normalization method to normalize the data, converting the potential value pi to the same scale for subsequent analysis; 3) Output: The completed and normalized data set D′.

[0009] Preferably, the process of data screening and classification: 1) Set the potential value condition classification algorithm: Input: The completed and normalized data set D′; 2) Process: For each data point di′=(ai′,pi′), classify it according to the potential value pi′; The classification logic is based on the preset thresholds θ1 = 1.1 and θ2 = 0.8. If pi′>θ1, it is classified into category C1. If θ2 < pi′≤θ1, it is classified into category C2. The rest are classified into category C3; 3) Output: The classification result set C = {Cj∣Cj⊂D′,j∈{1,2,3}}.

[0010] Preferably, the 3D graphics generation process: 1) Establish a three-dimensional visualization model: Input: The data subset Cj after screening and classification, which contains angles and normalized potential values; 2) Process: Select a suitable data subset Ck and construct a 3D coordinate system, where the angle and potential value are two axes, and the third axis can be an additional dimension such as wind turbine identification or time series; Apply graphical representation methods such as scatter plots or surface plots to map the data points Ck into 3D space, using color coding or markings to distinguish different categories or features.

[0011] 3) Output: Three-dimensional graphics that intuitively display the potential distribution characteristics of the sacrificial anode.

[0012] Preferably, the report automatic generation process is as follows: Input: Output of all processing stages (including preprocessed data, classification results, 3D graphics, etc.).

[0013] Process: Design templates and define report structure (e.g. test table template, 3D graphics insertion location, conclusion template).

[0014] Through automated scripts or interfaces (such as using the interactive function of MATLAB and Word), the processing results of each wind turbine are traversed and the template is automatically filled.

[0015] For each wind turbine, the potential detection table, the corresponding 3D graph and the conclusions drawn based on the classification are inserted into the report in sequence.

[0016] Output: Complete sacrificial anode potential test report document, formatted to display all analysis results and conclusions.

[0017] A method for quickly generating a sacrificial anode potential detection report comprises an analysis and processing module, wherein the program instructions executed by the analysis and processing module are the method for quickly generating a sacrificial anode potential detection report based on Matlab.

[0018] The present invention can achieve the following beneficial effects: This solution can effectively solve the difficulties in processing offshore wind power sacrificial anode inspection data reports, realize the generation of graphics and conclusions for large quantities of data with one click, and automatically sort and generate regular inspection report styles according to wind turbine numbers, that is, "wind turbine inspection data-inspection 3D graphics-inspection conclusions" as a fixed mode, saving a lot of manpower and material resources, and at the same time, it can also improve the accuracy of inspection data analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The present invention will be further described below in conjunction with the accompanying drawings and embodiments: Figure 1 This is a flow chart of the method for quickly generating sacrificial anode potential detection report based on Matlab. DETAILED DESCRIPTION

[0020] The present invention develops a solution for quickly generating sacrificial anode potential detection reports based on Matlab, wherein MATLAB is a programming platform developed by MathWorks and is widely used in engineering calculations, data analysis, scientific research, algorithm development and other fields. The specific solution is as follows: The preferred solution is Figure 1 As shown in the figure, the method for quickly generating a sacrificial anode potential detection report based on Matlab is as follows: S1. Start reading data and check whether there is 360° detection data. If yes, directly generate 3D graphics; if not, automatically convert 0° data into 360° data. After checking, automatically generate 3D graphics. The significance of this step is that when creating 3D graphics, 360° data is required as graphics production needs; Specifically, the process of automatically converting 0° data into 360° data is as follows: 1) Data preprocessing stage: Data integrity check and padding algorithm: Input: original data set D={di|di=(ai,pi)}, where ai is the measurement angle and pi is the corresponding potential value; 2) Process: Traverse D and check whether there is a data point with a=360°; If missing, select the data point (a0, p0) with a=0°, construct a new data point (360°, p0) and add it to D; After ensuring the integrity of the data, the z-score standardization method was used to standardize the data and convert the potential value pi to the same scale to facilitate subsequent analysis; 3) Output: Completed and standardized dataset D′.

[0021] In order to ensure data integrity, this step builds a complete 360° perspective graphics foundation. Traverse the original data set D. If a 360° data point is missing, copy the 0° data point and adjust its angle to 360° to form the data set D′. Use the z-score method to standardize D′ to eliminate the dimension effect and facilitate cross-data comparison. Using the complete data set D′, generate a 3D graph based on the angle and standardized potential value to intuitively display the anode potential distribution.

[0022] S2. Carry out data screening and automatically classify and check the number of fans. The significance of this step is to verify whether the number of fans is consistent with the input number of fans and to determine the number of cycles.

[0023] Specifically, the process of data screening and classification: 1) Setting potential value condition classification algorithm: Input: The completed and standardized dataset D'; 2) Process: For each data point di' = (ai', pi'), classify it according to the potential value pi'. The classification logic is based on the preset thresholds θ1 = 1.1 and θ2 = 0.8. If pi' > θ1, it is classified into category C1; if θ2 < pi' ≤ θ1, it is classified into category C2; otherwise, it is classified into category C3. 3) Output: The classification result set C = {Cj | Cj ⊂ D', j ∈ {1, 2, 3}}.

[0024] This step is for classifying and inspecting the fan status to ensure the accuracy and pertinence of the analysis. By setting the thresholds θ1 = 1.1V and θ2 = 0.8V, the data points in D' are grouped according to the potential values, divided into three categories: C1 (strong protection), C2 (medium protection), and C3 (weak protection), providing a basis for subsequent analysis and report writing.

[0025] S3. Identify the data interval, automatically classify and screen according to the data size, and automatically generate the corresponding conclusion type. The significance of this step is that it can automatically identify the data type, obtain the detection conclusion, avoid manual screening, and improve the accuracy of the detection data.

[0026] 3D graphics generation process: 1) Establish a 3D visualization model: Input: The data subset Cj after screening and classification, which contains angles and standardized potential values; 2) Process: Select an appropriate data subset Ck, construct a 3D coordinate system, where the angle and potential value are used as two axes, and the third axis can be an additional dimension such as the fan identifier or time series. Apply graphical representation methods such as scatter plots or surface plots to map the data points Ck into the 3D space, and use color coding or markers to distinguish different categories or features.

[0027] 3) Output: A 3D graph visually showing the sacrificial anode potential distribution characteristics.

[0028] Automatically identify and report key data features, providing intuitive visual feedback. According to the classification result Cj, select a representative subset Ck, and create a 3D scatter plot or surface plot with color coding or markers to enhance the visual interpretation of the potential distribution.

[0029] S4. Automatically create a word document, and automatically generate a fan detection report in the order of "detection table - detection 3D graph - detection conclusion" for each single fan. The significance of this step is that it can generate a fan sacrificial anode potential detection report with one click, saving a large amount of manpower and material resources.

[0030] Specifically, the steps for conducting data screening and automatically classifying and checking the number of wind turbines are as follows: To judge the potential value condition: Judgment condition 1: Fan potential value>1.1V; Judgment condition 2: Fan potential value>0.8V; If judgment condition 1 is met, output conclusion 1; proceed to the next fan judgment; If the judgment condition 1 is not met, the judgment condition 2 is performed; if the judgment condition 2 is met, the conclusion 2 is output and the next fan judgment is performed; if the judgment condition 2 is not met, the conclusion 3 is output and the next fan judgment is performed.

[0031] Preferably, the report automatic generation process is as follows: Input: Output of all processing stages (including preprocessed data, classification results, 3D graphics, etc.).

[0032] Process: Design templates and define report structure (e.g. test table template, 3D graphics insertion location, conclusion template).

[0033] Through automated scripts or interfaces (such as using the interactive function of MATLAB and Word), the processing results of each wind turbine are traversed and the template is automatically filled.

[0034] For each wind turbine, the potential detection table, the corresponding 3D graph and the conclusions drawn based on the classification are inserted into the report in sequence.

[0035] Output: Complete sacrificial anode potential test report document, formatted to display all analysis results and conclusions.

[0036] Based on the above steps, the present invention can generate a detailed and formatted test report with one click, thereby improving work efficiency. Design a report template, including a test table, a 3D graphics area, and a conclusion template. Use the Word interactive function of MATLAB to traverse the processing results of each fan and automatically fill them into the corresponding template paragraphs. For each fan, output the corresponding conclusion (Conclusion 1-Conclusion 3) according to the judgment condition of its potential value, and integrate the test table, 3D graphics and conclusion in sequence to form a complete test report. Generate a complete report document containing all fan test results, clearly display the test details, analysis conclusions and suggestions, and meet the needs of rapid feedback and decision support.

[0037] A method for quickly generating a sacrificial anode potential detection report comprises an analysis and processing module, wherein the program instructions executed by the analysis and processing module are the method for quickly generating a sacrificial anode potential detection report based on Matlab.

[0038] The above embodiments are only preferred technical solutions of the present invention and should not be regarded as limiting the present invention. The protection scope of the present invention shall be the technical solutions recorded in the claims, including equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.

Claims

1. A method for quickly generating a sacrificial anode potential detection report based on Matlab, characterized in that: Start reading the data. Check if there is 360° detection data. If there is, directly generate a 3D graph; if not, automatically convert the 0° data into 360° data. After checking and ensuring it's correct, automatically generate a 3D graph. Conduct data screening and automatically classify and check the number of fans. Identify the data range and automatically classify and screen according to the data size, and automatically generate the corresponding conclusion type. Automatically create a word document and generate a fan detection report in the order of "detection form - detection 3D graph - detection conclusion" for each individual fan.

2. The method for quickly generating a sacrificial anode potential detection report based on Matlab according to claim 1, characterized in that: The steps for conducting data screening and automatically classifying and checking the number of fans are as follows: Perform potential value condition judgment: Judgment condition 1: The potential value of the fan > 1.1V. Judgment condition 2: The potential value of the fan > 0.8V. If judgment condition 1 is satisfied, output conclusion 1; proceed to judge the next fan. If judgment condition 1 is not satisfied, then conduct the judgment of judgment condition 2; if judgment condition 2 is satisfied, output conclusion 2 and proceed to judge the next fan; if judgment condition 2 is not satisfied, output conclusion 3 and proceed to judge the next fan.

3. The method for quickly generating a sacrificial anode potential detection report based on Matlab according to claim 1, characterized in that: The process of automatically converting 0° data into 360° data is as follows: 1) Data preprocessing stage: Data integrity check and filling algorithm: Input: The original data set D = {di∣di=(ai,pi)}, where ai is the measurement angle and pi is the corresponding potential value. 2) Process: Traverse D to check if there is a data point with a = 360°. If it is missing, select the data point (a0,p0) with a = 0° and construct a new data point (360°,p0) and add it to D. After ensuring data integrity, use the z - score standardization method to standardize the data and convert the potential value pi to the same scale for convenient subsequent analysis. 3) Output: The completed and standardized data set D′.

4. The method for quickly generating a sacrificial anode potential detection report based on Matlab according to claim 1, characterized in that: The process of data screening and classification: 1) Set the potential value condition classification algorithm: Input: The completed and standardized data set D′. 2) Process: For each data point di′=(ai′,pi′), classify it according to the potential value pi′. The classification logic is based on the preset thresholds θ1 = 1.1 and θ2 = 0.

8. If pi′>θ1, it is classified into category C1; if θ2<pi′≤θ1, it is classified into category C2; and the rest are classified into category C3. 3) Output: The classification result set C = {Cj∣Cj⊂D′,j∈{1,2,3}}.

5. The method for quickly generating a sacrificial anode potential detection report based on Matlab according to claim 1, characterized in that: The 3D graph generation process: 1) Establish a three - dimensional visualization model: Input: The data subset Cj after screening and classification, which contains angles and standardized potential values. 2) Process: Select an appropriate data subset Ck, construct a 3D coordinate system, where the angle and potential value are used as two axes, and the third axis can be an additional dimension such as fan identification or time series. Apply graphical representation methods such as scatter plots or surface plots to map the data points Ck into 3D space, and use color coding or markers to distinguish different categories or features. 3) Output: A three - dimensional graph that intuitively shows the sacrificial anode potential distribution characteristics.

6. The method for quickly generating a sacrificial anode potential detection report based on Matlab according to claim 1, characterized in that: The process of automatic report generation is as follows: Input: Output of all processing stages, including preprocessed data, classification results, and 3D graphics; Process: Design templates and define report structure, including test table templates, 3D graphics insertion locations, and conclusion templates; Through automated scripts or interfaces, the processing results of each wind turbine are traversed and the template is automatically filled; For each wind turbine, insert the potential detection table, the corresponding 3D graph, and the conclusions drawn based on the classification into the report in order; Output: Complete sacrificial anode potential test report document, formatted to display all analysis results and conclusions.

7. A method for quickly generating a sacrificial anode potential detection report, comprising an analysis and processing module, characterized in that: The program instructions executed by the analysis and processing module are the method for quickly generating a sacrificial anode potential detection report based on Matlab according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Five-axis linkage blade detection method

    CN109238139A

  • Method for rapidly generating a shape detection report

    CN109614602A

  • Offshore wind power plant dispatching management system

    CN111126734A

  • Method for automatically generating anemometer tower data report

    CN111178031A

  • Wind power plant survey data processing system, method, device and storage medium

    CN111754185A