Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Nonprehensile Manipulation for Rapid Object Spinning via Multisensory Learning from Demonstration
Previous Article in Journal
Temperature and Twist Sensor Based on the Sagnac Interferometer with Long-Period Grating in Polarization-Maintaining Fiber
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

Research on Time Series-Based Pipeline Ground Penetrating Radar Calibration Angle Prediction Algorithm

1
School of Mechanical Electronic and Information Engineering, China University of Mining and Technology (Beijing), Beijing 100083, China
2
Beijing Drainage Group Co., Ltd., Beijing 100044, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(2), 379; https://doi.org/10.3390/s24020379
Submission received: 6 November 2023 / Revised: 20 December 2023 / Accepted: 4 January 2024 / Published: 8 January 2024
(This article belongs to the Section Radar Sensors)

Abstract

:
The pipeline ground-penetrating radar stands as an indispensable detection device for ensuring underground space security. A wheeled pipeline robot is deployed to traverse the interior of urban underground drainage pipelines along their central axis. It is subject to influences such as resistance, speed, and human factors, leading to deviations in its posture. A guiding wheel is employed to rectify its roll angle and ensure the precise spatial positioning of defects both inside and outside the pipeline, as detected by the radar antenna. By analyzing its deflection factors and correction trajectories, the intelligent correction control of the pipeline ground-penetrating radar falls into the realm of nonlinear multi-constraint optimization. Consequently, a time-series-based correction angle prediction algorithm is proposed. The application of the long short-term memory (LSTM) deep learning model facilitates the prediction of correction angles and torque for the guiding wheel. This study compares the performance of LSTM with an autoregressive integrated moving average model under identical dataset conditions. The subsequent findings reveal a reduction of 4.11° and 8.25 N·m in mean absolute error, and a decrease of 10.66% and 7.27% in mean squared error for the predicted correction angles and torques, respectively. These outcomes are achieved utilizing the three-channel drainage pipeline ground-penetrating radar device with top antenna operating at 1.2 GHz and left/right antennas at 750 MHz. The LSTM prediction model intelligently corrects its posture. Experimental results demonstrate an average correction speed of 5 s and an average angular error of ±1°. It is verified that the model can correct its attitude in real-time with small errors, thereby enhancing the accuracy of ground-penetrating radar antennas in locating pipeline defects.

1. Introduction

Extensive subterranean drainage systems intersect the urban expanse. In the event of a rupture or leakage within a subterranean drainage pipeline, the ground will give way, resulting in the accumulation of sediment within the pipeline and impeding the flow of urban drainage, thereby gravely compromising the safety of urban operations. Within municipal subterranean pipelines, the drainage pipes are customarily positioned at the base of the substructure. The presence of damaged and leaky drainage pipes contributes to the erosion of neighboring soil, leading to the formation of voids surrounding the pipes, and ultimately instigating the collapse of urban thoroughfares. Thus, the assessment of drainage pipe quality and the identification of voids in their vicinity are of utmost importance in the prevention of urban road collapse.
The pipeline ground-penetrating radar (PPR) detection device is capable of effectively detecting cavities in the vicinity of the pipeline. This capability represents one of the fundamental technologies employed in urban underground space security systems [1]. The research object of this study is the three-channel drainage pipeline radar detection device [2,3], which has been developed by the China University of Mining and Technology (Beijing) and is depicted in Figure 1. This device consists of a video system and a radar antenna system that are used to determine the corrosion depth of the pipe top and detect voids outside the pipe. Notably, the three channels of the device are positioned at an angle of 120°, enabling simultaneous detection of the pipeline interior, pipe body, and the external environment of the pipeline.
The pipeline GPR is pulled by an electric cable reel at a constant speed to travel inside the drainage pipe. The deviation correction device is located in front of the radar antenna on the top of the PPR. The deviation correction device includes a guide wheel and a servo motor. When the attitude of the PPR deflects, the MCU controls the servo motor to drive the guide wheel to rotate and dynamically correct the attitude angle of the PPR.
The detection of pipeline diseases in engineering employs a traction support wheel for the movement of the PPR, ensuring accurate positioning along the target axis. However, during the actual detection process, the PPR is inevitably influenced by factors such as weight, slope changes, and travel speed, resulting in automatic rotation [4,5,6]. This leads to roll angle deviation, necessitating the correction of the radar antenna angle to accurately locate anomalies in spatial position.
In recent years, scholars and experts have conducted research on PPR attitude control and trajectory planning for correction. For instance, Ren T. et al. compared and analyzed the characteristics of different screw drive in-pipe robots, focusing on mechanism design, driving principles, and motion and mechanical behaviors [7]. The trajectory correction algorithm of an intelligent tunneling robot system is based on fuzzy proportional-integral-derivative (PID), effectively eliminating lateral errors of the road header for trajectory correction [8]. Yeh T. et al. designed four control systems to regulate screw speed, lifting torque, steering angle, and overrun angle, enhancing the performance of the robot’s helical motion in pipes with varying inclinations [9]. However, these methods face challenges in practical applications, including instability, low reproducibility, and the need for extensive training data sets.
The integration of classical control and advancements in deep-learning-based methods has led to the development of new research techniques [10,11,12,13]. Patel R. et al. effectively combined an adaptive sliding mode controller (ASMC) with recurrent neural networks like LSTM and gated recurrent units (GRU) to develop robust adaptive motion control techniques [14]. Chen K. et al. proposed a composite control model that combines PID control closed-loop with an LSTM maneuverability model open-loop, improving the dynamic obstacle avoidance ability of robots [15]. Inoue M. et al. proposed a robot path planning method that combines rapidly exploring random tree (RRT) and LSTM networks, leveraging their high learning and generalization capabilities [16]. Steuernagel L. et al. suggested the use of an encoder–decoder sequence-to-sequence neural network for complex motions where Kalman predictors cannot account for future robot actions, resulting in better motion planning and decision-making [17].
The existing support wheel pipeline inspection equipment is pulled along the pipeline via an electric cable reel, and the attitude angle adjustment of the PPR is achieved by adjusting the angle of the guide wheel. However, this operation accuracy is greatly dependent on the operator, leading to a range of issues such as lengthy correction times and over-correction. Consequently, it becomes challenging to ensure the detection and positioning accuracy of the radar antenna. Hence, it is imperative to explore automatic correction control methods for the PPR.
Section 2 describes the rotation characteristics exhibited by the PPR that have been developed internally. Section 3 offers a demonstration of how the corrective trajectory is generated. Section 4 presents the prediction of the corrective angle, which is based on the LSTM technique. Section 5 showcases the experimental results obtained from the self-developed pipeline radar robot. Lastly, Section 6 draws conclusions for the paper.

