A method, device and medium for generating extreme working condition data of a plastic-lined steel pipe in a high-temperature pipe penetrating process
By constructing a multi-scale dynamic temporal feature extraction module, an extreme state enhanced self-attention module, and a progressive perturbation generative adversarial network module, the quality and continuity issues of extreme working condition data generation during the high-temperature pipe-laying process of plastic-lined steel pipes were solved, achieving efficient characterization and adaptation to complex industrial working conditions.
Patent Information
- Application Number
- CN202611312533.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies struggle to generate high-quality, dynamically continuous time-series data on extreme operating conditions during the high-temperature pipe-laying process of plastic-lined steel pipes. In particular, single-scale feature extraction struggles to balance local mutations and long-term trends, random perturbation generation lacks constraints on operating condition evolution, and traditional self-attention unified weight allocation leads to anomalous features being submerged by normal states.
A multi-scale dynamic temporal feature extraction module, an extreme state enhanced self-attention module, and a progressive perturbation generative adversarial network module are used to construct a time series data generation model for extreme working conditions. Through multi-scale feature extraction, adaptive attention weight adjustment, and progressive perturbation generation, the dynamic evolution process of industrial working conditions is simulated.
It significantly improves the generation quality, dynamic continuity, and adaptability of time series data under extreme operating conditions. The generated data is more accurate in terms of short-term mutation details and long-term evolution patterns, maintaining the authenticity and continuity of the data.
Smart Images

