To address the problem of reduced defect classification accuracy caused by noise contamination in the bend detection signals of oil and gas pipelines, this paper proposes an oil and gas elbow defect diagnosis model based on Welch power spectrum feature enhancement and multi-head attention improved dual-branch multi-scale-residual collaborative network. Firstly, the Welch method was used to convert the collected time domain signal into a feature-enhanced power spectrum, showing the energy distribution of the defect signals at different frequencies. Secondly, the multi-scale network branch composed of parallel stacked convolutional layers was responsible for extracting the multi-dimensional features of the signal power spectrum, and the multi-head attention mechanism was used to establish long-term associations between features. Simultaneously, the residual network branch captured the detail information of the signal power spectrum. Finally, the deep concatenation layer fused the features extracted by the dual-branch network to achieve defect classification. The experiment results show that in a high-noise environment, the test accuracy of the proposed model is 91.6%. Compared with the models based on Kaiser windows and flat-top windows, the classification accuracy is improved by 1%~7.9%; compared with convolutional neural network (CNN) and long short-term memory network (LSTM), the accuracy is improved by 36.9% and 10.3% respectively.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |