MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH New Control Approaches for Trajectory Tracking and Motion Planning of Unmanned Tracked Robot Suleiman BANIHANI , Mohammad HAYAJNEH , Ahmad AL-JARRAH , Samer MUTAWE Department of Mechatronics Engineering, The Hashemite University, 13133 Zarqa, Jordan
[email protected],
[email protected],
[email protected],
[email protected] DOI: 10.15598/aeee.v19i1.4006 Article history: Received Nov 16, 2020; Revised Jan 24, 2021; Accepted Feb 15, 2021; Published Mar 31, 2021. This is an open access article under the BY-CC license. Abstract. This work proposes new control approaches for tracking and motion planning of Unmanned Ground Vehicles (UGVs) that utilize skid steering system. This work proposes an energy based Variable Structure Control (VSC) scheme, in which two independent Sliding Control Surfaces (SCS)s are designed based on the system states. Particularly, the controller is designed based on the assessment and the minimization of the systems total energy by finding an explicit relation between the controller gains and the slope of the sliding surface. The work also discusses a new fuzzy potential approach for motion planning of UGV. The Fuzzy system generates an attractive force that pulls the UGV effectively toward a moving or stationary target, and a repulsive force, which is required to avoid any stationary or moving obstacles. Both, the VSC and the motion planning were validated by a nonlinear model of an Unmanned Tracked Robot (UTR) on different trajectories, and was compared with different control schemes. Simulation results show superiority of the proposed VSC over other methods with less control effort. Furthermore, the new motion planning controller proved its high capacity in producing a smooth and dynamic trajectory to allow an UGV to track a target and to avoid obstacles. Keywords Variable structure control, motion planning, unmmaned ground vehicle, fuzzy controller, skid steering. 1. Introduction Unmanned Ground Vehicles (UGVs) are becoming widely used in a variety of applications for their robustness and maneuverability. Moreover, the need to keep human away from danger in many applications has given researchers great attention in recent years [1]. Nowadays, UGVs are present in search and rescue, nuclear plant operations, space exploring and mining [2] and [3]. In such applications, UGV is required to rapidly change its directions without a considerable changes in speed. Hence, various steering systems have been developed for UGVs and the SkidSteering (SS) is the most widely used mechanism in aforementioned applications because of its high maneuverability and robust structure [4]. Relatively to traditional steering systems such as single axial and double axial steering, the motion control in skid steering mechanisms is particularly challenging because of braking and excessive slip in tires [5]. Moreover, SS results in complex track-terrain interactions where the wheels/track must skid latterly to follow a curved path which might lead to motion instability or what is referred to as skid ding [6] and [7]. In addition to uncertainty with respect to vehicle dynamics due to immeasurable friction coefficient, this makes the modeling of the vehicle, for the purposes of motion control a cumbersome task [8] and [9]. The steering of a tracked vehicle using skid steering approach is achieved by individually varying the thrust of the tracks. Consequently, a turning moment is created to overcome the moment of turning resistance due to skidding of the tracks on the ground and the rotational inertia of the vehicle [10] and [5]. In other words, ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 42
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH the skid steering approach is based on varying the relative velocities of the two tracks which in turn will result in slippage and soil shearing in order to achieve the steering. These phenomena of slippage and soil shearing are highly nonlinear and difficult to reliably quantify, and cause inaccurate tracked vehicle kinematics and dynamics. The problem is further aggravated by the fact that as the vehicle navigates over differing terrain, the magnitude of these nonlinear quantities vary significantly [11], [12] and [13]. Within a navigational mission for a surveillance vehicle, the changes tend to be rapid and frequent. These inaccuracies make it difficult to predict the exact motion of the tracked vehicle and increase the complexity of the task of controlling their motion. Although various controller design approaches were proposed such as in [14], [15], [16] and [17], control problems associated with system uncertainties, presence of high-order dynamics, and system inherent nonlinearities remain a big challenge. Variable Structure Control (VSC) opened up a wide area of development for controller design [15]. It provides robustness in the presence of modeling uncertainties, nonlinearities, and disturbances. Furthermore, the researchers in [13] proposed robust algorithm to address the uncertainties in the dynamic parameters of the robots. In [18], the trajectory-tracking control problem of a non-holonomic skid steering was solved using a practical stabilizer with an oscillator. A nonholonomic constraints was used with the kinematic and dynamic models for the Sliding Mode Control (SMC) for robust trajectories tracking in [19] and [20]. SMCs are based on the theory of VSC which first appeared in the late fifties in Russia as a special class of nonlinear systems [16]. Design theory and procedures are outlined in [17], [21], [22], [23] and [24], and other literature dealing with SMCs tend to be specific to a narrow class of plant structures. SMC has an advantage of adaptability and robustness over other control schemes [23]. Nevertheless, the high-frequency switching between the sliding surfaces produces chattering [25]. In [26] and [27] SMC was used for skidsteered robots, however, there was wheel slipping during high-speed turns. To eliminate the chattering phenomeno, a boundary layer was introduced in [28] for smoothing the switching between sliding surfaces, however, this boundary layer may result in steady-state errors. To overcome this drawback, methods developed in other publications [16], [17] and [21] involve integrating the classical theories used for designing the sliding mode surface and the switching control law with other computational intelligence-based systems such as Fuzzy Logic (FL), Neural Networks (NN), and Genetic Algorithms (GA) controllers. Many researchers investigated such control schemes for SS robots [29], [30], [31], [32] and [33]. However, such systems are not recommended to be implemented for low-level control structure due to their high computing demand while operating in portable embedded systems. A new adaptive SMC method was proposed to guide a mobile robot in [34]. The work in [35] solved the problem with a super-twisting sliding mode control, which enforces a second-order sliding mode, integrated with a PD controller, to achieve good robustness. In this paper we adapt an energy based VSC first proposed in [10], where the work and energy of the system are used for the SMC. Energy based VSC scheme is used in which two independent sliding surfaces are designed based on the system states. In other words, the controller is designed based on the assessment and the minimization of the system’s total energy by finding an explicit relation between the controller gains and the slope of the sliding surface. Later, the two sliding surfaces for both control signals, the lateral position and the heading angle, were combined to form a hyper sliding control surface to control the motion of the UTR. The hyper VSC was compared with different control schemes to validate its effectiveness. The path planning for robots is treated as a highlevel controller that does not consider the dynamics, control inputs, motion constraints, and duration of motion [36]. The goal of this controller is to plan a path towards a desired goal, and to identify all potential obstacles in order to search for a collision free path. Most of the path planning methods focused on solving the motion planning problem in a stationary environment, where both targets and obstacles are fixed. Some of these methods have been recently used such as the Voronoi diagrams [37], fuzzy logic controller [38], [39] and [40]. The most challenging issue in path planning is to avoid unknown obstacles that can be dynamic. Reactive planning needs to be fast and works in realtime which allows robot to react effectively to obstacles in vicinity [41]. Therefore, researchers extend the problem in a dynamic environment where the target and the obstacles are moving [42] and [43]. A recent work has implemented the Voronoi diagram and computational geometry to check for collisions using a small rectangular region around the robot [44]. Other works adopted the Artificial Potential Field (APF) method for its mathematical elegance and simplicity to determine the path in minimum computation time [45] and [46]. The major problem in this method is that the robot can get stuck in the local minima of the potential field at a point is far from the actual goal. Recently, Fuzzy based motion planner for mobile robots have been discussed in literature. The bene- ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 43
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH fit of fuzzy logic is the absence of new changes between states, improved continuous executions, and it is free from local minima problem [47]. Therefore, this work proposes a new fuzzy controller approach based on the potential field method [43] which defines virtual attractive and repulsive forces. These forces are used to generate a smooth and dynamic trajectory for the mobile robot path planning. The proposed method produces an efficient and accurate low-frequency pathway in order to reduce the computational burden on the embedded resources. In addition, the fuzzy-based controller can be applied practically on real robots as was proved in [48]. In order to study the performance of the robot with the low-level and high-level controllers, a nonlinear and dynamic simulation environment is prepared. In the first stage, the path tracking of the tracked robot is tested using the proposed energy based variable structure controller and compared with different control schemes. In the next stage, the simulation results will discuss the robot’s performance in reaching and tracking the target in an environment containing moving and static obstacles. A new fuzzy potential approach for motion planning of the UGV is used. The Fuzzy system generates an attractive force that pulls the UGV effectively toward a moving or stationary target, and a repulsive force, which is required to avoid any stationary or moving obstacles. After what was mentioned in the Introduction, the remainder of this work is as follows. The kinematic and the dynamic models of the UTR are discussed in Sec. 2. The concept of the energy based VSC is presented in Sec. 3. and the controller is derived in Sec. 4. Then, Sec. 5. shows a new approach for robot motion planning based on Fuzzy potential forces. The simulation results are discussed in Sec. 6. Finally, conclusion remarks and future work orientations are summarized in Sec. 7. . 2. SS Robot Kinematic and Dynamic Modelling Here we will discuss the kinematic and dynamic model of the unmanned tracked robot, the robot utilizes a skid steering mechanism, which makes it highly nonlinear. 2.1. Kinematic Model Skid steering of Fig. 1 is achieved by applying an appropriate force forward or backward to the tracks in order to steer the vehicle along a prescribed path. Depending on whether a forward thrust or a backward force is applied, a slip or skid may occur to the track. Taking this action into consideration, the turning radius of curvature and the rotational velocity equations of the vehicle will change. 𝜃 𝑂 𝜃 𝑋 𝑌 Fig. 1: Schematic drawing of the UTR showing the motion of the robot with respect to the global coordinates (X,Y) and the local coordinates (x,y). The radius of the curvature ρas shown in Fig. 1 is given by: ρ=B 2 (vout +vin) (vout −vin),(1) where Bis the distance between the tracks, vout =rωout and vin =rωin are the outer and inner track velocities, relative to the center of rotation O. The ωout and ωin are the outer and inner tracks rotational speeds, and ris the track radius. The robot turning velocity is given by: ˙ θ=v ρ,(2) where v=(vout +vin) 2is the robot average velocity. Taking slippage in the outer and inner wheels, iout and iin, respectively, Eq. (1) and Eq. (2) can be given as: ρ0=B 2rωout(1 −iout) + rωin(1 −iin) rωout(1 −iout)−rωin(1 −iin), ˙ θ0=rωout(1 −iout)−rωin(1 −iin) B. (3) The values of the slip and skid (iout, iin) of the outer track and inner track respectively depend on the nature of the tracks and terrain as well as the thrust forces; and can be determined experimentally. 2.2. Dynamic Model The turning behavior of a tracked robot using skid steering depends on the thrust forces of the outside ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 44
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH and inside tracks Fout and Fin, the resultant resisting force Fres, the moment or turning resistance Mres exerted on the tracks by ground, and the vehicle parameters as shown in Fig. 1 assuming the simple case of steering at low vehicle speeds. The centrifugal force may be neglected and the behavior of the vehicle can be described by the following equations of motion: md2x dt2=Fout +Fin −Fres, Id2θ dt2=B 2(Fout −Fin)−Mres, (4) where mis the mass of the robot, sis the displacement of the center of mass of the robot, Iis the mass moment of inertia about the vertical axis passing through the center of mass of the robot. If the tracked vehicle is turning at high speed, the centrifugal force may be significant in this case and its effect should be taken into consideration. If the center of mass is higher than the plane forming the sprockets, load transfer between the two tracks will also occur. Fig. 2 shows a tracked vehicle turning at high constant speed about a center Oto the right. Because of occurrence of a skid or slip, the turning radius changes; ρ0represents the resulting turning radius which forms an angle βwith the line passes through the center of rotation O0. The tracks thrust forces Fout, Fin and the resistance forces Fres(out), Fres(in) are shown in Fig. 2. Lateral resistance forces act on the tracks as a consequence of skid steering, and are assumed to be distributed as shown in the figure. 𝜌′ 𝐶 𝛽 𝜃𝑜 𝐹𝑟𝑒𝑠(𝑖𝑛) 𝐹𝑟𝑒𝑠(𝑜𝑢𝑡) 𝑆𝑜 𝑜′ 𝑀𝑟𝑒𝑠 𝑚𝑎𝑦cos 𝛽 𝑚𝑎𝑦sin 𝛽 𝐹𝑖𝑛 𝐹𝑜𝑢𝑡 𝑊 𝑜𝑢𝑡 𝑊𝑖𝑛 𝐵 𝑚𝑎𝑦cos𝛽 𝑊 𝑎𝑏 ℎ Fig. 2: UTR model showing forces distribution while turning at high speeds around point o. The generated forces for the inside and outside tracks are required to maintain the vehicle at steady state while turning at high speed. By taking into account the friction and centrifugal forces [10] and [14] as shown in Fig. 2, the final forms of thrust forces of the inside and outside tracks are given as follows: Fout =W 2+hmay Bfr+mayso 2ρ0+ +Wµtl 4B1−(ay gµt )2, Fin =W 2−hmay Bfr+mayso 2ρ0+ −Wµtl 4B1−(ay gµt )2, (5) where fris the coefficient of resistance to motion of the vehicle in the longitudinal direction, and ayis the lateral acceleration of the center of mass of the vehicle; Wis the weight of the vehicle, and µtis the coefficient of lateral resistance. The gravity acceleration is represented by gand h, B, l and soare the dimensions related to the vehicle as shown in Fig. 1 and Fig. 2. The value of frdepends on the vehicle translational velocity vand the tracks contour. Also, the value of µt depends on the nature of the ground and on the track contour. 3. Energy Based Variable Structure Controller 𝐴 𝐵 1 2 0 𝑥 𝑥 + 𝜆𝑥 = 0 Sliding Surface Sliding Phase Displacement Maximum Velocity 𝑥𝑚 𝑥 𝑥d Fig. 3: Phase plane portrait showing SMC action. As shown in Fig. 3, it is required to move the system from location (1) to (2). The principle of energy conservation in the presence of a dissipative load is given in Eq. (6). The work done by the controller U1→2is less than that consumed by the dissipative load UR(1→2) ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 45
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH and is related to the energy of the system as follows: KE1+P E1+U1→2=KE2+P E2+UR(1→2), (6) where KE and P E are the kinetic and potential energy of the system, respectively. U1→2is the work done by the controller between the two positions, and UR(1→2) is the work lost to the viscous damper between the two positions. For a general system, Eq. (6) becomes: 1 2β( ˙x2 2−˙x2 1) + 1 2α(x2 2−x2 1)−Γ( ˙x2x2−˙x1x1)+ −k(x2 2−x2 1) = 0, (7) where βand αare the inertial and potential energy storage element constants, respectively. The linear dissipative element constant is represented by Γand kis the controller gain. Then, the energy balance at any point along the trajectory of the SMC phase portrait is given by: 1 2β˙x2+1 2αx2−Γ˙xx −kx2= 0.(8) For the linear sliding surface shown in Fig. 3, x=−˙x λ. By substituting for xinto Eq. (8) gives: 1 2β˙x2+1 2λ2α˙x2+1 λΓ˙x2=1 λ2k˙x2.(9) Equation (9) relates the controller gain to the slope of the sliding surface as follows: k=1 2(βλ2+α) + Γλ. (10) The gain in Eq. (10) can be used for SISO control systems. An extended design methodology can be achieved to include SIMO control systems. If a fourstate-variables system with a single input is considered, two sliding surfaces can be designed as follows: s1=λ1x1+x2, s2=λ2x3+x4,(11) where x1, x2, x3and x4are the states of the system and x2= ˙x1and x4= ˙x3. The input control signal is a relay type signal and is given by: u=k1x1+k2x3,(12) where: k1=+η1, sx1>0 −η1, sx1<0 k2=+η2, sx3>0 −η2, sx3<0 ,(13) where λ1and λ2are the slopes of the sliding surfaces, and k1and k2are the controller gains, η1and η2are the magnitudes of the controller gains. Finally, Eq. (10) can be used to find the magnitudes of the controller gains as well as the sliding surfaces slopes as follows: k1=1 2(β1λ2 1+α1) + Γ1α1, k2=1 2(β2λ2 2+α2) + Γ2α2. (14) Gains in Eq. (14) show that the ranges of the SMC parameters (λ1, λ2, k1, k2)are very wide such that additional constraints have to be imposed on the choice of the parameters. Sensitivity analysis [17] is introduced to find such constraints. 4. UTR Control Using VSC and Hyper Schemes The UTR is SIMO system given that the speed is fixed; hence, the controller signal can be given in the form of the required rotational velocity of the vehicle as shown in Fig. 4. From the transnational and rotational velocities, the required angular speeds of the left and right tracks DC motors can be calculated from the vehicle kinematic equations. 𝑘2 𝑒𝜃 𝑘1 𝑒𝑝 𝑉 𝜌 ++ + Vehicle Kinematics 𝜔𝑖𝑛 𝜔𝑜𝑢𝑡 𝑢 Fig. 4: Control law block diagram. The lateral position error is calculated as the difference in the y-direction between the recovery path and the current location of the vehicle with respect to the local coordinates of the vehicle. The heading angle error is calculated as the difference between the angle found from the recovery path slope and the current direction of the vehicle with respect to the world coordinates. The sliding surfaces equations are formulated as follows: s1=λ1ep+ ˙ep, s2=λ2eθ+ ˙eθ,(15) where epand eθare the lateral position and the heading angle errors of the robot, respectively, and ˙epand ˙eθ are their rates of change. λ1and λ2are the slopes of the sliding surfaces related to the vehicle position ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 46
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH and heading angle, respectively. The proposed control law shown in Fig. 4 can be written as: u=V ρ+k1ep+k2eθ,(16) where k1and k2are the controller gains for the vehicle position and heading angle errors, respectively. These gains are defined as follows: k1=+η1, s1>0 −η1, s1<0 k2=+η2, s2>0 −η2, s2<0 .(17) Chattering is undesirable phenomenon which is produced from control discontinuities and switching action and should be minimized or eliminated for practical controller implementations [49] and [28]. This is achieved by using a thin boundary layer on either sides of the sliding surfaces and using a saturation function instead of the sign function used in the Eq. (17). In this approach, the switching control law is replaced by a saturation function which approximates the sign term by a boundary layer neighboring the sliding surface s= 0. If the state of the system is outside the boundary layer, the control law uis chosen as before. If the state of the system is inside the boundary layer [−φ, φ], the control law uis interpolated by replacing the sign function in the expression of uby s φ. Using Eq. (14) along with the dynamic model of the robot dynamics, Eq. (5), the controller gains are given as follows: k1=1 2mλ2 1, k2=1 2Iλ2 2. (18) For each of the two relationships, one of the parameters, either λior kihas to be chosen and the other calculated. Alternatively, additional constraints have to be found in order to guide the choice of the parameters. The system sensitivity analysis again is used here to find such constraints. The rotational velocity of the vehicle is given by: V ρ+k1ep+k2eθ=r B(ωout −ωin).(19) Taking the partial derivatives of the lateral position error epand the direction error eθof the robot with respect to the DC motors angular speeds give: ∂ep ∂ωout =k1B r,∂ep ∂ωin =−k1B r, ∂eθ ∂ωout =k2B r,∂eθ ∂ωin =−k2B r. (20) In order that the UTR errors are rendered insensitive to the motors angular speed variations, the magnitude of the denominator in Eq. (20) must be larger than that of the numerators, that is: k1<B r, k2<B r.(21) Finally, the sliding controller is designed such that both sliding surfaces of the lateral position and the heading angle which are given by Eq. (15) of the UTR are coupled together to form a single hyper sliding surface: s=s1 + s2 = λ1ep+ ˙ep+λ2eθ+ ˙eθ.(22) The control law and gains are the same as in Eq. (16). 5. Fuzzy Potential Motion Planning System This section discusses a new motion planning system for UGVs based on fuzzy controller. The goal of this system is to allow the robot to track a moving target in a dynamic environment with obstacles. In other words, the proposed approach provides the ground vehicle with virtual repulsive and attractive forces that regenerate real-time and dynamic trajectory that gives the robot the ability to track a target and to avoid obstacles. Mamdani inference fuzzy system is used to create the two nonlinear models for attractive and repulsive forces. The attractive force model is provided by the relative position and velocity vectors between UGV and the target. This force defines the dynamics between the UGV and the target and can be defined as follows: A(p, v) = A1(p) + A2(v), A1(p)=2kp|δ|nrt, A2(v)=2kv|δv|nv(rt), (23) where δand δvare the relative position and velocity between the robot and the target, respectively, with nrt and nv(rt)being unit vectors pointing from the robot to the target for position and velocity, respectively. As seen in Eq. (23), the virtual attractive force Aconsists of two components which are A1and A2. The first force component, A1, pushes the robot to the target to reduce the distance between them, where the second component, A2, keeps the robot move at the same velocity of the target. The attractive force for each motion direction (i.e. xand y) can be given as follows: Ax= 2kpxδx+ 2kvxδvx, Ay= 2kpyδy+ 2kvyδvy,(24) ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 47
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH where δxand δyare the relative position of the robot with respect to the target, and δvxand δvyare the relative velocities in xand ydirections, respectively. These variables represent the inputs to the attractive fuzzy model that generates the appropriate force components (i.e. A1, A2), which are summed for the total attractive forces Axand Ay, as shown in Fig. 5. The output forces are tuned carefully by scaling parameters kpand kv. Obstacles 𝑖 Attractive Fuzzy model Repulsive Fuzzy model Target 𝑥,𝑦 𝑣𝑥,𝑣𝑦 UGV 𝑥,𝑦 𝑣𝑥,𝑣𝑦 𝐴𝑥 𝐴𝑦 𝐴𝛿𝑥 𝐴𝛿𝑣𝑥 𝐴𝛿𝑦 𝐴𝛿𝑣𝑦 𝛿𝑥,𝑦 ± ±𝛿𝑣𝑥,𝑣𝑦 𝑅1 ± 𝑥,𝑦 𝑣𝑥,𝑣𝑦 𝜖𝑥,𝑦 ± 𝑅2 𝜖𝑣𝑥,𝑣𝑦 𝑅𝑦 𝑅𝑥 Fig. 5: New approach of Fuzzy based motion planning system for UGV The UGV will also be provided by an extended potential force when it reaches an obstacle. Therefore, another Fuzzy model is adopted to produce appropriate repulsive forces. These forces are calculated according to the following function: R=R1+R2.(25) The relationship between the repulsive force components in a 2D space is shown in Fig. 6, where R2keeps the robot away from the obstacle and second repulsive force component, R1, acts as a steering force. The repulsive force components in xy plane can be defined as follows: Rx=η (ρs−ρm)21−vxcos(α) amax + +ηvxcos(α) ρsamax(ρs−ρm)2, Ry=η (ρs−ρm)21−vysin(α) amax + +ηvysin(α) ρsamax(ρs−ρm)2, (26) where ηis a positive constant and ρsis the shortest distance between the center of the robot and the center of the obstacle. vis a component of the relative velocity between the robot and the obstacle pointing from the robot to the obstacle as shown in Fig. 6. The deceleration, amax, is applied to the robot to reduce its velocity, then the distance traveled by the robot before vapproaches to zero is defined by ρm and is given by: ρm=2 v 2amax .(27) Also, αis the angle between the x axis and the vector v, and it is defined as follows: α= tan−1y x,(28) where, xand yare the relative positions between the robot and the obstacle in x and y directions, respectively. 𝑣 𝑣𝑜𝑏𝑠 𝑣 − 𝑣𝑜𝑏𝑠 𝑝𝑜𝑏𝑠 Obstacle Robot 𝑝 𝑅1 𝑅2 𝑅 𝑌 𝑋 𝜖𝑣 Fig. 6: Repulsive force in 2D space As shown in Fig. 5, the inputs to the repulsive-fuzzy model are x, y, vx, and vy. Furthermore, Rxand Ry are the repulsive forces which are calculated according to the output (R1, R2) of the Fuzzy model. After the calculations of the attractive and repulsive forces from Eq. (23) and Eq. (25), respectively, the overall virtual force on the robot is the summation of the calculated attractive and repulsive forces, and it is given as follows: Ftot =A+R. (29) The repulsive force model can be extended to be valid for multiple obstacles nobs, so the following relation is given: R= nobs X n=1 Ri.(30) The process of designing a fuzzy logic controller is performed in three main steps. The first step is called fuzzification; in this step, the inputs are mapped onto membership functions. The membership values are then quantified from a rule base. This step is called rule evaluation. The last step is called defuzzification; here, the membership values are converted into crisp outputs. Fuzzy membership functions, for both the inputs and the outputs of the Fuzzy-attractive model, are represented by five triangular membership functions with linguistic fuzzy terms (i.e. Negative Big (NB), Negative Small (NS), Zero (Z), Positive Small (PS), Positive Big (PB)). The Fuzzy IF-THEN rules for each input-output system are mapped according ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 48
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH to the rule base in Tab. 1. The Fuzzy membership functions of the Fuzzy-attractive controller are shown in Fig. 7. Tab. 1: Rule base of the Fuzzy-attractive controller. δp NB NS Z PS PB δv NB NB NS Z PS PB NS NB NS Z PS PB Z NB NS Z PS PB PS NB NS Z PS PB PB NB NS Z PS PB NB NS ZPS PB -20 -10 010 20 1 0.8 0.6 0.4 0.2 0 δx,y Degree of membership (a) Position error input. NB NS ZPS PB -10 -5 0510 1 0.8 0.6 0.4 0.2 0 δ Degree of membership vx,vy (b) Velocity error input. NB NS ZPS PB -0.8 -0.4 00.4 0.8 1 0.8 0.6 0.4 0.2 0 Degree of membership Output (c) Attractive forces output. Fig. 7: Membership functions of the Fuzzy-attractive controller. To configure the repulsive force model, two Fuzzy inference systems were built. The first one is designed to obtain the repulsive force in the x direction and a second one for the repulsive force in y direction. Each model takes two inputs (x, y) which are the relative position between obstacle and UGV in xy directions. Each input, in any repulsive inference system, has five triangular membership functions with fuzzy terms (−2,−1,0,1,2). Moreover, each output has 21 triangular membership functions which have 21 fuzzy terms (i.e. −2,−1.8,−1.6,−1.4,...,1.4,1.6,1.8,2). The final set of data consisting of 25 data points is converted to 25 if-then fuzzy rules in each repulsive fuzzy model. 6. Simulation Results and Discussions In this section, the proposed control systems are evaluated and implemented for UTR. In particular, the energy based VSC scheme is adopted as a low-level controller for trajectory tracking, and the Fuzzy potential motion planning system is used as a high-level controller for free obstacle avoidance path generation. The integrated control system is illustrated in Fig. 8. The simulation environment includes 3 UTR platforms designed in CAD environment and integrated with Simulink/Matlab models using the Simmechanics toolbox. Path Planning Obstacle avoidance UTR Target Obstacle Dynamic Environment Trajectory tracking High-level Controller low-level Controller Desired 𝑥𝑖, 𝑣𝑖 𝑥𝑅, 𝑣𝑅 Fig. 8: Integrated control structure and simulation environment. Y (m) X (m) -1 0 1 2 3 4 5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 desired path slip 1 % slip 2 % slip 3 % Fig. 9: Open loop performance of the UTR with 1 %, 2 %, and 3 % slip. The first stage of the simulation tests was performed on a single UTR to evaluate the low-level controller. At the beginning, the robot was operated in open loop mode, i.e. no feedback, to track a circular bath with a 3 meters radius and 1 m·s−1translation velocity. Figure 9 shows the achieved trajectory with 1 %, 2 %, and 3 % slip values on the outer track with zero inner tack slip. This situation should give the worst track error. ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 49
MECHATRONICS VOLUME: 19 |NUMBER: 1 |2021 |MARCH It is clear from the figure that there is a large shift between the desired path and the achieved one. This shift increases by increasing the slip value. Figure 10 shows the results which are obtained for the UTR with four different controllers, a PID controller, energy based VSC, hyper sliding VSC, and GBNN with different slip values (0 %, 2 %, and 4 %). The slope λ1and λ2are chosen to be 0.53 and 1.87 respectively. Y (m) X (m) (a) Slip = 0 %. Y (m) X (m) (b) Slip = 2 %. Y (m) X (m) (c) Slip = 4 %. Fig. 10: UTR achieved tracking path with different control schemes. The errors between the desired and the achieved path using the four different control methods are illustrated in Fig. 11 and summarized in Tab. 2. The results clearly demonstrate the superiority of our proposed controller over other types. The hyper VSC controller provides best performance with small errors in different slip values as shown in Tab. 2. x (m) Error (m) (a) Slip= 0 %. x (m) Error (m) (b) Slip= 2 %. x (m) Error (m) (c) Slip= 4 %. Fig. 11: Error between desired and achieved path for different control schemes. ©2021 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 50