Figure CN123138264A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of industrial data processing and artificial intelligence technology, and in particular to a method, equipment and medium for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes. Background Technology
[0002] The high-temperature pipe threading process of plastic-lined steel pipes is a typical complex industrial dynamic process. During production, operating parameters such as temperature, pressure, and propulsion speed constantly change with the equipment's operating status, exhibiting characteristics such as strong nonlinearity, multi-scale fluctuations, and multi-parameter coupling. When the equipment is operating at high temperature, high pressure, or high speed, extreme operating conditions such as parameter mutations, enhanced dynamic fluctuations, and abnormal coupling changes are prone to occur. However, due to the low probability of extreme operating conditions occurring in actual production processes, and the complexity and high cost of on-site data collection, it is usually difficult to obtain sufficient, complete, and effective extreme operating condition sample data in industrial settings. This severely restricts the effectiveness of subsequent industrial condition analysis, abnormal operating condition prediction, and intelligent model training applications.
[0003] Currently, commonly used time series generation methods mainly cover generative models based on recurrent neural networks, time series generation models based on long short-term memory networks, and generative adversarial networks. While these methods can generate time series data to a certain extent, they still have the following limitations: First, most methods adopt a single-scale time series feature extraction approach. Since its sensing range is fixed, it is difficult to simultaneously take into account local abnormal fluctuations and long-term dynamic trends, resulting in the generated data being difficult to achieve consistency in short-term mutation details and overall evolution patterns. Secondly, traditional generative adversarial networks typically generate anomalous data directly using random perturbation, lacking a dynamic description of the gradual evolution of industrial conditions from normal to extreme states. This can easily lead to problems such as local fluctuation distortion, discontinuous dynamic changes, and trend deviations in the generated data. Third, traditional self-attention structures use a uniform weighting method for all time features. When the number of extreme working condition samples is small, the feature responses of abnormal regions are easily submerged by normal state features during feature fusion, thereby reducing the model's adaptability to complex industrial working condition changes.
[0004] Therefore, it is necessary to provide a method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes in order to solve the above problems. Summary of the Invention
[0005] The purpose of this application is to provide a method, equipment, and medium for generating extreme working condition data during the high-temperature pipe-insertion process of plastic-lined steel pipes, so as to improve the generation quality, dynamic continuity, and adaptability of extreme working condition time series data.
[0006] To achieve the above objectives, this application provides the following solution: In a first aspect, this application provides a method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes, the method comprising: The working parameters of the plastic-lined steel pipe during high-temperature pipe insertion were obtained, and a multivariate working condition time series was constructed. The multivariate operating condition time series is input into the extreme operating condition time series data generation model, and the target extreme operating condition time series data is output. The extreme operating condition time series data generation model is obtained by training the generator in the improved generative adversarial network model. The generator in the improved generative adversarial network model includes a multi-scale dynamic temporal feature extraction module, an extreme state enhanced self-attention module, and a progressively perturbative generative adversarial network module connected in sequence.
[0007] In one embodiment, the operating parameters include: temperature, pressure, and propulsion speed; The operating parameters of the plastic-lined steel pipe during high-temperature pipe installation were obtained, and a multivariate operating condition time series was constructed, specifically including: The temperature, pressure, and propulsion speed are collected by sensors during the high-temperature pipe insertion process of plastic-lined steel pipes; Temperature, pressure, and propulsion speed are arranged in chronological order and normalized to obtain a multivariable operating condition time series.
[0008] In one embodiment, the multivariate operating condition time series is input into an extreme operating condition time series data generation model to output target extreme operating condition time series data, specifically including: The multivariate operating condition time series is input into the multi-scale dynamic time series feature extraction module. The multi-scale dynamic time series feature extraction module performs joint extraction and feature fusion of local dynamic fluctuation features and medium- and long-term change trend features of the multivariate operating condition time series to obtain multi-scale fused time series features. The multi-scale fused temporal features are input into the extreme state enhanced self-attention module, and combined with the multivariate working condition time series for working condition change detection, outputting enhanced temporal features containing extreme working condition change information; The enhanced time-series features are input into the progressive perturbation generative adversarial network (PGAN) module. The PGAN module sequentially performs mild perturbation enhancement, moderate perturbation enhancement, and extreme state generation processing on the enhanced time-series features, and outputs target extreme operating condition time-series data.
[0009] In one embodiment, the multi-scale dynamic temporal feature extraction module includes a first 1×1 convolutional layer, a dilated convolutional branch, a first fusion layer, and a second 1×1 convolutional layer connected in sequence. Dilated convolution branches include parallel short-time branches and long-time branches; The short-time branch consists of a first 3×3 dilated convolutional layer and a third 1×1 convolutional layer in series, and the dilation rate of the first 3×3 dilated convolutional layer is 1. The long-time sub-branch includes a first long-time sub-branch and a second long-time sub-branch connected in parallel. The first long-time sub-branch includes a second 3×3 dilated convolutional layer and a fourth 1×1 convolutional layer connected in series, and the dilation rate of the second 3×3 dilated convolutional layer is 2. The second long-time sub-branch includes a third 3×3 dilated convolutional layer and a fifth 1×1 convolutional layer connected in series, and the dilation rate of the third 3×3 dilated convolutional layer is 4. The first 1×1 convolutional layer is used to perform channel mapping on the input multivariate working condition time series, mapping different working condition parameters to a unified feature space to obtain a time series feature map after channel mapping. Short time-series branches are used to extract local dynamic fluctuation features in the time-series feature map after channel mapping; Long-term branches are used to extract medium- to long-term trend features from the time-series feature map after channel mapping; The first fusion layer is used to fuse the local dynamic fluctuation features with the medium- and long-term change trend features to generate the first fusion feature; The second 1×1 convolutional layer is used to adjust the channels of the first fused feature and output multi-scale fused temporal features.
[0010] In one embodiment, the extreme state enhanced self-attention module includes: a linear mapping layer, a condition change detection branch, an attention weight calculation unit, a weighted fusion unit, and an output layer; the condition change detection branch includes a change magnitude calculation unit and an extreme state weight generation unit; Among them, the linear mapping layer is connected in parallel with the working condition change detection branch and then connected in series with the attention weight calculation unit. The attention weight calculation unit is then connected in series with the weighted fusion unit and the output layer in sequence, and the output end of the linear mapping layer is also connected to the weighted fusion unit. The linear mapping layer is used to perform linear mapping on the input multi-scale fused temporal features to generate a query matrix, a key matrix, and a value matrix. The variation amplitude calculation unit is used to calculate the change of each operating parameter between adjacent time steps based on the operating parameters corresponding to the multi-scale fused time series features, and to obtain the operating condition change features. The extreme state weight generation unit is used to adaptively generate extreme state weights based on the characteristics of operating condition changes. The attention weight calculation unit is used to calculate the attention weight matrix using the Softmax function based on the query matrix, key matrix, and extreme state weights. The weighted fusion unit is used to perform weighted calculations on the value matrix based on the attention weight matrix to obtain the weighted temporal features; The output layer is used to process the weighted time series features, and outputs enhanced time series features that include information on extreme operating condition changes.
[0011] In one embodiment, the progressive perturbation generative adversarial network module includes a sixth 1×1 convolutional layer, a mild perturbation enhancement unit, a moderate perturbation enhancement unit, and an extreme state generation unit connected in sequence. The mild perturbation enhancement unit includes a first 5×5 convolutional layer, a first batch of normalization layers, a first ReLU activation layer and a fourth 3×3 dilated convolutional layer connected in series, and the dilation rate of the fourth 3×3 dilated convolutional layer is 1. The moderate perturbation enhancement unit includes a second 5×5 convolutional layer, a second batch of normalization layers, a GELU activation layer, a fifth 3×3 dilated convolutional layer and a first residual block connected in series, and the inflation rate of the fifth 3×3 dilated convolutional layer is 2. The extreme state generation unit consists of a second residual block, a 7×7 convolutional layer, a self-attention layer, a seventh 1×1 convolutional layer, and a Tanh activation layer, which are connected in series. The sixth 1×1 convolutional layer is used to perform channel mapping on the input enhanced temporal features to obtain the mapped enhanced features; The mild perturbation enhancement unit is used to extract local dynamic change information and perform mild perturbation enhancement on the mapped enhancement features, and output mild perturbation enhancement features; The moderate perturbation enhancement unit is used to extract mesoscale dynamic change information and perform moderate perturbation enhancement on the mild perturbation enhancement features, and output moderate perturbation enhancement features; The extreme state generation unit is used to model the global correlation of moderate disturbance enhancement features and enhance extreme states, and outputs target extreme operating condition time series data.
[0012] In one embodiment, the improved generative adversarial network model includes a generator and a discriminator; The training process for generating models from time series data under extreme operating conditions includes: Obtain historical multivariate working condition time series as the training set; Random noise is input into the generator to generate initial samples; Input the historical multivariate operating condition time series and the initial generated samples into the discriminator, perform true / false discrimination and dynamic trend consistency discrimination on the historical multivariate operating condition time series and the initial generated samples, and output the discrimination results; The loss function value is calculated based on the discrimination result, and the network parameters of the generator are iteratively updated multiple times based on the loss function value until the preset stopping condition is reached, at which point the iterative training stops, and the trained generator is determined as the extreme working condition time series data generation model.
[0013] In one embodiment, the discriminator to be trained includes a 3×3 convolutional layer, a LeakyReLU activation layer, a third 5×5 convolutional layer, a third batch normalization layer, a second fusion layer, and a fully connected layer connected in sequence. A 3×3 convolutional layer and a LeakyReLU activation layer are used together to extract historical multivariate working condition time series of the input and local dynamic features in the initial generated samples; The third 5×5 convolutional layer and the third batch normalization layer are used together to extract the historical multivariate working condition time series of the input and the long-term dynamic change features in the initial generated samples; The second fusion layer is used to fuse local dynamic features with long-term dynamic change features to obtain the second fused feature; The fully connected layer is used to output true / false discrimination results and dynamic trend consistency discrimination results based on the second fusion feature.
[0014] Secondly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method for generating extreme working condition data during the high-temperature pipe threading process of plastic-lined steel pipes.
[0015] Thirdly, this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described method for generating extreme working condition data during the high-temperature pipe-threading process of plastic-lined steel pipes.
[0016] According to the specific embodiments provided in this application, this application has the following technical effects: This application discloses a method, device, and medium for generating extreme working condition data during the high-temperature pipe-laying process of plastic-lined steel pipes. By constructing an extreme working condition time series data generation model that includes a multi-scale dynamic temporal feature extraction module, an extreme state enhanced self-attention module, and a progressive perturbation generative adversarial network module, it systematically solves three major technical problems in related technologies: single-scale feature extraction struggles to simultaneously consider local mutations and long-term trends; random perturbation generation lacks working condition evolution constraints, leading to dynamic distortion and discontinuity; and traditional self-attention unified weight allocation causes abnormal features to be submerged by normal states, weakening the adaptability to working conditions. Specifically, the multi-scale dynamic temporal feature extraction module extracts local waves through a joint extraction of short-time series and long-time series branches. The dynamic characteristics and overall trend characteristics enable the generated data to accurately represent both short-term mutation details and long-term evolution patterns. The extreme state enhanced self-attention module introduces a working condition change detection mechanism and dynamically adjusts the attention weights according to the parameter change amplitude, enhancing the model's ability to perceive and focus on abnormal areas and preventing extreme features from being diluted by normal information. The progressive perturbation generative adversarial network module simulates the physical law of the gradual evolution of industrial working conditions from normal to extreme states through a multi-stage progressive enhancement method of mild, moderate and extreme states, so that the generated data maintains a continuous and realistic dynamic change process, thereby significantly improving the generation quality, dynamic continuity and working condition adaptability of extreme working condition time series data as a whole. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A schematic diagram of a method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to an embodiment of this application; Figure 2 A schematic diagram of the structure of an improved generative adversarial network model provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a multi-scale dynamic temporal feature extraction module provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an extreme state enhanced self-attention module provided in an embodiment of this application; Figure 5 A schematic diagram of the structure of a progressive perturbation generative adversarial network module and a discriminator provided in an embodiment of this application; Figure 6 A schematic diagram comparing the generation results of different models provided in one embodiment of this application; Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] To address the existing technical problems of single-scale feature extraction failing to balance local mutations and long-term trends, random perturbation generation lacking constraints on operating condition evolution leading to dynamic distortion, and uniform attention weights causing abnormal features to be easily submerged by normal states, this application provides a method, equipment, and medium for generating extreme operating condition data during the high-temperature pipe-laying process of plastic-lined steel pipes. The purpose is to improve the generation quality, dynamic continuity, and operating condition adaptability of extreme operating condition time series data.
[0021] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0022] In one exemplary embodiment, such as Figure 1 As shown, a method for generating extreme working condition data during the high-temperature pipe-insertion process of plastic-lined steel pipes is provided. This method is executed by computer equipment, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is described using a server as an example, and includes the following steps: Step S1: Obtain the operating parameters during the high-temperature pipe insertion process of the plastic-lined steel pipe and construct a multivariate operating condition time series.
[0023] As an optional implementation method, the operating parameters include: temperature, pressure, and propulsion speed; Step S1 specifically includes: Step S11: Obtain the temperature, pressure, and propulsion speed collected by sensors during the high-temperature pipe insertion process of the plastic-lined steel pipe; Step S12: Arrange the temperature, pressure, and propulsion speed in chronological order and normalize them to obtain a multivariable operating condition time series.
[0024] Step S2: Input the multivariate operating condition time series into the extreme operating condition time series data generation model and output the target extreme operating condition time series data; the extreme operating condition time series data generation model is obtained by training the generator in the improved generative adversarial network model. Among them, such as Figure 2 As shown, the generator in the improved generative adversarial network model includes a multi-scale dynamic temporal feature extraction module, an extreme state enhanced self-attention module, and a progressively perturbed generative adversarial network module connected in sequence.
[0025] As an optional implementation method, step S2 specifically includes: Step S21: Input the multivariate operating condition time series into the multi-scale dynamic time series feature extraction module. The multi-scale dynamic time series feature extraction module performs joint extraction and feature fusion of local dynamic fluctuation features and medium- and long-term change trend features of the multivariate operating condition time series to obtain multi-scale fused time series features. Step S22: Input the multi-scale fused temporal features into the extreme state enhanced self-attention module, and combine them with the multivariate working condition time series to detect working condition changes, and output enhanced temporal features containing extreme working condition change information; Step S23: The enhanced time series features are input into the progressive perturbation generative adversarial network module. The progressive perturbation generative adversarial network module sequentially performs mild perturbation enhancement, moderate perturbation enhancement and extreme state generation processing on the enhanced time series features, and outputs target extreme working condition time series data.
[0026] As an optional implementation method, such as Figure 3 As shown, the multi-scale dynamic temporal feature extraction module includes a first 1×1 convolutional layer, a dilated convolutional branch, a first fusion layer, and a second 1×1 convolutional layer connected in sequence. Dilated convolution branches include parallel short-time branches and long-time branches; The short-time branch consists of a first 3×3 dilated convolutional layer and a third 1×1 convolutional layer in series, and the dilation rate of the first 3×3 dilated convolutional layer is 1. The long-time sub-branch includes a first long-time sub-branch and a second long-time sub-branch connected in parallel. The first long-time sub-branch includes a second 3×3 dilated convolutional layer and a fourth 1×1 convolutional layer connected in series, and the dilation rate of the second 3×3 dilated convolutional layer is 2. The second long-time sub-branch includes a third 3×3 dilated convolutional layer and a fifth 1×1 convolutional layer connected in series, and the dilation rate of the third 3×3 dilated convolutional layer is 4. The first 1×1 convolutional layer is used to perform channel mapping on the input multivariate working condition time series, mapping different working condition parameters to a unified feature space to obtain a time series feature map after channel mapping. Short time-series branches are used to extract local dynamic fluctuation features in the time-series feature map after channel mapping; Long-term branches are used to extract medium- to long-term trend features from the time-series feature map after channel mapping; The first fusion layer is used to fuse the local dynamic fluctuation features with the medium- and long-term change trend features to generate the first fusion feature; The second 1×1 convolutional layer is used to adjust the channels of the first fused feature and output multi-scale fused temporal features.
[0027] Specifically, traditional temporal structures typically use only a single convolutional path for feature extraction, which can only learn dynamic changes at a fixed time scale and cannot simultaneously capture local anomalies and long-term trends. This application designs a multi-scale dynamic temporal feature extraction module, which enhances the model's ability to express dynamic changes under extreme conditions and improves the feature extraction effect on abrupt change regions and long-term evolution trends. The specific processing procedure is as follows: First, the features are mapped through a 1×1 convolutional layer to achieve a unified representation of the features of different operating conditions. Then, the temporal feature maps after channel mapping are input into dilated convolutional branches with different dilation rates for multi-scale temporal feature extraction. Specifically, the short-term branch uses a 3×3 dilated convolution (dilation rate of 1) to extract the local dynamic fluctuation features of the operating conditions within a short time period, while the long-term branch uses dilated convolutions with dilation rates of 2 and 4 to extract the medium- and long-term trend features of the operating conditions. Next, the corresponding features output from each branch are fused through a first fusion layer to form a multi-scale fused temporal feature that simultaneously contains local dynamic fluctuation information and long-term operating condition evolution information. This fused feature is then output to the extreme state enhancement self-attention module, providing temporal feature input for subsequent abnormal region feature enhancement and extreme operating condition data generation.
[0028] As an optional implementation method, such as Figure 4 As shown, the extreme state enhanced self-attention module includes: a linear mapping layer, a condition change detection branch, an attention weight calculation unit, a weighted fusion unit, and an output layer; the condition change detection branch includes a change magnitude calculation unit and an extreme state weight generation unit; Among them, the linear mapping layer is connected in parallel with the working condition change detection branch and then connected in series with the attention weight calculation unit. The attention weight calculation unit is then connected in series with the weighted fusion unit and the output layer in sequence, and the output end of the linear mapping layer is also connected to the weighted fusion unit. The linear mapping layer is used to perform linear mapping on the input multi-scale fused temporal features to generate a query matrix, a key matrix, and a value matrix. The variation amplitude calculation unit is used to calculate the change of each operating parameter between adjacent time steps based on the operating parameters corresponding to the multi-scale fused time series features, and to obtain the operating condition change features. The extreme state weight generation unit is used to adaptively generate extreme state weights based on the characteristics of operating condition changes. The attention weight calculation unit is used to calculate the attention weight matrix using the Softmax function based on the query matrix, key matrix, and extreme state weights. The weighted fusion unit is used to perform weighted calculations on the value matrix based on the attention weight matrix to obtain the weighted temporal features; The output layer is used to process the weighted time series features, and outputs enhanced time series features that include information on extreme operating condition changes.
[0029] Specifically, traditional self-attention mechanisms uniformly assign weights to all temporal features through query, key, and value mapping. When the proportion of extreme condition samples is low, abnormal change regions are easily submerged by normal state features during feature fusion, thus reducing the model's ability to perceive extreme state regions. To address the above problem, this application designs the following... Figure 4 The extreme state enhancement self-attention module shown introduces a working condition change detection mechanism. It takes the multi-scale temporal fusion features output from the multi-scale dynamic temporal feature extraction module as input. First, it establishes the correlation between different time steps through querying and key-value mapping. Then, it combines the working condition change detection mechanism to generate extreme state weights, adaptively enhancing the extreme state regions and outputting enhanced temporal features containing abnormal state information, which are then transmitted to the progressively perturbed generative adversarial network module. This extreme state enhancement self-attention module can adaptively adjust feature weights according to changes in working conditions, improving the model's ability to focus on extreme state regions, thereby enhancing the expression effect of abnormal working condition features. The specific processing procedure is as follows: The input multi-scale temporal fusion features first enter the linear mapping layer, generating a query matrix Q, a key matrix K, and a value matrix V. The query matrix Q represents the feature information of the current time step, the key matrix K establishes the relationships between different time steps, and the value matrix V stores the working condition feature information of the corresponding time step, providing basic features for subsequent attention calculations. Meanwhile, the operating condition parameters corresponding to the multi-scale fused time series features are input into the operating condition change detection branch. The change amplitude calculation unit calculates the change in operating condition parameters in adjacent time steps to obtain the operating condition change features. Subsequently, the operating condition change features are input into the extreme state weight generation unit, which adaptively generates extreme state weights according to the degree of operating condition change, which are used to characterize the possibility of extreme operating conditions occurring in the current time step. Next, the generated extreme state weights, along with the Q and K matrices, participate in the attention weight calculation process. A new attention weight matrix is obtained through the Softmax function, and the V matrix is weighted using this weight matrix to obtain the weighted temporal features. This allows regions with drastic changes in operating conditions to obtain higher feature responses, while regions with smaller changes in operating conditions maintain normal weights, thereby enhancing the model's ability to focus on extreme state features. Finally, the weighted time series features are input into the output layer to obtain enhanced time series features containing information on extreme operating conditions. These enhanced features are then used as input to the progressive perturbation generative adversarial network module, providing a more accurate and complete feature representation for the subsequent generation of extreme operating condition time series data.
[0030] As an optional implementation method, such as Figure 5 As shown, the progressive perturbation generative adversarial network module includes a sixth 1×1 convolutional layer, a mild perturbation enhancement unit, a moderate perturbation enhancement unit, and an extreme state generation unit connected in sequence. The mild perturbation enhancement unit includes a first 5×5 convolutional layer, a first batch of normalization layers, a first ReLU activation layer and a fourth 3×3 dilated convolutional layer connected in series, and the dilation rate of the fourth 3×3 dilated convolutional layer is 1. The moderate perturbation enhancement unit includes a second 5×5 convolutional layer, a second batch of normalization layers, a GELU activation layer, a fifth 3×3 dilated convolutional layer and a first residual block connected in series, and the inflation rate of the fifth 3×3 dilated convolutional layer is 2. The extreme state generation unit consists of a second residual block, a 7×7 convolutional layer, a self-attention layer, a seventh 1×1 convolutional layer, and a Tanh activation layer, which are connected in series. The sixth 1×1 convolutional layer is used to perform channel mapping on the input enhanced temporal features to obtain the mapped enhanced features; The mild perturbation enhancement unit is used to extract local dynamic change information and perform mild perturbation enhancement on the mapped enhancement features, and output mild perturbation enhancement features; The moderate perturbation enhancement unit is used to extract mesoscale dynamic change information and perform moderate perturbation enhancement on the mild perturbation enhancement features, and output moderate perturbation enhancement features; The extreme state generation unit is used to model the global correlation of moderate disturbance enhancement features and enhance extreme states, and outputs target extreme operating condition time series data.
[0031] Specifically, traditional generative adversarial networks (GANs) typically use random noise to directly map and generate data, lacking constraints on the dynamic evolution of industrial conditions. This leads to problems such as dynamic distortion and discontinuous changes in the generated data. To address these issues, this application employs a progressive perturbation generation method and designs a progressive perturbation GAN module. The data processing is divided into three stages, specifically: After the temporal feature input is enhanced, it first passes through a sixth 1×1 convolutional layer for feature mapping. Then, it enters the first stage of the mildly perturbed enhancement unit, where a first 5×5 convolution extracts the dynamic change information of the operating parameters within the local time window. This is followed by the first batch of normalization layers and the first ReLU activation layer to complete feature normalization and nonlinear mapping. Subsequently, a dilated convolution with a dilation rate of 1 (i.e., the fourth 3×3 dilated convolutional layer) is used to further expand the local time perception range and enhance the local dynamic change features. After the above processing, the mildly perturbed enhanced temporal feature S1 is output.
[0032] The second stage, the moderate perturbation enhancement unit, takes the mildly perturbated enhanced temporal feature S1 as input. First, a second 5×5 one-dimensional convolutional layer and a second batch normalization layer are used to further extract the operating condition change information at the mid-time scale. Then, a GELU activation function layer enhances the nonlinear feature representation capability. Subsequently, a dilated convolution with a dilation rate of 2 (i.e., the fifth 3×3 dilated convolutional layer) is used to expand the time perception range and enhance the dynamic changes of the operating condition parameters at the mid-time scale. Finally, the extracted dynamic features are residually fused with the input features through the first residual block, outputting the moderately perturbated enhanced feature S2 containing mid-scale dynamic change information. This moderately perturbated enhanced feature retains the local dynamic information extracted in the previous stage and further enhances the mid-scale change features of the operating condition parameters. It also serves as the input to the third stage extreme state enhancement unit, providing richer dynamic feature information for the subsequent generation of extreme operating condition data.
[0033] Finally, the third stage, the extreme state generation unit, takes the moderate perturbation enhancement feature S2 as input. Since the first and second stages both complete the local perturbation enhancement and mesoscale dynamic feature enhancement step by step based on the enhanced temporal features output by the extreme state enhancement self-attention module, the input features of the third stage simultaneously retain the local dynamic information, mesoscale change information, and extreme state attention information of the operating parameters. Then, the enhanced features output by the second residual block are first used as the input of the 7×7 convolutional layer to further expand the extreme operating condition related features by expanding the temporal convolution receptive range. After that, a self-attention layer is introduced to establish the global correlation between different time steps to further enhance the extreme state region. Finally, the seventh 1×1 convolutional layer is used to complete the channel mapping, and the final generated extreme operating condition time series data is output through the Tanh activation function.
[0034] As an optional implementation, in step S2, the improved generative adversarial network model includes a generator and a discriminator; the training process of the extreme working condition time series data generation model includes: Obtain historical multivariate working condition time series as the training set; Random noise is input into the generator to generate initial samples; Input the historical multivariate operating condition time series and the initial generated samples into the discriminator, perform true / false discrimination and dynamic trend consistency discrimination on the historical multivariate operating condition time series and the initial generated samples, and output the discrimination results; The loss function value is calculated based on the discrimination result, and the network parameters of the generator are iteratively updated multiple times based on the loss function value until the preset stopping condition is reached, at which point the iterative training stops, and the trained generator is determined as the extreme working condition time series data generation model.
[0035] As an optional implementation method, such as Figure 5 As shown, the discriminator to be trained includes a 3×3 convolutional layer, a LeakyReLU activation layer, a third 5×5 convolutional layer, a third batch normalization layer, a second fusion layer, and a fully connected layer connected in sequence. A 3×3 convolutional layer and a LeakyReLU activation layer are used together to extract historical multivariate working condition time series of the input and local dynamic features in the initial generated samples; The third 5×5 convolutional layer and the third batch normalization layer are used together to extract the historical multivariate working condition time series of the input and the long-term dynamic change features in the initial generated samples; The second fusion layer is used to fuse local dynamic features with long-term dynamic change features to obtain the second fused feature; The fully connected layer is used to output true / false discrimination results and dynamic trend consistency discrimination results based on the second fusion feature.
[0036] Specifically, after generating the input discriminator, local dynamic features are first extracted through a one-dimensional 3×3 convolutional layer and the LeakyReLU activation function. Then, long-term dynamic change features are extracted through a third 5×5 convolutional layer and a third batch normalization layer. Combined with the second fusion layer, the temporal features at different time scales are fused. Finally, two discrimination results are output through the fully connected layer: one is a true / false discrimination result, used to determine whether the input data is real working condition data or generated data; the other is a dynamic trend consistency discrimination result, used to determine whether the changing trends of the generated time series in working condition parameters such as temperature, pressure, and propulsion speed conform to the dynamic evolution law of the real high-temperature pipe-laying process, thereby comprehensively evaluating the temporal continuity and dynamic trend consistency of the generated data.
[0037] This application improves the continuity and rationality of generated data over time by performing dynamic trend consistency detection.
[0038] Through the above multi-module collaborative improvement, the method of this application significantly improves the authenticity, dynamic continuity and adaptability of extreme working condition time series data while maintaining the generation efficiency. The specific implementation steps are as follows: (1) Input industrial time series data and normalize the working condition parameters such as temperature, pressure and propulsion speed; (2) Input the preprocessed data into the multi-scale dynamic time series module, extract short-term dynamic fluctuation features and long-term trend features through convolution branches with different expansion rates, and perform feature fusion; (3) Input the fused time series features into the extreme state enhancement self-attention module, dynamically adjust the attention weight according to the working condition change amplitude, and realize the enhancement of abnormal area features; (4) Input the enhanced features into the progressive perturbation generation and discrimination network module, realize the generation of extreme working condition data through multi-stage convolution perturbation processes such as mild perturbation generation, moderate perturbation enhancement and extreme state generation; (5) Input the generation result into the discriminator, jointly judge the authenticity and dynamic change rationality of the generated data, and finally output the target extreme state time series data that meets the dynamic evolution law of industrial working conditions.
[0039] Beneficial effects: 1) By designing a multi-scale dynamic temporal module, the local dynamic fluctuation features and medium- and long-term change trend features are jointly extracted by short-time branches (3×3 dilated convolution with an inflation rate of 1) and long-time branches (3×3 dilated convolution with inflation rates of 2 and 4). This overcomes the technical defects of traditional single-scale temporal structures, which have a fixed sensing range and are difficult to take into account both local abrupt changes and global trends. This significantly improves the model's ability to express the dynamic change features of complex industrial conditions.
[0040] 2) By designing an extreme state enhanced self-attention module, a working condition change detection branch is introduced on the basis of the traditional self-attention mechanism. Extreme state weights are adaptively generated according to the change amplitude of working condition parameters such as temperature, pressure and propulsion speed, so that the region with drastic working condition changes can obtain higher feature response. This effectively avoids abnormal state features being submerged by normal state features during feature fusion, and significantly enhances the feature perception and focusing ability of extreme working condition regions.
[0041] 3) By designing a progressive perturbation generation structure and employing a multi-stage progressive generation strategy involving mild perturbation enhancement, moderate perturbation enhancement, and extreme state generation, the dynamic process of industrial operating conditions gradually evolving from normal to extreme states is simulated. This overcomes the problems of local fluctuation distortion and discontinuous dynamic changes caused by traditional GANs directly generating anomalous data randomly, effectively improving the authenticity and temporal continuity of the generated data. 4) By constructing a discriminator, dynamic trend consistency judgment is added to the traditional true / false judgment, which jointly constrains the authenticity and dynamic change rationality of the generated data, further enhancing the continuity and stability of the generated results in the time dimension. In summary, this application ensures generation efficiency while effectively improving the generation quality, dynamic continuity, and adaptability of extreme working condition time series data. It can provide reliable data support for industrial state analysis, abnormal working condition prediction, and intelligent model training in the high-temperature pipe-threading process of plastic-lined steel pipes.
[0042] To further verify the effectiveness of the proposed Extreme-State Multi-module Generative Adversarial Network (ESM-GAN) in generating extreme-condition time series data, comparative experiments were conducted using original data, data generated by typical time series generation models such as Continuous Recurrent Neural Network - Generative Adversarial Network (C-RNN-GAN), and Long Short-Term Memory-based Time-series Generative Adversarial Network (LSTM-Time-GAN). RMSE, MAE, and MAPE were used as evaluation metrics to measure the magnitude of the error between the generated data and the real data, local dynamic bias, and overall trend consistency, respectively. The relevant experimental results are shown in Table 1.
[0043] Table 1. Performance comparison results of different time series generation models
[0044] As shown in Table 1, compared with the Original model and traditional GAN models, the ESM-GAN proposed in this application achieves better results in terms of RMSE, MAE, and MAPE. Specifically, the RMSE of ESM-GAN is reduced to 0.0554, indicating a further reduction in the overall error between the generated data and the real data; the MAE is reduced to 0.0412, indicating higher accuracy in fitting local dynamic changes; and the MAPE is reduced to 10.89%, indicating a higher consistency between the generated data and the real operating conditions in terms of overall trend. Experimental results show that the extreme operating condition time series data generation model constructed in this application can effectively improve the generation quality and dynamic continuity of extreme operating condition time series data, while enhancing the model's adaptability to complex industrial operating condition changes.
[0045] To further verify the effectiveness of the data generated in this application in terms of dynamic trends, a comparative experiment on the prediction curves was conducted using time series of typical operating condition parameters. Trend analysis was performed on the real operating condition data and the data generated by different models. The relevant results are attached. Figure 6 As shown.
[0046] From the appendix Figure 6 It can be seen that traditional generative models are prone to problems such as fluctuation distortion, discontinuous local mutations, and trend deviations in extreme operating conditions, resulting in discrepancies between the generated data and the actual changing patterns of the operating conditions. In contrast, the ESM-GAN model proposed in this application generates curves that are closer to the changing trends of the actual data. It maintains good continuity and stability in both areas of local mutation and long-term dynamic changes, and can more accurately reflect the dynamic process of industrial operating conditions evolving from normal to extreme states. Experimental results show that this application effectively improves the authenticity and dynamic consistency of time series data under extreme operating conditions through the synergistic effect of the multi-scale dynamic temporal feature extraction module, the extreme state enhanced self-attention module, and the progressive perturbation generative adversarial network module.
[0047] In one exemplary embodiment, a computer device is provided, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method for generating extreme working condition data during the high-temperature pipe threading process of plastic-lined steel pipes.
[0048] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements a method for generating extreme working condition data during the high-temperature pipe-threading process of plastic-lined steel pipes.
[0049] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements a method for generating extreme working condition data during the high-temperature pipe-threading process of plastic-lined steel pipes.
[0050] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 7As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for generating extreme operating condition data during the high-temperature pipe-laying process of plastic-lined steel pipes.
[0051] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0052] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0053] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0054] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0055] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0056] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes, characterized in that, The method includes: The working parameters of the plastic-lined steel pipe during high-temperature pipe insertion were obtained, and a multivariate working condition time series was constructed. The multivariate operating condition time series is input into the extreme operating condition time series data generation model, and the target extreme operating condition time series data is output. The extreme operating condition time series data generation model is obtained by training the generator in the improved generative adversarial network model. The generator in the improved generative adversarial network model includes a multi-scale dynamic temporal feature extraction module, an extreme state enhanced self-attention module, and a progressively perturbative generative adversarial network module connected in sequence.
2. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 1, characterized in that, Operating parameters include: temperature, pressure, and propulsion speed; The operating parameters of the plastic-lined steel pipe during high-temperature pipe installation were obtained, and a multivariate operating condition time series was constructed, specifically including: The temperature, pressure, and propulsion speed are collected by sensors during the high-temperature pipe insertion process of plastic-lined steel pipes; Temperature, pressure, and propulsion speed are arranged in chronological order and normalized to obtain a multivariable operating condition time series.
3. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 1, characterized in that, The multivariate operating condition time series is input into the extreme operating condition time series data generation model, and the target extreme operating condition time series data is output, specifically including: The multivariate operating condition time series is input into the multi-scale dynamic time series feature extraction module. The multi-scale dynamic time series feature extraction module performs joint extraction and feature fusion of local dynamic fluctuation features and medium- and long-term change trend features of the multivariate operating condition time series to obtain multi-scale fused time series features. The multi-scale fused temporal features are input into the extreme state enhanced self-attention module, and combined with the multivariate working condition time series for working condition change detection, outputting enhanced temporal features containing extreme working condition change information; The enhanced time-series features are input into the progressive perturbation generative adversarial network (PGAN) module. The PGAN module sequentially performs mild perturbation enhancement, moderate perturbation enhancement, and extreme state generation processing on the enhanced time-series features, and outputs target extreme operating condition time-series data.
4. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 3, characterized in that, The multi-scale dynamic temporal feature extraction module includes a first 1×1 convolutional layer, a dilated convolutional branch, a first fusion layer, and a second 1×1 convolutional layer connected in sequence. Dilated convolution branches include parallel short-time branches and long-time branches; The short-time branch consists of a first 3×3 dilated convolutional layer and a third 1×1 convolutional layer in series, and the dilation rate of the first 3×3 dilated convolutional layer is 1. The long-time sub-branch includes a first long-time sub-branch and a second long-time sub-branch connected in parallel. The first long-time sub-branch includes a second 3×3 dilated convolutional layer and a fourth 1×1 convolutional layer connected in series, and the dilation rate of the second 3×3 dilated convolutional layer is 2. The second long-time sub-branch includes a third 3×3 dilated convolutional layer and a fifth 1×1 convolutional layer connected in series, and the dilation rate of the third 3×3 dilated convolutional layer is 4. The first 1×1 convolutional layer is used to perform channel mapping on the input multivariate working condition time series, mapping different working condition parameters to a unified feature space to obtain a time series feature map after channel mapping. Short time-series branches are used to extract local dynamic fluctuation features in the time-series feature map after channel mapping; Long-term branches are used to extract medium- to long-term trend features from the time-series feature map after channel mapping; The first fusion layer is used to fuse the local dynamic fluctuation features with the medium- and long-term change trend features to generate the first fusion feature; The second 1×1 convolutional layer is used to adjust the channels of the first fused feature and output multi-scale fused temporal features.
5. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 3, characterized in that, The extreme state enhanced self-attention module includes: a linear mapping layer, a condition change detection branch, an attention weight calculation unit, a weighted fusion unit, and an output layer; the condition change detection branch includes a change magnitude calculation unit and an extreme state weight generation unit. Among them, the linear mapping layer is connected in parallel with the working condition change detection branch and then connected in series with the attention weight calculation unit. The attention weight calculation unit is then connected in series with the weighted fusion unit and the output layer in sequence, and the output end of the linear mapping layer is also connected to the weighted fusion unit. The linear mapping layer is used to perform linear mapping on the input multi-scale fused temporal features to generate a query matrix, a key matrix, and a value matrix. The variation amplitude calculation unit is used to calculate the change of each operating parameter between adjacent time steps based on the operating parameters corresponding to the multi-scale fused time series features, and to obtain the operating condition change features. The extreme state weight generation unit is used to adaptively generate extreme state weights based on the characteristics of operating condition changes. The attention weight calculation unit is used to calculate the attention weight matrix using the Softmax function based on the query matrix, key matrix, and extreme state weights. The weighted fusion unit is used to perform weighted calculations on the value matrix based on the attention weight matrix to obtain the weighted temporal features; The output layer is used to process the weighted time series features, and outputs enhanced time series features that include information on extreme operating condition changes.
6. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 3, characterized in that, The progressive perturbation generative adversarial network module includes a sixth 1×1 convolutional layer, a mild perturbation enhancement unit, a moderate perturbation enhancement unit, and an extreme state generation unit connected in sequence. The mild perturbation enhancement unit includes a first 5×5 convolutional layer, a first batch of normalization layers, a first ReLU activation layer and a fourth 3×3 dilated convolutional layer connected in series, and the dilation rate of the fourth 3×3 dilated convolutional layer is 1. The moderate perturbation enhancement unit includes a second 5×5 convolutional layer, a second batch of normalization layers, a GELU activation layer, a fifth 3×3 dilated convolutional layer and a first residual block connected in series, and the inflation rate of the fifth 3×3 dilated convolutional layer is 2. The extreme state generation unit consists of a second residual block, a 7×7 convolutional layer, a self-attention layer, a seventh 1×1 convolutional layer, and a Tanh activation layer, which are connected in series. The sixth 1×1 convolutional layer is used to perform channel mapping on the input enhanced temporal features to obtain the mapped enhanced features; The mild perturbation enhancement unit is used to extract local dynamic change information and perform mild perturbation enhancement on the mapped enhancement features, and output mild perturbation enhancement features; The moderate perturbation enhancement unit is used to extract mesoscale dynamic change information and perform moderate perturbation enhancement on the mild perturbation enhancement features, and output moderate perturbation enhancement features; The extreme state generation unit is used to model the global correlation of moderate disturbance enhancement features and enhance extreme states, and outputs target extreme operating condition time series data.
7. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 1, characterized in that, The improved generative adversarial network model includes a generator and a discriminator; The training process for generating models from time series data under extreme operating conditions includes: Obtain historical multivariate working condition time series as the training set; Random noise is input into the generator to generate initial samples; Input the historical multivariate operating condition time series and the initial generated samples into the discriminator, perform true / false discrimination and dynamic trend consistency discrimination on the historical multivariate operating condition time series and the initial generated samples, and output the discrimination results; The loss function value is calculated based on the discrimination result, and the network parameters of the generator are iteratively updated multiple times based on the loss function value until the preset stopping condition is reached, at which point the iterative training stops, and the trained generator is determined as the extreme working condition time series data generation model.
8. The method for generating extreme working condition data during the high-temperature pipe insertion process of plastic-lined steel pipes according to claim 7, characterized in that, The discriminator to be trained consists of a 3×3 convolutional layer, a LeakyReLU activation layer, a third 5×5 convolutional layer, a third batch normalization layer, a second fusion layer, and a fully connected layer connected in sequence. A 3×3 convolutional layer and a LeakyReLU activation layer are used together to extract historical multivariate working condition time series of the input and local dynamic features in the initial generated samples; The third 5×5 convolutional layer and the third batch normalization layer are used together to extract the historical multivariate working condition time series of the input and the long-term dynamic change features in the initial generated samples; The second fusion layer is used to fuse local dynamic features with long-term dynamic change features to obtain the second fused feature; The fully connected layer is used to output true / false discrimination results and dynamic trend consistency discrimination results based on the second fusion feature.
9. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement a method for generating extreme working condition data during the high-temperature pipe threading process of plastic-lined steel pipes as described in any one of claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method for generating extreme working condition data during the high-temperature pipe threading process of plastic-lined steel pipes as described in any one of claims 1-8.
