Next Article in Journal
Design of UWB Electrically Small Antenna Based on Distributed Passive Network Loading
Next Article in Special Issue
Linear-Extended-State-Observer-Based Adaptive RISE Control for the Wrist Joints of Manipulators with Electro-Hydraulic Servo Systems
Previous Article in Journal
AFL++: A Vulnerability Discovery and Reproduction Framework
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Control of a Path Following Cable Trench Caterpillar Robot Based on a Self-Coupling PD Algorithm

State Key Laboratory of Disaster Prevention & Reduction for Power Grid, Changsha University of Science & Technology, Changsha 410114, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(5), 913; https://doi.org/10.3390/electronics13050913
Submission received: 9 January 2024 / Revised: 16 February 2024 / Accepted: 18 February 2024 / Published: 28 February 2024
(This article belongs to the Special Issue Control and Applications of Intelligent Robotic System)

Abstract

:
Underground cable trench inspection robots work in narrow, variable friction coefficient, and complex road environments. The running trajectory easily deviates from the desired path and leads to a collision, or even the destruction of the robot or cable. Addressing this problem, a path-following control method for the dual-tracked chassis robot based on a self-coupling PID (SCPID) control algorithm was developed. The caterpillar robot dynamics were modelled and both the unknown dynamics and external bounded disturbances were defined as sum disturbances, thus mapping the nonlinear system into a linearly disturbed system, then the self-coupling PD (SCPD) controller was designed. The system proved to be a robust stability control system and only one parameter, the velocity factor, needed to be tuned to achieve parameter calibration. Meanwhile, to solve the problem that the error-based speed factor is not universal and to improve the adaptive ability of the SCPD controller, an iterative method was used for adaptive tuning. The simulation results showed that the SCPID can achieve better control. The field test results showed that the SCPD’s maximum offset angle was 56.7% and 10.3% smaller than incremental PID and sliding mode control (SMC), respectively. The inspection time of the SCPD was 20% faster than other methods in the same environment.

1. Introduction

The underground cable trench is an important part of a city’s power supply network, and with the development of the power system, there have been more and more applications. Unfortunately, harmful gases such as methane gas and hydrogen sulfide can easily accumulate in the cable trench and cause harm to inspectors. At the same time, discharges caused by aging of the cable insulation can easily ignite these flammable gases, causing explosions and fires. More seriously, the accumulation of hazardous gases and the aging of insulation materials over time will also gradually increase the probability of dangerous accidents, so regular inspections of underground cable trenches to eliminate these safety hazards are essential. The underground cable trench space is narrow. Both sides are covered with cable brackets, resulting in limited access for the robot, and the inspection process needs to strictly follow the path of the task to avoid damage to the cable or the robot due to overshooting. Therefore, the development of intelligent inspection robots is of great significance in eliminating potential safety hazards and reducing the labor intensity of the staff.
The underground cable trench is narrow and covered with cable supports on both sides, resulting in limited options for the robot’s path. During the inspection process, the robot needs to strictly follow the path to perform the task to avoid damaging the cables or itself by overshooting. In addition, the road surface is mostly sand and gravel, garbage, and other obstacles, and the friction changes drastically, which requires the inspection robot to have a certain level of obstacle-crossing ability [1]. Among the common mobile chassis structures for inspection robots, caterpillar-tracked [2] has simple control and strong obstacle-crossing ability, which is suitable for underground cable trench environments. The path-following problem of a caterpillar-tracked inspection robot in an underground cable trench environment becomes the key to completing intelligent inspection safely and efficiently.
The path-following problem of inspection robots has received more attention in recent years. Positional PID [3,4] can get good results in controlling the vehicle speed and rotational speed. However, the PID parameters vary greatly for different controlled plants. Even if the PID controller is well tuned, if there is a sudden change in working conditions or the existence of external disturbances, it is necessary to re-tune the PID control parameters, and the PID controller has three parameters to tune. The incremental PID [5,6] method has the advantages of no overshooting as well as fast response and smoothness, but the control output is related to the past state and the calculation is large, which affects the real-time performance. The fuzzy controller [7] has strong robustness and self-adaptive ability without relying on the mathematical model. However, the fuzzy rules are difficult to establish and require a high level of expert knowledge and experience. The LQR algorithm [8] makes it easy to adjust the parameters and has better autonomous optimization ability in the path-following control. However, it relies on the high accuracy of the model, and the anti-disturbance robustness is insufficient. Sliding mode control [9,10,11,12,13,14] has strong robustness to the nonlinear system of caterpillar-tracked chassis systems on rough roads. However, the sliding mode control suffers from a high-frequency jitter vibration phenomenon, which can easily cause system oscillations. Although some methods can be used to effectively avoid the jitter vibration phenomenon, more parameters are involved and the complexity is greatly increased. Su et al. [15] developed an intelligent inspection robot for substations that can support real-time deep-learning models. Villasenor et al. [16] proposed a germinal center optimization algorithm to search for neuronally optimal control parameters for caterpillar-tracked chassis systems. Rios et al. [17] used a recursive higher-order neural network algorithm based on extended Kalman filtering and applied the inverse optimal control to a tracked chassis system. Cheng et al. [18] used a reinforcement learning algorithm to interact with the environment of a set path to achieve path-following in a non-autonomous wheeled mobile robot (NWMR). Saha et al. [19] controlled the robot to accomplish path following based on a deep neural network (DNN.) However, it is impossible to physically interpret the internal structure in neural networks (NN), and the parameters can only be tuned by trial-and-error methods, when the parameters of the controlled plant are mismatched, it will also make the control effect decrease obviously. In addition, NN has the problems of requiring numerous parameters, being sensitive to initial weights, and overfitting.
Inspired by the self-coupling PID (SCPID) method [20,21], a self-coupling PD (SCPD) method with an adaptive speed factor was proposed for the path-following problem of inspection robots in an underground cable trench. The contributions of this paper can be summarized as follows:
  • All complex factors of the caterpillar robot, including known or unknown dynamics and their uncertainty as well as external bounded disturbances, were defined as a total disturbance. The time-vary complex nonlinear system of the caterpillar chassis was matched to a linear disturbance system;
  • The SCPD controller not only retains the advantages of the simple structure of the traditional PID controller but also the parameter tuning only needs to adjust the adaptive speed factor. The adaptive speed factor could further accelerate the convergence of parameter tuning. The computing cost of this method is pretty low;
  • The SCPD control systems are critically damped, not only to ensure the stability of the control system but also good dynamic response characteristics.
The combination of the SCPD algorithm and caterpillar chassis was applied to the underground cable trench inspection robot, which can effectively reduce overshooting while ensuring inspection speed, avoiding damage to the cables or the robot, and providing a strong guarantee for the safe and efficient implementation of intelligent inspections.

2. Robot Model

The complex environment of the underground cable trench is shown in Figure 1 and the size was 100 m × 1.2 m × 1.5 m. The inspection robot should have a certain degree of obstacle-crossing ability and be able to cope with significant changes in friction. Therefore, the robot chosen was the double-track chassis structure. This structure has good obstacle-crossing and grasping ability, is easy to control, has low power consumption, and is small in size. The shape of the inspection robot is shown in Figure 2, and the actual parameters are shown in Table 1.

2.1. Mathematical Model of Caterpillar Chassis

There is no mechanical steering mechanism between the two active wheels of the dual-motor crawler chassis system, which are independently driven by the electric motors on both sides, respectively. Therefore, to realize the system steering of the dual-motor tracked chassis, the system mainly controls the rotational speed and torque of the motors on both sides through the differential steering system of the two wheels. Therefore, a dynamic model of the dual-motor tracked chassis system with 3 degrees freedom was established according to the above principle, which was the longitudinal motion around the x-axis, lateral motion around the y-axis, and transverse motion around the z-axis, respectively. The modelling and simplification of the dual-motor tracked chassis system were as follows:
  • The origin of the kinetic coordinate system coincides with the center of mass.
  • Neglecting the suspension effect, the robot only moves parallel to the ground.
  • Neglecting the influence of the steering system, the mechanical characteristics of the two tracks are the same.
The simplified dual-tracked chassis dynamics model is shown in Figure 3.
The dynamics equation of the dual-motor tracked chassis system is:
{ m v ˙ x = ( F L + F R ) cos θ + ( F x 1 + F x 2 ) cos θ ( F y 1 + F y 2 ) sin θ ( R L + R R ) cos θ m v ˙ y = ( F L + F R ) sin θ + ( F x 1 + F x 2 ) sin θ ( F y 1 + F y 2 ) cos θ ( R L + R R ) sin θ I ω ˙ = ( F R + F x 2 F x 1 + R L R R ) B / 2 M μ v x = V cos θ v y = V sin θ max ( F L , F R ) φ m g / 2 M μ = μ m g L / 4 μ = μ max / ( 0.925 + 0.15 R / B ) R R = R L = m g f / 2
In the above equation,  m  is the mass of the dual-motor tracked chassis system, and  v x , v y  is the velocity component of the dual-motor tracked chassis system in the X, Y direction.  F L F R  is the driving force of the left and right tracks of the dual-motor tracked chassis system;  F x 1 F x 2  is the force in the X direction on the left and right tracks of the dual-motor tracked chassis system;  F y 1 F y 2  is the force in the Y direction on the left and right tracks of the dual-motor tracked chassis system;  R L R R  is the resistance to moving on the left and right tracks of the dual-motor tracked chassis system;  I  is the inertia of the dual-motor tracked chassis system;  ω  is the angular speed of the dual-motor tracked chassis system;  B  is the track distance of the two-motor tracked chassis system;  M μ  is the steering resistance moment;  V  is the moving speed of the two-motor tracked chassis system;  φ  is the coefficient of adhesion between the track and the ground;  g  is the gravity acceleration;  L  is the length of the track; and  f  is the coefficient of rolling friction of the track.
From the chassis unified force decomposition and velocity direction of the tracked robot in Figure 3, while combining with the system, (1) can be obtained. The control system of the tracked robot is shown in Equations (2) and (3):
{ x ¨ = w x + u x y ¨ = w y + u y θ ¨ = w θ + T δ
{ u x = ( F L + F R ) cos θ / m u y = ( F L + F R ) sin θ / m T δ = 0.5 B F R / I
where  w x = [ ( F x 1 + F x 2 ) cos θ ( F y 1 + F y 2 ) sin θ ( R L + R R ) cos θ ] / m  is disturbance in the x direction,  w y = [ ( F x 1 + F x 2 ) sin θ ( F y 1 + F y 2 ) cos θ ( R L + R R ) sin θ ] / m  is a disturbance in the y direction, and  w θ = [ ( F x 2 F x 1 + R L R R ) B 2 M μ ] / I  is a disturbance in the angle.
The decoupling from Equation (3) gives the relationship between  u x u y , and  F R F L  as shown in Equation (4):
{ F R = 2 I T δ / B F L = m u x 2 + u y 2 2 I T δ / B
where  θ d = arctan ( u y u x )  is the angle controller.
The relationship between  F R  and  F L  with the left and right wheel motor speeds.  ω 1  and  ω 2  is shown in Equation (5). The path-following requires control of the left and right motors to make the robot reach the desired position. According to the relationship among the control inputs, the left and right track driving forces, and angular velocity, the control strategy diagram of the robot based on SCPD can be shown in Figure 4.
{ F R = 1946 P e π η i / ω 2 r F L = 1946 P e π η i / ω 1 r

2.2. Robot Overall Control System Structure

After establishing the track dynamics model and performing force decomposition, the motors were taken as the main control object and the controller controls the driving force of the robot’s left and right wheels to realize trajectory tracking. The control of the caterpillar track inspection robot was essentially performed by controlling the caterpillar driven by the single-side motors. The closed-loop speed regulation system was mainly composed of an embedded controller, a DC motor, and a speed encoder; the overall flowchart is shown in Figure 5. The speed encoder is in charge of converting and encoding the motor speed into corresponding square wave pulse signals for the embedded controller to process. The path control is given back to the host computer through the LiDAR and depth camera, and the desired path is changed to form a closed-loop control system.

3. Design of the SCPD Controller

The general engineering problems can be attributed to controlling variables such as position, velocity, and acceleration. In this paper, the problem in controlling the path-following caterpillar robot was to control the position and angle. From the control structure diagram of the robot chassis system, it can be concluded that three controllers must be designed for position x-direction, position y-direction, and angle  θ . The robot in the underground cable trench needs good control accuracy, anti-disturbance robustness, and real-time requirements, so the design of the controllers should satisfy these indicators. The SCPID control [22,23] algorithm defines the complex unknown dynamics and external disturbance as the total disturbance, which converts the nonlinear uncertain system into a linear uncertain system with good robustness. Furthermore, the SCPID couples the proportional gain, integral gain, and differential gain into one parameter, simplifying the parameter tuning and enhancing the real-time capability. Therefore, the SCPD controller in this paper was designed based on the SCPID method.

3.1. Design of the x-Direction Controller

The purpose of designing the displacement x direction controller  u x  was to decouple the driving force of the left and right wheels of the robot in the following ways.
Let the desired value of the system is  x d , and the actual value is  x , according to this can be obtained tracking error  e 11 = x d x , differential error  e 12 = e ˙ 11 = x ˙ d x 1 , where  x 1 = x ˙ , combined with the system (2) can be obtained controlled error system as follows:
{ e ˙ 11 = e 12 e ˙ 12 = w ^ x u x
where  w ^ x = x ¨ d w x .
On the SCPD controller, the proportional control input  u 1 p  and differential control input  u 1 d  are defined as follows:
{ u 1 p = z 1 c 2 e 11 u 1 d = 2 z 1 c e 12
where  0 < z 1 c <  is the iterative speed factor.
According to Equation (7), the x-displacement SCPD controller can be formed:
u x = u 1 p + u 1 d

3.2. Design of the y-Direction Controller

The purpose of designing the displacement y direction controller  u y  is to decouple to get the driving force of the left and right wheels of the robot in the following way.
Let the desired value of the system be  y d , and the actual value is  y . According to this, the tracking error can be obtained  e 21 = y d y , and differential error  e 22 = e ˙ 22 = y ˙ d y 1 , where  y 1 = y ˙ , combined with the system (2) can be obtained controlled error system as follows:
{ e ˙ 21 = e 22 e ˙ 22 = w ^ y u y
where  w ^ y = y ¨ d w y .
On the SCPD controller, the proportional control input  u 2 p  and differential control input  u 2 d  are defined as follows:
{ u 2 p = z 2 c 2 e 21 u 2 d = 2 z 2 c e 22
where  0 < z 2 c <  is the iterative speed factor.
According to Equation (10), the y-displacement SCPD controller can be formed:
u y = u 2 p + u 2 d

3.3. Design of the Angle Direction Controller

The purpose of designing the angle controller  T δ  was to decouple the drive forces of the left and right wheels of the robot in the following way.
Let the desired value of the system be  θ d , where the actual value is  θ . According to this, the tracking error can be obtained  e 31 = θ d θ , and differential error  e 32 = e ˙ 31 = θ ˙ d θ 1 , where  θ 1 = θ ˙ , combined with the system (2) can be obtained controlled error system as follows:
{ e ˙ 31 = e 32 e ˙ 32 = w ^ θ T δ
where  w ^ θ = θ ¨ d w θ .
On the SCPD controller, the proportional control input  u 3 p  and differential control input  u 3 d  are defined as follows:
{ u 3 p = z 3 c 2 e 31 u 3 d = 2 z 3 c e 32
where  0 < z 3 c <  is the iterative speed factor.
According to Equation (13) that can be formed y-displacement SCPD controller:
T δ = u 3 p + u 3 d

3.4. Stability Analysis

To verify that the controllers defined by Equations (8), (11), and (14) can ensure robustness, the stability theorem and its theoretical analysis are as follows. The stability is proven based on the Laplace transform.
Theorem 1.
The x-direction displacement control system (6) based on the SCPD control strategy can guarantee robust stability if  | w ^ x | ε 1 <  and  0 < z 1 c < , the steady-state errors are then bounded by  | e 11 ( ) | < ε 1 / z 1 c 2 .
Proof. 
Substituting Equations (7) and (8) into the controlled error system (6), the SCPD control system for the x direction displacement can be obtained as:
{ e ˙ 11 = e 12 e ˙ 12 = w x z 1 c 2 e 11 2 z 1 c e 12
As the SCPD control system (15) is an error-dynamic system under the excitation of the composite total disturbance  w ^ x , and thus is a causal system. A Laplace transform of the system (15) is taken and the detailed transformation as shown in Appendix A:
E 11 ( s ) = 1 ( s + z 1 c ) 2 W x ( s )
From Equation (16), the transfer function of the system is obtained as:
H 11 ( s ) = E 11 ( s ) W x ( s ) = 1 ( s + z 1 c ) 2
when  0 < z 1 c < , there are two real poles  s 1 = s 2 = z 1 c < 0  on the real axis in the left half-plane of the complex frequency domain  H 11 ( s ) . It is a typical critical system, and thus the system (17) or (15) is stable. Since  z 1 c  is independent of the dynamic model of the system, the system (17) or (15) is robustly stable.
The unit impulse response of the system is obtained from Equation (17) as:
h 11 ( t ) = t e z 1 c t
The time domain form of the controlled error system can be obtained from Equation (18) as:
e 11 ( t ) = h 11 ( t ) w x ( t ) = 0 t h 11 ( τ ) w x ( t τ ) d τ
where “∗” refers to convolutional integral operation.
When  | w x | ε 1 < , there is:
| e 11 ( ) | ε 1 0 | h 11 ( τ ) | d τ
From Equation (18), when  0 < t < h 11 ( t ) > 0 , and  h 11 ( ) = 0 , thus there is:
0 | h 11 ( τ ) | d τ = 0 h 11 ( τ ) d τ = H 11 ( 0 ) = 1 z 1 c 2
Substituting Equation (21) into Equation (20), the steady-state error is obtained as:
| e 11 ( ) | ε 1 z 1 c 2
From Equation (22), when the composite total disturbance is bounded, the steady-state error is bounded, independent of the specific model of the controlled system, and thus the SCPD control system (6) has good stability and robustness against disturbances. □
Similarly, it can be proved that the y-direction displacement system (9) and the angle system (12) have good stability and robustness against disturbances.

3.5. Iterative Speed Factor

The speed factor is a control parameter, similar to k_p, k_d in PD control. The speed factor tightly couples the proportional gain and the differential gain, which makes these two functionally different gains show a coordinated control behavior with the same goal during the control process, and effectively improves the gain robustness and anti-disturbance robustness of the control system. Theoretically, the larger the speed factor  z c , the faster the dynamic response of the system and the stronger the ability to anti-disturbance. However, if the speed factor is too large, the control force will be too large, and the system will generate overshoot and oscillation. Therefore, in the initial stage of a dynamic response, due to the large tracking error, the speed factor is required to take a smaller value. After entering the steady-state, the speed factor is required to take a larger value to improve the ability of anti-disturbance, so an adaptive speed factor based on the rate of change of the error is designed for this purpose.
z c = z 0 exp ( β | e 2 | )
z 0 = 20 α / ( α + 1 ) t r  is the minimum speed factor, and  1 < α 10 β = 1 + 0.1 α z 1 c = z 2 c = z 0 exp ( β | e 2 | ) z 3 c = 2 z 1 c t r  is the transition time from the dynamic to the steady state, this paper took  t r = 1 .
The error-based adaptive speed factor is effective in avoiding overshooting phenomenon, but not universal, for different systems have to carry out a certain amount of tuning. To further improve the adaptive control capability of the designed controller in this paper, this paper also combines the parameter calibration with the steepest descent method [24]. The steepest descent method is simple and easy to realize, with small computational effort and fast convergence. Taking the x-direction controller as an example:
Let the performance index be:  J = 0.5 e 11 2 ( k + 1 ) , and discretize Equation (6) to obtain:
{ e 11 ( k ) = x d ( k ) x ( k ) e 12 ( k ) = e ˙ 11 ( k ) = e 11 ( k ) e 11 ( k 1 )
u x ( k ) = z 1 c 2 e 11 ( k ) + 2 z 1 c e 12 ( k )
Combined with the steepest descent method, the iterative speed factor is updated as:
Δ z 1 c = η i J z 1 c = η i J e 11 ( k + 1 ) e 11 ( k + 1 ) x ( k + 1 ) x ( k + 1 ) u x ( k ) u x ( k ) z 1 c = η i e 11 ( k + 1 ) x ( k + 1 ) u x ( k ) [ 2 z 1 c e 11 ( k ) + 2 e 12 ( k ) ]
As  e 11 ( k + 1 )  and  x ( k + 1 ) u x ( k )  are related to future errors and future states, it makes Equation (26) difficult to compute. However, as long as the algorithm is convergent, the inequality  | e ( k + 1 ) | | e ( k ) |  must be valid. Therefore, in this paper,  e ( k )  is used to replace  e ( k + 1 ) . Also, the size of  x ( k + 1 ) u x ( k )  determines the convergence speed, and the sign determines the direction of convergence. Therefore, this paper uses the sign function instead, which is:
{ x u x ( k ) = x ( k + 1 ) u x ( k ) s i g n [ x ( k ) x ( k 1 ) u x ( k 1 ) u x ( k 2 ) ] , u x ( k 1 ) u x ( k 2 ) x u x ( k ) = x ( k + 1 ) u x ( k ) s i g n [ x ( k ) x ( k 1 ) ] , u x ( k 1 ) = u x ( k 2 )
According to Equations (26) and (27), the adaptive parameter updating formula can be obtained as:
z 1 c = z 1 c + η i e 11 ( k ) x u x ( k ) [ 2 z 1 c e 11 ( k ) + 2 e 12 ( k ) ]
where  0 < η i < 1  is the learning rate, this paper took  η i = 0.2 .
Similarly, it can be obtained:
z 2 c = z 2 c + η i e 21 ( k ) y u y ( k ) [ 2 z 2 c e 21 ( k ) + 2 e 22 ( k ) ]
z 3 c = z 3 c + η i e 31 ( k ) θ T δ ( k ) [ 2 z 3 c e 31 ( k ) + 2 e 32 ( k ) ]
According to the above equation, when adjusting the controller parameters, the gain parameter only involves multiplication and addition operations, which is a small amount of calculation. And, the speed factor couples the parameters of proportional gain and differential gain together.
The error-based adaptive speed factor  1 < α 10 , while  α  is smaller,  z 0  is larger, and  z c  is larger. The larger the speed factor, the greater the stability, the greater the disturbance resistance, and the higher the control accuracy, but the larger the overshoot will also be, which may cause the control force to oscillate. Therefore, two different adaptive speed factors,  α = 1  adaptive speed factor 1 and  α = 10  adaptive speed factor 2, were selected for comparison experiments with the iterative speed factor. The simulation was tested in Matlab/Simulink 2021. A sudden change signal was added to simulate the perturbation added to the robot when t = 0.3 s, and a square wave signal was added to simulate the perturbation added to the motor during 5–6 s. The simulation result of the path tracking is shown in Figure 6. From the path following the error in Figure 7, it can be seen that the error-based adaptive speed factor cannot eliminate the jitter phenomenon, while the iterative speed factor can eliminate it. From Figure 8, it can be seen that the control force of the iterative speed factor is smoother and the vibration amplitude is smaller.

4. Simulation of Path Following Control

4.1. Practical Disturbance of Underground Cable Trenches

The caterpillar robot in this paper was moved in the underground cable trench environment. Underground cable trench surfaces were characterized by uneven road surfaces, uneven friction coefficients, and random distribution of debris. These related random factors had different degrees of effect on the caterpillar robot. To get the effect of the disturbance, the caterpillar robot moved straight and explored the change of speed under a complex road environment, where the speed was 0.2 m/s.
As can be seen in Figure 9, in the actual cable trench environment, the minimum speed value of the crawler motor was 0.17 m/s and the maximum speed value was 0.23 m/s when it was perturbed. So, the influence of the disturbance factor on the speed of the caterpillar motor was ±0.3 m/s. It provided a basis for the subsequent simulation of the controller.

4.2. Simulation

The simulation was based in Matlab/Simulink. The response speed, overshoot, control accuracy, robustness, and anti-disturbance ability of incremental PID, SMC, and SCPD were tested based on the good operation of the simulation. The underground cable trench was generally a narrow channel, so in this paper, the slope signal was selected as the desired path to follow. According to the analysis in Section 4.1, the square wave with an amplitude of 0.3 was selected to simulate the disturbance during 5–6 s.
After tuning the parameters according to several attempts, the simulation results are shown in Figure 10. Figure 11 and Figure 12 show the details of overshoot and perturbation, respectively.
From Figure 11, it is shown that SCPD had the smallest overshoot of 0.15 and stabilized in 0.2 s, while SMC and incremental PID had overshoots of 0.22 and 0.51, which stabilized in 0.45 s and 0.7 s, respectively. It can be seen that the response time of SCPD was shorter and the robustness was higher.
From Figure 12, the SCPD had the strongest anti-disturbance ability and recovered to the desired path very fast, the SMC control also had good anti-disturbance ability, while the incremental PID had poor anti-disturbance ability and could not recover to the desired path before the disturbance disappeared.

5. Experiment-Field Test

To prove the effectiveness of the SCPD algorithm proposed in this paper, the experiment was carried out in an underground cable trench environment, as shown in Figure 13. This experiment aimed to verify the response speed, control accuracy, and disturbance robustness of the three control algorithms. Since the robot had a host computer for localization, mapping, and path planning, the underground cable trench was mainly narrow and straight paths. To ensure the convenience of the experiment, the design strategy of this paper was to send a straight-line command to control the speed and accuracy of the dual-motor caterpillar robot. Meanwhile, an obstacle was added at 5-6 s to test the robustness and anti-disturbance ability of the control algorithms. This experiment used STM32f1 as the chassis controller and connects the motor driver to achieve the purpose of driving the motor. The two-wheel differential robot kinematics model was adopted to operate, and the effect of the control algorithm was assessed by observing the change in the angle of the robot. The angle remained consistent when the robot ran in a straight line.
The trajectories run by the different control algorithms at the underground cable trench site are shown in Figure 14. The purple square in the figure shows the dynamic obstacles to avoid collision between the robot and the cable, and the blue square shows the obstacles after the expansion coefficient. From Figure 15, the robot had the highest smoothness under SCPD control, which greatly reduced the total length of the path. To further verify the reliability of the algorithm, different starting and ending points were set in the cable trench environment with distances of 10 m, 20 m, and 30 m, respectively, and the results are shown in Table 2. Compared with incremental PID, SCPD increased the robot’s moving speed by 21% and reduced the path by 6.5%.
The superiority of the SCPD algorithm can be seen in Figure 15. Although incremental PID, SMC, and SCPD are stable under regular operation, compared with incremental PID and SMC, SCPD was more stable at the beginning of the operation and had better control accuracy. When crossing an obstacle, the angle of the incremental PID varied the most, within an adjustment range of ±4.7 degrees; the angle of the SMC varied within an adjustment range of ±3.2 degrees; and the angle of the SCPD varied within an adjustment range of approximately −3 degrees to 1.5 degrees. So, the maximum offset angle of SCPD was 56.7% and 10.3% smaller than incremental PID and SMC, respectively. Furthermore, although the three algorithm’s variation in adjustment time was not significant, the SCPD was also the best one.
In the comprehensive evaluation, compared with incremental PID and SMC, SCPD had the advantages of fast response, low overshoot, strong robustness, and strong anti-disturbance ability. In addition, the parameter of SCPD was easier to tune than incremental PID and SMC control algorithms because it had only one parameter.

6. Conclusions

The underground cable trench inspection robot usually needs to operate in a narrow environment with various uncertainties such as uneven road surface, uneven coefficient of friction, and a random distribution of cables. However, both the cables and the robot are valuable and cannot afford to be lost due to collisions. Compared with other control methods, the performance of the SCPD control method in this paper, such as high accuracy, strong robustness, and fast response, can better solve this problem. In addition, to make the SCPD control more accurate and efficient as well as the parameter adjustment easier, the speed factor was updated and iterated in this paper. The experiment proves that the SCPD control algorithm with an optimized velocity factor is an effective and more suitable algorithm for inspection robots in an underground cable trench environment.
This method improves the development of cable trench inspection. First, the caterpillar chassis is more adaptable to the complex environment of an underground cable trench. Then, the SCPD control algorithm can achieve error-free path following. In addition, the iteration speed factor makes the control input smoother and the vibration amplitude smaller. In conclusion, this method makes it simple to tune the parameters and there are no out-of-control phenomena during rapid robot detection.

Author Contributions

All of the authors extensively contributed to the work. Conceptualization, W.F. and Z.J.; methodology, W.F.; software, W.F.; validation, W.F.; formal analysis, W.F.; investigation, W.F.; resources, Z.J. and W.F.; data curation, W.F.; writing—original draft preparation, W.F.; writing—review and editing, Z.J. and L.L.; visualization, Z.J. and W.F.; supervision, C.S. and Z.J.; project administration, Z.J.; funding acquisition, Z.J., C.S. and L.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the National Natural Science Foundation of China, grand number 52207074 and 62103063, in part by the Natural Science Foundation of Hunan Province of China, grand number 2022JJ40510, in part by the Science Research Project of Hunan Provincial Education Department, grand number 23A0255 and 22B0329.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

All 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.

Nomenclature

Symbol
m Robot mass
x d y d The desired path of the X-axis and Y-axis
θ d The angle between the desired direction of the robot and the x-axis
θ The angle between the robot’s forward direction and the x-axis
V Speed of the robot
ω The angular speed of the robot
v x v y X-axis and Y-axis direction velocity of the robot
F L F R Track the driving force of the left and right
F x 1 F x 2 Longitudinal force on track of left and right
F y 1 F y 2 Lateral force on track of left and right
R L R R Track driving resistance of left and right
ω 1 ω 2 The angular speed of the left and right driving motor
I Moment of inertia around the center of mass
B Track spacing
M μ Steering resistance moment
μ Steering resistance coefficient
μ max Maximum steering resistance coefficient
g Gravity acceleration
L Track shoe length
φ Track and ground adhesion coefficient
R Robot steering radius
f Track rolling friction factor
P e Rated power of the driving motor
η Transmission efficiency
i Transmission ratio
r Driving wheel radius
w x w y w θ Disturbance of x-direction, y-direction, and angle direction
u x u y T δ Control force of x-direction, y-direction, and angle direction
e 11 e 21 e 31 The tracking error of x-direction, y-direction, and angle direction
u 1 p u 2 p u 3 p Proportion tuning factor of x-direction, y-direction, and angle direction
u 1 d u 2 d u 3 d Differential tuning factor of x-direction, y-direction, and angle direction
z 1 c z 2 c z 3 c Iterative speed factor of x-direction, y-direction, and angle direction
Abbreviations
SCPDSelf-coupling proportional differential
SMCSliding mode control
PIDProportional integral differential
LQRLinear quadratic regulator
DNNDeep neural network

Appendix A. Derivation of the Equation

{ e ˙ 11 = e 12 e ˙ 12 = w x z 1 c 2 e 11 2 z 1 c e 12
Laplace transform,
{ (A2a) s E 11 ( s ) = E 12 ( s ) (A2b) s E 12 ( s ) = W x ( s ) z 1 c 2 E 11 ( s ) 2 z 1 c E 12 ( s )
Substitute Equation (A2a) into Equation (A2b),
s 2 E 11 ( s ) = W x ( s ) z 1 c 2 E 11 ( s ) 2 s z 1 c E 11 ( s )
Then,
s 2 E 11 ( s ) + 2 s z 1 c E 11 ( s ) + z 1 c 2 E 11 ( s ) = W x ( s )
Then,
( s 2 + 2 s z 1 c + z 1 c 2 ) E 11 ( s ) = W x ( s )
Then,
( s + z 1 c ) 2 E 11 ( s ) = W x ( s )
Therefore,
E 11 ( s ) = 1 ( s + z 1 c ) 2 W x ( s )

References

  1. Xiao, H.H.; Fan, S.S.; He, Y.; Hu, X.D. Research on Navigation and Obstacle Avoidance Technology of Intelligent Inspection Robot for Underground Cable Trench. Control Inf. Technol. 2022, 4, 17–22. [Google Scholar]
  2. Wang, C.W.; Wang, S.S.; Ma, H.W.; Zhang, H.; Xue, X.S.; Tian, H.B.; Zhang, L. Research on the Obstacle-Avoidance Steering Control Strategy of Tracked Inspection Robots. Appl. Sci. 2022, 12, 10526. [Google Scholar] [CrossRef]
  3. Zhang, Y.Y. PID Control Algorithm and Simulation of Mobile Robot Motor. J. Xianyang Norm. Univ. 2020, 35, 18–21. [Google Scholar]
  4. Suo, Y.C. Design of Mine Inspection Robot Based on PID Control Algorithm. Coal Mine Mach. 2023, 44, 25–28. [Google Scholar]
  5. Xu, Y.; Zhou, K.; Yang, Y.H.; Yang, Q.; Xiang, J.Y. Design of stepper motor speed control system based on incremental PID. Sci. Technol. Innov. 2022. [Google Scholar] [CrossRef]
  6. Zhang, Z.; Wu, J.; He, C.; Li, Y.Q. Intelligent Vehicle-borne System Based on Kalman Filter and Incremental PID Control. Mod. Inf. Technol. 2019, 3, 29–32+35. [Google Scholar]
  7. Zhang, C.Z.; Ji, X.B.; Zhang, B.Z. Trajectory Tracking Control of Intelligent Car Based on Fuzzy Control. Automob. Appl. Technol. 2019, 10, 70–75. [Google Scholar]
  8. Long, Z.; Tang, J.H.; Jiang, L.; Huang, H.; Chen, R.M. Modeling and LQR Control Algorithm Design of Two-wheeled Self-balancing Vehicle. Mech. Electr. Eng. Technol. 2021, 50, 111–116. [Google Scholar]
  9. Liu, L.; Yang, B.; Wei, D.; Song, Y.; Chen, L.Q.; Sun, Y. Control Method of Dimensionality Reduction Coefficient of Rugged Mountain Environment Catching Robot. Trans. Chin. Soc. Agric. Mach. 2020, 51, 29–36. [Google Scholar]
  10. Jiao, J.; Kong, W.; Gu, L.C.; Wang, Q.; Gao, Y.; Yuan, C.C. Sliding Parameters Calculation of Agricultural Tracked Robot Based on UKF and SMO. J. Syst. Simul. 2015, 27, 1577–1583. [Google Scholar]
  11. Li, Z.T.; Jiao, J.; Zhang, Z.Y.; Ni, L.; Gu, R.; Wang, Q. Adaptive Sliding Mode Control of Tracked Robot Based on Fuzzy Neural Network. J. Inn. Mong. Agric. Univ. (Nat. Sci. Ed.) 2017, 38, 34–38. [Google Scholar]
  12. Zhong, S.Z.; Peng, D.Z.; Huang, B.; Ma, L.T. Path-Tracking Ability of the ASV on Different Adhesion Coefficient Roads Based on Slide Mode Control. Electronics 2024, 13, 105. [Google Scholar] [CrossRef]
  13. Jiang, L.T.; Chi, R.J.; Li, Q.Q.; Huang, X.L.; Xiong, Z.J.; Ma, Y.Q.; Zhu, X.L. Research on Path Tracking Control Algorithm of Agricultural Machinery Based on Sliding Mode Variable Structure. J. Agric. Mech. Res. 2024, 46, 229–234. [Google Scholar]
  14. Li, Z.Q.; Chen, L.Q.; Quan, Z.; Dou, X.Y.; Yang, L. Control of a path following caterpillar robot based on a sliding mode variable structure algorithm. Biosyst. Eng. 2019, 186, 293–306. [Google Scholar] [CrossRef]
  15. Su, L.; Yang, X.G.; Cao, B.Y.; Wang, Y.; Li, X.J.; Lu, W.L. Development and application of substation intelligent inspection robot supporting deep learning accelerating. J. Phys. Conf. Ser. 2021, 1754, 1. [Google Scholar] [CrossRef]
  16. Villasenor, C.; Rios, J.D.; Arana-Daniel, N.; Alanis, A.Y.; Lopez-Franco, C.; Hernandez-Vargas, E.A. Germinal Center Optimization Applied to Neural Inverse Optimal Control for an All-Terrain Tracked Robot. Appl. Sci. 2018, 8, 31. [Google Scholar] [CrossRef]
  17. Rios, J.D.; Alanis, A.Y.; Lopez-Franco, M.; Lopez-Franco, C.; Arana-Daniel, N. Real-time neural identification and inverse optimal control for a tracked robot. Adv. Mech. Eng. 2017, 9, 3. [Google Scholar] [CrossRef]
  18. Cheng, X.Q.; Zhang, S.B.; Cheng, S.Z.; Xia, Q.X.; Zhang, J.H. Path-Following and Obstacle Avoidance Control of Nonholonomic Wheeled Mobile Robot Based on Deep Reinforcement Learning. Appl. Sci. 2022, 12, 6874. [Google Scholar] [CrossRef]
  19. Saha, P.; Guerrero-Bonilla, L.; Egerstedt, M.; Mukhopadhyay, S. Learning Deep Neural Network Controller for Path Following of Unicycle Robots. IEEE Robot. Autom. Lett. 2023, 8, 248–255. [Google Scholar] [CrossRef]
  20. Zeng, Z.Z.; Liu, W.J. Self-coupling PID Controllers. Acta Autom. Sin. 2021, 47, 404–422. [Google Scholar]
  21. Zeng, Z.Z.; Chen, Z.Y. On control theory of PID and auto-coupling PID. Control Theory Appl. 2020, 37, 2654–2662. [Google Scholar]
  22. Wang, F.Q.; Zeng, Z.Z.; Cheng, T.; Cheng, Q.Z.; Du, X.F. Auto-coupling PID Control Method for Strict Feedback Nonlinear Uncertain Systems. Control Eng. China 2021, 28, 971–978. [Google Scholar]
  23. Su, J.; Zeng, Z.Z. Auto-coupling PID control method for nonlinear time-varying systems. Control Theory Appl. 2022, 39, 299–306. [Google Scholar]
  24. Qiu, Y.; Liu, C.; Bao, J.; Jiang, B.; Shang, Y. Efficient Iterative Timing Recovery of Low-Density Parity-Check Decoding Metrics Using the Steepest Descent Algorithm for Satellite Communications at Low SNRs. Electronics 2021, 10, 3055. [Google Scholar] [CrossRef]
Figure 1. The environment of the underground cable trench.
Figure 1. The environment of the underground cable trench.
Electronics 13 00913 g001
Figure 2. The dual-motor caterpillar robot.
Figure 2. The dual-motor caterpillar robot.
Electronics 13 00913 g002
Figure 3. The caterpillar robot model.
Figure 3. The caterpillar robot model.
Electronics 13 00913 g003
Figure 4. The control structure of dual-motor caterpillar chassis system.
Figure 4. The control structure of dual-motor caterpillar chassis system.
Electronics 13 00913 g004
Figure 5. Overall control flowchart of the inspection robot.
Figure 5. Overall control flowchart of the inspection robot.
Electronics 13 00913 g005
Figure 6. Path-following result.
Figure 6. Path-following result.
Electronics 13 00913 g006
Figure 7. Path-following error.
Figure 7. Path-following error.
Electronics 13 00913 g007
Figure 8. Control input.
Figure 8. Control input.
Electronics 13 00913 g008
Figure 9. Environment disturbance effect on the caterpillar robot speed.
Figure 9. Environment disturbance effect on the caterpillar robot speed.
Electronics 13 00913 g009
Figure 10. Comparison of the simulation tests.
Figure 10. Comparison of the simulation tests.
Electronics 13 00913 g010
Figure 11. Comparison of the simulation test rise details.
Figure 11. Comparison of the simulation test rise details.
Electronics 13 00913 g011
Figure 12. Comparison of the simulation test disturbance details.
Figure 12. Comparison of the simulation test disturbance details.
Electronics 13 00913 g012
Figure 13. Experimental map of underground cable trench.
Figure 13. Experimental map of underground cable trench.
Electronics 13 00913 g013
Figure 14. Trajectories in the site given by different methods and shown in rviz on Ubuntu.
Figure 14. Trajectories in the site given by different methods and shown in rviz on Ubuntu.
Electronics 13 00913 g014
Figure 15. Comparison of robot angles with different control algorithms.
Figure 15. Comparison of robot angles with different control algorithms.
Electronics 13 00913 g015
Table 1. Main technical parameters of dual-motor caterpillar chassis.
Table 1. Main technical parameters of dual-motor caterpillar chassis.
ModelParameters
Track TypeRubber track
Mass/kg20
Length × width × height/mm500 × 300 × 120
Speed/ms−10.1~1
Track width/mm80
Track gauge/mm300
Track ground length/mm440
Diameter of driving wheel pitch circle/mm145
Table 2. Comparison of field experiments with different control algorithms.
Table 2. Comparison of field experiments with different control algorithms.
AlgorithmDetection Channel Length/(m)Average Time/(s)Average Path Length/(m)
Incremental PID1079.412.2
20164.324.6
30240.735.7
SCPD1061.211.4
20131.621.8
30197.832.7
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

Jia, Z.; Fang, W.; Sun, C.; Li, L. Control of a Path Following Cable Trench Caterpillar Robot Based on a Self-Coupling PD Algorithm. Electronics 2024, 13, 913. https://doi.org/10.3390/electronics13050913

AMA Style

Jia Z, Fang W, Sun C, Li L. Control of a Path Following Cable Trench Caterpillar Robot Based on a Self-Coupling PD Algorithm. Electronics. 2024; 13(5):913. https://doi.org/10.3390/electronics13050913

Chicago/Turabian Style

Jia, Zhiwei, Wen Fang, Chenhao Sun, and Ling Li. 2024. "Control of a Path Following Cable Trench Caterpillar Robot Based on a Self-Coupling PD Algorithm" Electronics 13, no. 5: 913. https://doi.org/10.3390/electronics13050913

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