2. PPR Rotation Characteristics

The PPR is influenced by various factors while moving inside a pipeline, leading to a gradual change in its initial motion attitude. The three sets of walking mechanisms of the PPR are designed spatially at equal intervals of 120°. To ensure the accuracy of the GPR antennae in locating the defects inside the pipeline, it is necessary to keep the cross-roll angle of the PPR stable. And, it should be corrected when the roll angle changes.
For the PPR to travel in a predetermined attitude, it travels along the central axis without deflection. The spin deflection during its travel must be corrected. The method is to apply an attitude correction moment. The vector of moments pointing in the positive direction of the PPR is specified to be positive. A positive correction moment amplifies the PPR’s roll angle.

2.1. Attitude Angle of the PPR

The definition of the PPR’s attitude angle and the decomposition of attitude deflection force are illustrated in Figure 2. This figure shows the projection of the PPR’s travel direction in the drainage pipe, with the view angle directly aligned with the radar antenna. The attitude angle (roll angle) ϕ , is defined as the angle between the X–Z plane of the pipeline coordinates and the follower wheel. Counterclockwise rotation is considered positive, while clockwise rotation is considered negative.
In Figure 2, the x y z axes constitute a pipeline coordinate system, where the x-axis aligns with the pipeline axis, and the z-axis opposes the direction of gravitational force. The z R axis corresponds to the direction of the top radar antenna on the PPR. m represents the correction direction in the y z plane, the n signifies the forward direction of the PPR. α denotes the angle between the guiding wheel and the pipeline axis, and this angle is utilized to generate the attitude correction angles and torques for the PPR, facilitating its realignment. In this context, the PPR adjusts its attitude correction angles and torques to maintain alignment with the desired direction.
Applying appropriate attitude correction torques to the PPR facilitates the effective adjustment of the radar antenna’s detection angle to meet specific operational requirements. By modulating the magnitude and direction of the attitude correction torque, aligning it with the error in the attitude angle α is achieved.
The process of attitude correction for the guiding wheels of the PPR is depicted in Figure 3. In the diagram, the details of the correction mechanism are in the dashed arrow and square. The v represents the speed of the PPR along the pipeline axis. Under the influence of the attitude correction torque M d , tangential reactive force f i o ( i = 1 , 2 , 3 ) arises between the support wheels of the PPR and the pipeline wall. The traction force experienced by the PPR is denoted as F t , and f i x ( i = 1 , 2 , 3 ) represents the frictional force acting along the pipeline axis. This calibration process involves motion velocity, attitude correction torque, and interactions with the pipeline wall to achieve precise control of the PPR.
If the support wheels of the PPR are rigid, three potential scenarios may arise:
  • When the lateral reaction force f i o ( i = 1 , 2 , 3 ) does not exceed the lateral attachment limit between the support wheel and the inner wall of the pipe.
    i = 1 3 f i o R = M d < i = 1 3 N i f i c R
    where N i is the closure force of the support wheel i, f i c is the lateral attachment coefficient between the support wheel and the pipe wall, R is the radius of the pipe. There is no lateral sliding between the support wheel and the pipe wall, the support wheel still travels in its flat direction, and the attitude correction torque M d is suppressed for the correction of the attitude angle.
  • When the lateral reaction force f i o ( i = 1 , 2 , 3 ) reaches the lateral attachment limit between the support wheel and the inner wall of the pipe.
    i = 1 3 f i o R = M d = i = 1 3 N i f i c R
    Then lateral sliding occurs between the support wheel and the pipe wall; the sliding velocity is v x , the support wheel then travels in the direction of the synthetic velocity, the attitude correction torque M d takes effect on the correction of the attitude angle, and after Δ t moments, the PPR attitude angle changes to:
    Δ ϕ = v c Δ t R
  • When the attitude correction torque continues to increase by M d > i = 1 3 N i f i c R , the PPR attitude angle correction equation is
    J x ϕ ¨ = M d i = 1 3 N i f i c R
    where J x is the rotational inertia of the PPR around its central axis. At this time, the PPR changes its attitude angle from the initial position with angular acceleration.
Since the support wheel of the PPR cannot achieve complete rigidity, when the support wheel is elastic in the lateral direction, even if the lateral reaction force f i o does not reach the limit of lateral attachment between the support wheel and the inner wall of the pipeline, the direction of travel of the support wheel will deviate from the pipeline axis. The angle of deviation β is related to the closure force N i on the support wheel and the attitude correction torque M d . In the case of a certain closure force N i , when the angle of β is small, the relationship between M d and β is linear as follows:
M d = k β
where k is the lateral stiffness of the support wheel in N·m/rad. The larger the lateral stiffness, the smaller the lateral elasticity of the support wheel, and the smaller β is. Therefore, under the action of attitude correction torque M d , the attitude angle formed due to the lateral elasticity of the support wheel is corrected as:
{ Δ ϕ = S a R tan β = S a R tan M d k S a = v x Δ t
where S a is the distance moved by the PPR along the pipeline axis; v x is the speed.
In summary, the PPR is analysed by the guiding wheel to generate the attitude correction angle and torque to form a certain angle α between it and the pipeline axis, as shown in Figure 3. When the PPR is in the pipeline with a pipeline radius of R, moving along the pipeline axis, with a speed v, the guiding wheel makes a mixed motion of sliding and rolling. At this time, the friction force along the lateral component perpendicular to the pipeline axis will generate the attitude correction torque, the expression of which is:
M d = 0.5 k 1 v R sin 2 α
where k 1 is the correction torque coefficient [18], and α = 45 produces the maximum attitude correction torque. By adjusting the size of the angle, the size and direction of the attitude correction torque can be adjusted to correct the PPR’s roll angle.

2.2. PPR Motion Resistance

During the movement of the PPR within drainage pipes, the antenna experiences pressure against the pipeline wall due to the action of torsion spring elasticity. If the guiding wheel is subjected to pressure against the pipeline wall, frictional forces will arise between the guiding wheel and the pipeline wall. If the direction of the frictional force forms an angle with the pipeline axis, it generates the necessary corrective torque for attitude correction. The greater this frictional force, the larger the corrective torque. Due to the influence of gravity, pressure between the left and right sections of the radar and the pipeline wall generates frictional forces that impede the torque required for attitude deviation. This frictional force directly hinders the correction of the PPR. An increase in frictional resistance leads to a reduction in the ability to correct at the same deviation angle, and vice versa. These frictional forces are influenced by pressure. Therefore, the pressure between the radar and the pipeline wall plays a crucial role in the correction process. Pressure provides essential parameters for calculating the deviation trajectory.
The force diagram, as shown in Figure 4, simplifies the PPR in its movement within the pipeline.
PPR experiences gravitational force G ; the three arc-shaped radar antennas receive from the pipeline wall support forces F 1 , F 2 , F 3 ; the deviation angle of the PPR is ϕ . The equilibrium equation in the y z -plane of the pipeline can be expressed as follows:
F 1 cos ϕ + F 2 sin ( 30 ϕ ) + F 3 sin ( 30 + ϕ ) G = 0 F 1 sin ϕ + F 2 cos ( 30 ϕ ) F 3 cos ( 30 ϕ ) = 0
The PPR motion resistance is mainly through the presetting of pressure sensors on the key components to collect their force changes during the detection process, as shown in Figure 5.
The test chooses to collect the vertical pressure on the cover and the torque of the rotating shaft and pre-set the pressure sensor in the cavity of the cover, respectively. The acceleration value is measured according to the built-in gyroscope. The relationship between pressure and friction can be expressed as:
μ i F i = f i = f i x 2 + f i o 2 ( i = 1 , 2 , 3 )
where f i is the frictional force experienced by the radar antenna; μ i is the friction coefficient between the radar and the pipeline wall. While accurately estimating the friction coefficient may be challenging, the motion resistance of the PPR is closely linked to the pressure exerted by the pipeline wall on the three radar antennas. Therefore, considering pressure as an input parameter for optimizing the deviation trajectory is reasonable.

3. Calculation and Optimization of Corrective Trajectories

3.1. Calculation of Corrective Trajectories

Based on the above deflection factors of PPR inside the pipeline, the Euler–Lagrange method is used to derive the dynamic equations, and the PPR deflection correction torque can be expressed as:
τ = M ( q ) q ¨ + H ( q , q ˙ ) + G ( q ) + τ f
where q , q ˙ and q ¨ are the deflection angle vector, velocity vector, and acceleration vector. M ( q ) is the inertia matrix of the PPR, H ( q , q ˙ ) is the centrifugal and Coriolis force matrix, G ( q ) is the heavy torsion matrix, τ f is the friction vector.
τ r = Φ ( q , q ˙ , q ¨ ) θ + τ f
where Φ ( q , q ˙ , q ¨ ) is the observation matrix, which is related only to the deflection angle, velocity, acceleration, and junction structure of the PPR, and θ is the vector of basic inertial parameters, including the mass, center of gravity, and moment of inertia, τ f given by the calculation in the previous section.
Concerning the accuracy of the PPR’s dynamic model and correction angle prediction, it can be assessed in terms of the root mean square error (RMSE) of the PPR’s predicted angles and torques concerning the actual measured angles and torques. The smaller the RMSE, the better the dynamic model and predicted angles.

3.2. Corrective Trajectory Optimisation

The first five terms of the Fourier series are used as the corrective trajectory for the identification and study of the kinetic parameters of the PPR. This periodic function facilitates multiple repetitions of experiments and the transmission of information such as angle, velocity, and torque.
q ( t ) = q 0 + k 5 ( a k s i n ( k ω f t ) + b k c o s ( k ω f t ) )  
where q ( t ) is the trajectory function with respect to time t, ω f is the fundamental frequency, q 0 is the offset constant, a k , b k , q 0 and ω f are the trajectory parameters.
The objective function W is defined by the condition number of the observation matrix:
J = C o n d ( W )
where W is the ratio of the singular value extremes of the observation matrix C o n d ( W ) .
The precision of the rectified trajectory is linked to the noise reduction capability of the observation matrix, and the goal function impacts the sensitivity of the discriminated parameters to the measurement error, which subsequently influences the accuracy of the resultant parameters. The smaller the goal function, the greater the deviation correction effect. Simultaneously, the rectifying trajectory of PPR must also comply with the constraints of the maximum deflection angle, the velocity, and acceleration of the initiation and termination phases. Consequently, the rectifying trajectory can be optimized as follows:
{ min ( J ) q m i n | q ( t ) | q m a x q ˙ m i n | q ˙ ( t ) | q ˙ m a x q ¨ m i n | q ˙ ( t ) | q ¨ m a x q ( t 0 ) = q ( t M ) = 0 q ˙ ( t 0 ) = q ˙ ( t M ) = 0 q ¨ ( t 0 ) = q ¨ ( t M ) = 0
where q m i n , q m a x , q ˙ m i n , q ˙ m a x , q ¨ m i n , q ¨ m a x are boundary values for angle, velocity and acceleration. t 0 , t M are the starting and ending moments.
The optimisation of the corrective trajectory is similar to a nonlinear multi-constraint optimisation problem, which can be optimised by objective optimisation algorithms such as Non-dominated Sorting Genetic Algorithms (NSGA) [19] and the optimised PPR angular corrective trajectory is shown in Figure 6a, and the velocity corrective trajectory is shown in Figure 6b, and the acceleration corrective trajectory is shown in Figure 6c. The trajectory is gentle, and the starting and stopping points are all back to the middle, which is not beyond the limitation range, but the optimisation calculation needs to be carried out at each moment, which does not have the memory of past optimisation experiences, and thus the computational resources consumed are larger, and this corrective trajectory is used in the subsequent predictions of the corrective angle and experimental research.
In the actual detection process, the use of NSGA algorithm is not very effective in completing the PPR attitude correction. However, it can be applied to obtain the value of the roll angle under different correction angles.

4. Corrective Angle Predictions Based on LSTM Neural Network

The optimisation algorithm in the previous section, due to the need for a large number of iterative calculations at each moment in the process of travelling, is unable to meet the requirements of accuracy and speed simultaneously. In the actual pipeline deskewing process, it needs to be dragged forward at a slower speed due to the poor real-time performance, and the computational accuracy is not sufficiently high, the efficiency is low, and sometimes even non-convergence occurs. However, due to the large amount of data collected in the actual test, different trends of the cross-roll angle can be obtained for different deflection correction angles under different parameter environments. In the following, an LSTM neural network model will be used to train the existing actual data in order to simplify the process of calculating with a large number of iterations at every time, and to substantially improve the deflection correction speed and accuracy, and to predict the deflection of the pipeline.
For the characteristics of PPR deflection in drainage pipes, a total of 8000 sample sets are constructed based on different roll angles, slope changes, torque, and travelling speeds, as shown in Table 1.

4.1. LSTM Neural Networks

For serialized data, Recurrent neural network (RNN) processing method can be used. LSTM network is based on this, for the joint action of historical and new information, and targeted improvement. LSTM can thus learn the features of time series better and avoid the problem of gradient vanishing [20,21]. Multiple structural units are connected to form the unit structure of LSTM, which extends with time and depth, and can improve the problem of insufficient memory and the slow computation of objective optimization algorithms such as NSGA.
The motion process of the PPR in the pipeline, and the dynamics data during its motion, is a typical continuous time series. The time-varying factors, such as friction, cause the attitude change of the PPR, which fits well with the characteristics of LSTM. In this study, LSTM cells with cell states and gate structure are used to improve the prediction effect:
{ i t = S i g ( W i [ h t 1 , x t ] + b i ) o t = S i g ( W o [ h t 1 , x t ] + b o ) C ˜ t = tanh ( W C [ h t 1 , x t ] + b C ) C t = f t C t 1 + i t C ˜ t f t = S i g ( W f [ h t 1 , x t ] + b f ) h t = o t tanh ( C t )
where x t is the input vector at the current time t. h t 1 is the output of the preceding LSTM network at the current time. W i , W o , W C , W f are the weight matrices of the input gate, output gate, cell unit and forgetting gate of the previous LSTM network at the current time t. b i , b o , b C and b f are the corresponding offsets. C and h are the output vector of the cell and the implied state, respectively. i and C ˜ are the intermediate variables of cell. o denotes intermediate variables of the output gate. The cell structure of the hidden layer of the LSTM neural network is shown in Figure 7.
The training method for LSTM networks is backpropagation through time (BPTT), which is similar to the BP algorithm and consists of steps such as forward computation, backward computation, calculating the gradient and updating the parameters. There are many types of gradient-based optimization algorithms, the Adaptive moment estimation (Adam) algorithm [22], which is used to optimize the LSTM network training method, can compute the adaptive learning rate for different parameters and occupies less storage resources. Compared to other stochastic optimization methods, the Adam algorithm performs better in most practical applications [19].

4.2. LSTM Corrective Angle Prediction Process

The composition of the dataset for the LSTM network is centered around the deflection angle. This dataset encompasses a total of 8000 datasets. The six distinct categories within this dataset include mileage, slope, deflection angle, velocity, acceleration, and deflection torque of the PPR in the drain. The dataset is constructed using input data collected from sensors carried by the PPR in the drain, as well as the outcomes of the deflection correction within the dataset. Of the entire dataset, 80% is allocated as the training set for deflection correction, while the remaining 20% is designated as the test set data.
The LSTM-network-based PPR deviation angle prediction process is shown in Figure 8. It including: the LSTM network, the dataset generation and the network training method. The input and output layers of the LSTM network are fully connected networks and the hidden layer consists of LSTM units. The X is the distribution data, C is the cell output and H is the cell hidden state, the main steps are as follows:
  • Torque and corrective angle prediction using the original data being dynamically modelled;
  • Normalization of the training set and test set raw data, including predicted torque, actual torque and actual position;
  • Training set into the fully connected input layer;
  • Iterative computation in the hidden layer;
  • Predicted torque and corrective angle of the LSTM are given through the output layer;
  • Calculate the loss, the RMS error of the predicted torque and kink angle with respect to the actual measured torque and kink angle;
  • Perform network parameter optimization through Adam optimizer;
  • Weight update is performed and applied;
  • The test set calculates the compensated predicted torque and deflection correction angle through the network and performs the prediction effect evaluation.
Based on the trial calculations and the actual situation, the parameters of the pre-trained model network structure for PPR corrective angle prediction are obtained, as shown in Table 2. The input vectors are the calculated torque, the actual torque, the actual speed and the actual angle at each moment of history. The output vectors are the predicted torque and corrective angle at the next moment, and the number of nodes of the LSTM network is selected according to the feature dimensions, and the loss is the root-mean-square error of the predicted angle and torque at the current moment relative to the predicted angle and torque at the next moment.

5. Correction Angle Experiment

5.1. Composition of PPR Deviation Correction Mechanism

The three-channel PPR guiding mechanism in the drainage pipe mainly consists of the main controller, motor driver, motor, guide wheel and drive shaft, as shown in Figure 9. The main controller is an ARMv7-based MCU, and the servo driver is a dual H-bridge FOC controller that supports EtherCAT high-speed and low-latency communication.
The servo drive is set to cyclic synchronised position mode. The servo drive and the main controller communicated via EtherCAT, with the controller sending serial points of the excitation trajectory in the graph to the drive, using a fixed frequency of 100 Hz to ensure continuous and smooth motion. While the three-channel PPR in the drainage pipe is in motion, the main controller also communicates with the drive to collect data such as angle, speed and torque.
The utilization of a triple-loop structure control algorithm, which is frequently employed for servo motors, is implemented due to the absence of influence on the intrinsic characteristics of the PPR. These three loops consist of a current loop, a velocity loop, and an angle loop, progressing from the innermost layer to the outermost layer. These aforementioned control loops can be categorized as PID controllers, which utilize feedback signals. The holistic motor control design is visually represented in Figure 10.

5.2. PPR Correction Experiment

Through conducting 20 iterations of PPR correction experiments on a series of pipelines, a total of 8000 raw data points were acquired, each with a time interval of 1 s. Among these data points, 80% were allocated to serve as correction training sets, while the remaining 20% were designated as test set data. The training set consists of the optimized correction trajectory, while the test set encompasses the correction trajectory that has been subjected to additional constraints. A visual representation of the experimental site can be observed in Figure 11.
The corrective trajectories and experimental data are used as training data for the LSTM network by predicting the angle and torque at the current moment from the velocity and acceleration at the previous moment. The root-mean-square error of the theoretical computed angle and torque and the actual angle and torque are used as the loss function.
L o s s = 1 N i = 1 N ( y ^ i - y i ) 2
where y ^ i is the anticipated value of the correction angle as predicted by the model, y i is the measured value of the correction angle in the experiment.
As the number of iterations of the LSTM network increases, the loss gradually decreases, and when the iteration reaches about 800 times, the decreasing speed and fluctuation of the loss tends to level off, and the training is terminated at this time. The relationship between the number of iterations and the loss is shown in Figure 12.
A comparison of the prediction results of the angle and torque by LSTM and the traditional differential Autoregressive Integrated Moving Average (ARIMA) model in the same data set is shown in Figure 13, and the two error functions are used to calculate the Mean Absolute Error (MAE) and Mean Square Error (MSE) between the measured and predicted values to evaluate the performance indexes of the intelligent deviation correction prediction model. These expressions are as follows:
M A E = 1 N i = 1 N | y ^ i y i |
M S E = 1 N i = 1 N ( y ^ i - y i ) 2
where y ^ i is the normalized predicted value, y i is the normalized measured value, N is the number of samples in the training set.
The trained neural network model is arranged in the MCU firmware of the PPR and is used for real time attitude correction in the drainage pipe. The PPR is pulled by the motor of the wheel at a constant speed as it travels in-pipe. The concrete pipe diameter is 600 mm, length is 4.5 m, water content of 1/3, and wall containing silt. The experimental environment is shown in Figure 14. The mean values of 10 sets of experimental data are shown in Table 3.
The experimental findings indicate that under identical dataset conditions compared to ARIMA, the LSTM demonstrates a reduction in MAE for predicting yaw angles and torque by 4.11° and 8.25 N·m, respectively. The MSE also shows a decrease of 10.66% and 7.27%. When contrasted with ARIMA and conventional PID control methods, the average correction time is 5 s with an average angular error within ±1°. The experimental results validate its correction capability within these error margins. The LSTM predictive model enhances the real-time responsiveness and accuracy of PPR’s attitude correction.

6. Conclusions

The self-developed PPR proposed in this study demonstrates a structure that is lightweight and possesses a minimal force of inertia. However, the trajectory of the robot is disrupted by various factors, including motion resistance, travelling speed, slope change, and human factors, which result in deviations from the target axis during traversal. In order to tackle the problem of low accuracy and significant uncertainty associated with the traditional manual angle correction manipulation, this study introduces a correction angle compensation method based on LSTM network. This method effectively reduces the error between the predicted and actual angles.
The experimental results reveal that the proposed approach, in comparison to the ARIMA model, achieves a higher level of accuracy, as indicated by the lower MAE and MSE values. Therefore, the corrective angle compensation technique based on the LSTM network is proven to be both feasible and effective, serving as a solid foundation for future research in dynamic control. Nevertheless, there are a few technical challenges that persist during the actual implementation, such as the optimization of the network structure of the prediction model, which necessitate further investigation in subsequent studies.

Author Contributions

M.X. contributed to the research idea, methodology, and model design. He also wrote the main portion of the manuscript. F.Y. proposed the correction conceptualization and validated the whole integration scheme, and was responsible for the thesis revision proofreading. Y.F. designed the mechanics of the PPR. F.L. designed the algorithmic model. R.Y. supervised and validated the research. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China, grant numbers (2021YFC3090303 and 2021YFC3090304).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Author Rui Yan was employed by the company Beijing Drainage Group Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Salihu, C.; Hussein, M.; Mohandes, S.R.; Zayed, T. Towards a Comprehensive Review of the Deterioration Factors and Modeling for Sewer Pipelines: A Hybrid of Bibliometric, Scientometric, and Meta-Analysis Approach. J. Clean Prod. 2022, 351, 131460. [Google Scholar] [CrossRef]
  2. Xu, M.; Yang, F.; Yan, R. Design and Implementation of Three-Channel Drainage Pipeline Ground Penetrating Radar Device. Sensors 2023, 23, 4525. [Google Scholar] [CrossRef]
  3. Xu, M.; Yang, F.; Li, T.; Dong, Z.; Wang, X.; Zhang, H. A Kind of Urban Underground Pipeline Radar Detector 2019. CN Patent CN108679454B, 2 April 2019. [Google Scholar]
  4. Tu, Q.; Liu, Q.; Ren, T.; Li, Y. Obstacle Crossing and Traction Performance of Active and Passive Screw Pipeline Robots. J. Mech. Sci. Technol. 2019, 33, 2417–2427. [Google Scholar] [CrossRef]
  5. Lee, S.; Park, J. Slip and Tip-over Prediction Map for Stable Driving of Mobile Robot. In Proceedings of the 2019 International Conference on Electronics, Information, and Communication (ICEIC), Auckland, New Zealand, 22–25 January 2019; pp. 1–3. [Google Scholar]
  6. Kim, J.; Lee, J. Real-Time Estimation of Maximum Friction and Optimal Slip Ratio Based on Material Identification for a Mobile Robot on Rough Terrain. In Proceedings of the 2013 13th International Conference on Control, Automation and Systems (ICCAS 2013), Gwangju, Republic of Korea, 20–23 October 2013; pp. 1708–1713. [Google Scholar]
  7. Ren, T.; Zhang, Y.; Li, Y.; Chen, Y.; Liu, Q. Driving Mechanisms, Motion, and Mechanics of Screw Drive In-Pipe Robots: A Review. Appl. Sci. 2019, 9, 2514. [Google Scholar] [CrossRef]
  8. Zhang, X.; Boxing, L.; Zhang, C.; Xie, N.; Zhou, C.; Zhang, K. Trajectory Correction of Intelligent Tunneling Robot Based on Fuzzy PID. Coal Mine Mach. 2021, 42, 194–197. [Google Scholar] [CrossRef]
  9. Yeh, T.; Weng, T. Analysis and Control of an In-Pipe Wheeled Robot with Spiral Moving Capability. J. Auton. Veh. Syst. 2020, 1, 011002. [Google Scholar] [CrossRef]
  10. Bae, H.; Kim, G.; Kim, J.; Qian, D.; Lee, S. Multi-Robot Path Planning Method Using Reinforcement Learning. Appl. Sci. 2019, 9, 3057. [Google Scholar] [CrossRef]
  11. Zhou, C.; Huang, B.; Fränti, P. A Review of Motion Planning Algorithms for Intelligent Robots. J. Intell. Manuf. 2022, 33, 387–424. [Google Scholar] [CrossRef]
  12. Tai, L.; Paolo, G.; Liu, M. Virtual-to-Real Deep Reinforcement Learning: Continuous Control of Mobile Robots for Mapless Navigation. In Proceedings of the 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vancouver, BC, Canada, 24–28 September 2017; pp. 31–36. [Google Scholar]
  13. Lu, Y.; Wang, W.; Xue, L. A Hybrid CNN-LSTM Architecture for Path Planning of Mobile Robots in Unknow Environments. In Proceedings of the 2020 Chinese Control and Decision Conference (CCDC), Hefei, China, 22–24 August 2020; pp. 4775–4779. [Google Scholar]
  14. Patel, R.; Zeinali, M.; Passi, K. Deep Learning-Based Robot Control Using Recurrent Neural Networks (LSTM; GRU) and Adaptive Sliding Mode Control. In Proceedings of the 8th International Conference of Control Systems, and Robotics (CDSR’21), Virtual, 23–25 May 2021. [Google Scholar]
  15. Chen, K.; Ye, C.; Wu, C.; Wang, H.; Jin, L.; Zhu, F.; Hong, H. A Novel Open-Closed-Loop Control Strategy for Quadrotor Trajectory Tracking on Real-Time Control and Acquisition Platform. Appl. Sci. 2023, 13, 3251. [Google Scholar] [CrossRef]
  16. Inoue, M.; Yamashita, T.; Nishida, T. Robot Path Planning by LSTM Network Under Changing Environment. In Advances in Computer Communication and Computational Sciences; Bhatia, S.K., Tiwari, S., Mishra, K.K., Trivedi, M.C., Eds.; Advances in Intelligent Systems and Computing; Springer: Singapore, 2019; Volume 759, pp. 317–329. ISBN 9789811303401. [Google Scholar]
  17. Steuernagel, L.; Maximo, M.R.O.A. Trajectory Prediction for SSL Robots Using Seq2seq Neural Networks. In Proceedings of the RoboCup 2022, Bangkok, Thailand, 17 July 2022; pp. 27–38. [Google Scholar]
  18. Barnes, R.; Atherton, D.L. Effects of Bending Stresses on Magnetic Flux Leakage Patterns. NDT E Int. 1993, 26, 3–6. [Google Scholar] [CrossRef]
  19. Deb, K.; Jain, H. An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point-Based Nondominated Sorting Approach, Part I: Solving Problems with Box Constraints. IEEE Trans. Evol. Comput. 2014, 18, 577–601. [Google Scholar] [CrossRef]
  20. Jozefowicz, R.; Zaremba, W.; Sutskever, I. An Empirical Exploration of Recurrent Network Architectures. In Proceedings of the 32nd International Conference on International Conference on Machine Learning, Lille, France, 6–11 July 2015; Volume 37, pp. 2342–2350. [Google Scholar]
  21. Graves, A. Long Short-Term Memory. In Supervised Sequence Labelling with Recurrent Neural Networks; Graves, A., Ed.; Springer: Berlin/Heidelberg, Germany, 2012; pp. 37–45. ISBN 978-3-642-24797-2. [Google Scholar]
  22. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2015, arXiv:1412.6980. [Google Scholar] [CrossRef]
Figure 1. Three-channel drainage pipeline ground penetrating radar device.
Figure 1. Three-channel drainage pipeline ground penetrating radar device.
Sensors 24 00379 g001
Figure 2. Definition of attitude angle and deflection stress of PPR front view.
Figure 2. Definition of attitude angle and deflection stress of PPR front view.
Sensors 24 00379 g002
Figure 3. Schematic diagram of guide wheel deflection correction of PPR.
Figure 3. Schematic diagram of guide wheel deflection correction of PPR.
Sensors 24 00379 g003
Figure 4. Simplified force diagram of PPR.
Figure 4. Simplified force diagram of PPR.
Sensors 24 00379 g004
Figure 5. Pressure sensor test.
Figure 5. Pressure sensor test.
Sensors 24 00379 g005
Figure 6. Optimized PPR’s deflection trajectories: (a) Angle correction trajectory of PPR; (b) Velocity correction trajectory of PPR; (c) Acceleration correction trajectory of PPR.
Figure 6. Optimized PPR’s deflection trajectories: (a) Angle correction trajectory of PPR; (b) Velocity correction trajectory of PPR; (c) Acceleration correction trajectory of PPR.
Sensors 24 00379 g006
Figure 7. Long short-term memory cell of hidden layer.
Figure 7. Long short-term memory cell of hidden layer.
Sensors 24 00379 g007
Figure 8. Flowchart of PPR deviation angle prediction based on LSTM network.
Figure 8. Flowchart of PPR deviation angle prediction based on LSTM network.
Sensors 24 00379 g008
Figure 9. Correction mechanism of PPR.
Figure 9. Correction mechanism of PPR.
Sensors 24 00379 g009
Figure 10. Overall control scheme of motor.
Figure 10. Overall control scheme of motor.
Sensors 24 00379 g010
Figure 11. Sample diagram of PPR deviation correction experiment.
Figure 11. Sample diagram of PPR deviation correction experiment.
Sensors 24 00379 g011
Figure 12. Epochs vs. RMS loss.
Figure 12. Epochs vs. RMS loss.
Sensors 24 00379 g012
Figure 13. Comparison of evaluation indicators: (a) Predicted angle MAE and MSE; (b) Predicted torque MAE and MSE.
Figure 13. Comparison of evaluation indicators: (a) Predicted angle MAE and MSE; (b) Predicted torque MAE and MSE.
Sensors 24 00379 g013
Figure 14. The PPR in drainage pipe intelligent deflection correction experiment.
Figure 14. The PPR in drainage pipe intelligent deflection correction experiment.
Sensors 24 00379 g014
Table 1. Sample set of PPR’s deflection angles.
Table 1. Sample set of PPR’s deflection angles.
ParametersTraining SetTest SetSum
Mileage (cm)400010005000
Slope (deg)32080400
Angle (deg)16004002000
Acceleration (m/s2)8020100
Torque (N·m)35050400
Velocity (m/s)8020100
Table 2. Parameters of pre-training model for correction angle prediction of PPR.
Table 2. Parameters of pre-training model for correction angle prediction of PPR.
ParametersValue
LSTM cell layer3
Time step1
Batch size16
Input size2
Output size2
Learning rate0.05
Table 3. Comparison between LSTM, ARIMA and PID methods for experimental data.
Table 3. Comparison between LSTM, ARIMA and PID methods for experimental data.
ParametersAverage Corrective Time (s)Average Angular Error (deg)
LSTM5.05±1.42
ARIMA7.12±3.06
PID9.53±6.14
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Xu, M.; Yang, F.; Fang, Y.; Li, F.; Yan, R. Research on Time Series-Based Pipeline Ground Penetrating Radar Calibration Angle Prediction Algorithm. Sensors 2024, 24, 379. https://doi.org/10.3390/s24020379

AMA Style

Xu M, Yang F, Fang Y, Li F, Yan R. Research on Time Series-Based Pipeline Ground Penetrating Radar Calibration Angle Prediction Algorithm. Sensors. 2024; 24(2):379. https://doi.org/10.3390/s24020379

Chicago/Turabian Style

Xu, Maoxuan, Feng Yang, Yuanjin Fang, Fanruo Li, and Rui Yan. 2024. "Research on Time Series-Based Pipeline Ground Penetrating Radar Calibration Angle Prediction Algorithm" Sensors 24, no. 2: 379. https://doi.org/10.3390/s24020379

APA Style

Xu, M., Yang, F., Fang, Y., Li, F., & Yan, R. (2024). Research on Time Series-Based Pipeline Ground Penetrating Radar Calibration Angle Prediction Algorithm. Sensors, 24(2), 379. https://doi.org/10.3390/s24020379

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop