Next Article in Journal
A2-Mode Lamb Passive-Wireless Surface-Acoustic-Wave Micro-Pressure Sensor Based on Cantilever Beam Structure
Previous Article in Journal
Revitalizing Astronomical Azimuth Determination: Integrating Modern Computing with Traditional Techniques
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Time-Impact Optimal Trajectory Planning for Wafer-Handling Robotic Arms Based on the Improved Snake Optimization Algorithm

School of Mechanical Engineering, Shenyang Ligong University, Shenyang 110159, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(6), 1872; https://doi.org/10.3390/s25061872
Submission received: 11 February 2025 / Revised: 4 March 2025 / Accepted: 13 March 2025 / Published: 18 March 2025
(This article belongs to the Section Physical Sensors)

Abstract

:
To enhance the working efficiency of a wafer-handling robotic arm and simultaneously alleviate the impact and vibration during the motion process, a trajectory planning approach based on an improved snake optimization (ISO) algorithm is proposed. The following improvements have been made to the snake optimization (SO) algorithm: the introduction of a Chaotic Tent Map for initializing the swarm, the use of randomly perturbed dynamic learning factors to replace fixed values, the application of a cosine annealing learning rate for self-adaptively updating individual positions, and the incorporation of Bayesian optimization for parameterization and fine-tuning of the system’s selection process. Furthermore, the ISO algorithm is applied in the Cartesian space of the robotic arm to effectively address the trajectory planning challenge of the single-segment start–stop S-shaped speed curve with arc transitions. The simulation results indicate that the improved S-shaped speed curve has increased by 24.1% compared with the original plan, and the mean and variance rankings of ISO algorithm have, respectively, improved by 60.8% and 63.4%, compared with the SO algorithm. Meanwhile, this study has successfully achieved the Pareto optimal solution with time and impact as the targets based on the established MATLAB experimental simulation platform.

1. Introduction

With the rapid advancement of the semiconductor industry, the optimal trajectory planning problem for manipulator arms has become a critical research focus [1,2,3,4]. It is a fundamental and critical challenge in the field of robotic manipulators. At its core, the goal of optimal trajectory planning is to determine a motion path for the manipulator that meets specific requirements such as minimizing operation time, energy consumption, and mechanical stress, while ensuring the accuracy of reaching the target position and orientation. To achieve the overarching objective, the following three critical aspects should be thoroughly considered: the selection of an appropriate operational space for the robotic arm, the design of suitable trajectory curves, and the implementation of an efficient optimization algorithm.
When deliberating the trajectory planning of the manipulator arm, a choice must be made between the planning schemes in Cartesian space and Joint space, which are typically determined by specific task requirements, characteristics of the manipulator arm, and tracking accuracy, among other factors. For instance, trajectory planning in Cartesian space enables direct control of the position and orientation of the manipulator end effector, which is relatively more intuitive than that in Joint space, and can more effectively plan smooth motion trajectories [5,6,7]. From the perspective of advanced computational methods, Xiao et al. [8] successfully mitigated the shock and vibration experienced by a robot during its movement from the starting position to the target position in Cartesian space, thereby ensuring the accuracy and safety of point-to-point movements. In contrast, Zhang et al. [9] successfully planned two sets of trajectories using polynomial interpolation in Joint space and verified the model by using SimMechanics. However, owing to the insufficient robustness of the PID controller against external environmental factors, the simplification of the model significantly affected the accuracy of the experiment. Additionally, the improved quantum particle swarm optimization algorithm proposed by Luo et al. [10] performed outstandingly in the trajectory planning of the robot joint space, effectively enhancing the efficiency and accuracy of trajectory planning. Regarding the S-shaped speed curve, Wu et al. [11] investigated how to plan trajectories in Joint space of industrial robots that satisfy kinematic constraints and have continuous jerk. Nevertheless, trajectory planning in Joint space requires complex inverse kinematic solutions. Due to joint coupling effects, trajectories converted to Cartesian space may exhibit distortions or deviations from the desired path. This constitutes a potential issue for manipulator arms employed in wafer-handling scenarios.
Trajectory planning curves are vital for motion control strategies. The common types include linear interpolation, B-spline curves, polynomial curves, T-shaped speed curves, and S-shaped speed curves. Polynomial interpolation is frequently employed for this purpose. By selecting the appropriate polynomial order, its adaptability can be flexibly adjusted to match different numbers of data points and smooth the curve, thus effectively reducing the vibration and shock of the robotic arm during movement [12,13,14]. Although high-order polynomial interpolation can provide a smoother curve fit, it may lead to the Runge phenomenon with an excessive number of data points. In addition, they are highly sensitive to minor data point variations, potentially leading to numerical instability. Furthermore, Cong et al. [15] proposed the use of fifth-order Non-uniform B-spline curves in the trajectory planning and crafted a multi-objective trajectory optimization model employing the Non-dominated Sorting Genetic Algorithm-II (NSGA2). Regarding the T-shaped speed curve, Ayazbay et al. [16] applied a mini-mum time-impact planning algorithm to optimize the curve, targeting an enhanced dynamic performance and reduced mechanical wear. However, this curve lacked smoothness at the endpoints, necessitating additional processing to ensure the overall continuity and smoothness of the trajectory. In response to these limitations, researchers have proposed S-shaped speed curves [17,18] as trajectory planning curves, which are distinguished by smooth transitions at the velocity inflection points. This results in less impact force and noise compared to the T-shaped acceleration and deceleration phases. S-shaped speed curves are commonly used in applications requiring precise control and minimization of mechanical vibration.
Heuristic algorithms are increasingly employed in trajectory planning and typically address complex optimization problems when it is difficult to find an exact solution or when the cost of computing an exact solution is too high. Intelligent algorithms, such as genetic algorithms (GA), particle swarm optimization (PSO) algorithms, annealing algorithms (SA), whale optimization algorithms (WOA), and grey wolf optimization (GWO) algorithms provide novel solutions for addressing intricate trajectory planning problems. They have the characteristics of flexibility, robustness, and diversity, which can help users find the global optimal solutions. Among them, the PSO algorithm [19], which simulates the social behavior of bird flocks to achieve optimization, is widely used to optimize the use of robotic arms owing to its simplicity, ease of implementation, and strong ability for multi-modal optimization. However, the PSO algorithm cannot avoid problems of parameter sensitivity and convergence acceleration. Therefore, research teams have improved to varying degrees to overcome these shortcomings [20,21,22,23]. Lu and Wang [24] built an optimal trajectory planning method based on a B-spline and a WOA to improve the work efficiency of a robotic arm. However, they did not fully compare the performance differences between the WOA and other existing algorithms. By combining the back propagation neural network (BPNN) with the GA, the overall performance of the upper limb rehabilitation robotic arm trajectory planning was improved to some extent. However, the parameter adjustment after the combination was very complex and required a large number of experiments and professional knowledge for correction [25]. The SO algorithm excels outstanding in the realm of optimization owing to its exceptional flexibility and robustness. It is not only easy to integrate chaos theory and learning mechanisms to bolster search efficiency but also to maintain efficient exploration ability under poor initial conditions. In addition, it can rapidly adapt to the changes in dynamic environments and optimize search strategies in real time, thereby safeguarding the continuity and effectiveness of the optimization process. Li et al. used a SO algorithm to find optimal paths in dynamic environments. Although its performance has been improved compared with other intelligent algorithms, the improved algorithm still requires careful parameter tuning [26]. To address the shortcomings of the SO algorithm, recent literature [27,28] begun to focus on solving its core mechanism to raise the overall performance of optimization problems. The ISO has also been gradually applied to path planning and to solve general constrained optimization problems.
Therefore, considering the shortcomings of the afore-mentioned studies and the main factors that should be prioritized during the actual operation of the wafer manipulator, this study proposes an improved control strategy for a manipulator that combines the single-segment start–stop S-shaped speed of the circular arc transition, an ISO algorithm, and a time-impact optimization method of trajectory planning. It is worth noting that it has more advantages in terms of the stability of the control effect or the convergence ability of the algorithm compared with other types of methods. And it can adapt to parameter optimization in different scenarios. In summary, the contributions of this study are as follows.
(1)
In the area of intelligent optimization methods, the following improvements have been made to the SO algorithm.
  • The Tent Chaotic Map initializes populations, instead of randomly generating populations with ‘rand’ functions.
  • Dynamic learning factors, integrated with random perturbations, replace static learning factors.
  • A cosine annealing learning rate scheme is employed for the adaptive updating of individual positions.
  • The Bayesian method is utilized to optimize thresholds, surpassing the reliance on empirical thresholds.
(2)
In the area of trajectory planning, the following improvements have been made to the S-shaped speed curve.
  • The interpolated arc transition supplants the abrupt right-angle transition.
  • The continuous single-segment start–stop mechanism supersedes the segmented start–stop mechanism.

2. Materials and Methods

2.1. The Structure Parameters of the Wafer-Handling Robotic Arms

Assuming that the task requirements can be realized in a plane, the system model is simplified when the robotic arm transports the wafer, as shown in Figure 1. Before planning the trajectory, it is necessary to establish the link coordinate system correctly. In general, the points along the Zi axis are aligned with the i-th joint axis. Furthermore, the points along the Xi axis are aligned with a common vertical line. In addition, the Yi axis is oriented according to the right-hand rule. In this study, the parameters of the linkage rods are expressed using the improved Denavit–Hartenberg (DH) method. The parameters of each joint and link are obtained using the link coordinate system as a reference, as shown in Table 1.
To facilitate the visual analysis of the subsequent trajectory planning and verify the correctness of the simplified model, this study utilizes the MATLAB robot toolbox developed by Peter Corke. It is a powerful robotic simulation and analysis tool that provides a range of capabilities for modeling, simulating, controlling, and visualizing robots. A robotic arm consistent with the simplified model is successfully constructed on the interface by following the building instructions in the MATLAB robot toolbox, as shown in Figure 2.

2.2. The Mathematical Model of Multiple Objective Function

In recent years, the optimization of time, energy, impact, and other indicators has been shown to improve the operational efficiency and motion performance of robotic arms in the field of robot trajectory planning [29,30,31]. In the preprocessing stage of trajectory optimization analysis, expected trajectories as input parameters need to be predefined and generated. Therefore, this study will build the expected trajectory through the MATLAB platform, and the specific implementation process will be elaborated in the following sections. Considering the production background and optimization effect, a multi-segment point-to-point trajectory in Cartesian space is adopted to achieve multi-objective optimization of time and impact. In the following section, we will systematically analyze the mathematical model and its optimization process.
Initially, the desired trajectory of the robotic arm is discretized into multiple interpolation points within the Cartesian space. These interpolation points are selected at regular time intervals along the desired trajectory, thereby accurately capturing the positional information of the trajectory at different time instances. Subsequently, the Cartesian coordinates of these interpolation points are stored in the joint controller. By employing the inverse kinematics equations, the Cartesian coordinates of the interpolation points can be further transformed into the corresponding joint angles in the joint space. However, the inverse kinematics equations typically yield two distinct solutions. Therefore, it is necessary to impose geometric constraints within the code to select the unique solution that conforms to the desired trajectory. Once the unique solution is obtained, it is substituted into the robot’s forward kinematics model to derive the Cartesian coordinates of the desired trajectory. Ultimately, by combining the trajectory function with the Cartesian coordinates of the interpolation points, the desired trajectory is precisely reconstructed. It is assumed that the time at which the manipulator reaches each interpolation point is ti. The time interval between adjacent interpolation points is hi = ti+1ti, where i is the index of the interpolation points (i = 0, 1, … n). The time interval taken in the code of this paper is 0.002 s, that is, the selection basis of interpolation points. At the same time, through the preliminary analysis, it is clearly observed that there is an inverse correlation between time and impact. When the time of the robotic arm increases, the impact decreases. Therefore, it is impossible to simultaneously obtain the minimum values. Thus, considering the constraints of the geometric joints of the robotic arm, velocity, acceleration, and jerk, the primary goal of this study is to achieve an optimal balance between time and impact. Therefore, a Pareto optimal method is adopted in this study to achieve the tradeoff between optimization objectives. The time function is given by Equation (1). Because the impact quantity can not be directly measured, it is quantified by the acceleration, as shown in Equation (2). The constraints are expressed in Equation (3). The multi-objective optimization function is shown in Equation (4).
min F 1 = i = 0 n h i
min F 2 = i = 0 n 0 t i j i 2 d t t i
θ i θ max v i v max a i a max j i j max
min F = w 1 F 1 F 1 min + w 2 F 2 F 2 min
where F1, F1min, and w1 are the objective function, minimum value, and weight value of time, respectively. F2, F2min, and w2 are the objective function, minimum value, and weight of impact, respectively. hi is the time interval between the i-th and i + 1-th interpolation point. ti and ji denote the time node and jerk value of the i-th interpolation point. θmax, vmax, amax, and jmax are the maximum rotational angle, speed, acceleration, and jerk of the joint of the manipulator arm, respectively.

2.3. The Construction of Trajectory Planning

2.3.1. The Explanation of S-Shaped Speed Curve

The T-shaped speed curve is a widely used method for robotic arm control. Because of its simplicity and ease of control, it is extremely common in industrial applications. As shown in Figure 3, this curve may produce large impacts and vibrations at points A, B, C, and D, potentially causing the wafer to break. By contrast, the S-shaped speed curve uses nonlinear adjustments to increase and decrease the velocity, making the motion process smoother and effectively solving the discontinuity problem of the acceleration of the T-shaped speed curve. Therefore, the S-shaped speed curve is more suitable in scenarios requiring higher operational stability.
The S-shaped speed curve partitions the entire motion process into seven distinct phases. Equation (5) describes the motion characteristics at different stages.
v ( t ) = v s + 1 2 j max τ 1 2 0 t t 1 v 1 + a max τ 2 t 1 t t 2 v 2 + a max τ 3 1 2 j max τ 3 2 t 2 t t 3   v 3 t 3 t t 4 v 4 1 2 j max τ 5 2 t 4 t t 5 v 5 a max τ 6 t 5 t t 6 v 6 a max τ 7 + 1 2 j max τ 7 2 t 6 t t 7
where tk (k = 0, 1, …7) represents the transition point time of part k, which indicates the specific point in time at which each stage begins or ends. τk (k = 0, 1, …7) represents the local time period of part k, which refers to the difference from the starting point of the current part, called time zero, to the time point of the current part. The equation used τk = tk − tk−1 (k = 1, 2, …7). vk (k = 1, 2, …6) represents the final speed of part k and vs. represents the initial speed. amax is the maximum acceleration. jmax is the maximum acceleration.

2.3.2. The Improvement of the S-Shaped Speed Curve

Trajectory planning is a crucial step in the robotic motion control. When the wafer-handling robotic arm is in operation, it frequently encounters turning points where the direction of movement requires alteration. These turning points often serve as a source of abrupt jerk changes. To alleviate this problem, an S-shaped speed curve adopts a circular arc transition strategy to guarantee a smooth trajectory transition. This strategy not only mitigates the impact and vibration induced by the robotic arm but also contributes to shortening the execution time of the motion trajectory. Prior to constructing the S-shaped speed curve, it is imperative to determine the key interpolation points of the trajectory in Cartesian space, as indicated in Table 2. Simultaneously, the principal motion parameters must be set as presented in Table 3. v_ p0, v_ p1, and v_ p2 are the velocities of the initial point, the circular arc transition section, and the terminal point, respectively. vmax, amax, and jmax denote the maximum velocity, the maximum acceleration, and the maximum rate of change in the acceleration of an end effector in Cartesian space, respectively. r is the radius of the circular arc transition at the inflection point.
The trajectory curve shown in Figure 4. can be generated by applying the parameters listed in Table 3. to the S-shaped speed curve model. In this figure, the black lines represent the direct path without a circular transition, whereas the blue lines show a smooth path with a circular transition. It is noteworthy that the radius of the circular transition can be adjusted according to specific work requirements. Overall, the circular transition not only improves the smoothness and efficiency of the robotic arm’s motion but also helps to protect the robotic arm and its payload, while enhancing the overall operational performance. This transition method allows the robotic arm to perform complex tasks more accurately and reliably.
By analyzing the data in Table 2, it is clear that this trajectory planning task involves three key nodes that the robotic arm must reach in sequence. S-shaped speed curve planning is a standard point-to-point start–stop motion scheme. Specifically, this task is represented by two movements from the starting point to the middle point and then from the middle point to the end point, with zero starting and ending speeds for each movement. Based on the data in Table 3, the velocity image of the scheme is shown in Figure 5. However, this scheme causes the manipulator to frequently start and stop, which not only increases the vibration during the motion process but also leads to time wastage in the acceleration and deceleration stages. To address this issue, an improved scheme is proposed in this study for the single-segment start–stop mechanism, optimizing the starting and stopping parts of the intermediate process into a smooth motion mode with constant speeds at both ends, as shown in Figure 6. When the velocity of the first segment of motion attains the maximum value of the set parameters, instead of reducing the velocity back to zero as in the standard scheme, the second segment of motion proceeds in a uniform transition manner. The specific parameters still refer to Table 3. This improved scheme effectively mitigates the limitations inherent in the conventional approach. Simultaneously, the movement efficiency can be improved and the vibration can be reduced.
Comparing Figure 5 and Figure 6, it can be seen that the improved motion scheme results in a smoother speed curve. Concurrently, it effectively reduces the vibration generated by the motor during starting and stopping. With the basic parameters unchanged, the unoptimized time schedule which does not include arc adjustment and smooth transition took 7.26 s, whereas the optimized time schedule, which includes arc adjustment and smooth transition, is shortened to 5.51 s. After the two parts are optimized, the total time is saved by 1.75 s, a 24.1% reduction compared to the original scheme.

2.4. Improved Snake Optimization Algorithm

2.4.1. Initialization Population of a Tent Chaotic Map

The snake optimization (SO) algorithm is an intelligent optimization technique that simulates the specific mating behavior of snakes. It achieves an effective balance between global and local searches by using a unique search mechanism. In the initialization phase of the algorithm, individuals in the population are equally divided into male and female individuals. The composition of this initial population can be represented by Equation (6), where the numbers of male and female individuals are represented by Equations (7) and (8), respectively.
X i = l b + r a n d × ( u b l b )
N m = N 2
N f = N N m
where Xi denotes the position of the i-th individual. The random function ‘rand’ generates a real random number between 0 and 1. The upper and lower bounds of Xi are ub and lb, respectively. N is the total population size. Nm and Nf are the numbers of individual males and females, respectively.
However, the use of the function ‘rand’ in Equation (6) of the SO algorithm may result in an uneven distribution of random numbers. Moreover, because this function is based on a deterministic algorithm, the same random sequence is generated when the same seed is given. This situation may lead to the premature convergence of the heuristic algorithm to the local optimal solution, making it challenging to find the global optimal solution. To address this issue in population initialization, this study introduces a Tent Chaotic Map. It has excellent chaotic characteristics, which can effectively improve the uniformity of population distribution. In addition, compared with Sine and Logistic chaotic map [32,33], its implementation is more intuitive and simple, while Sine and Logistic chaotic map’s late depth search ability is weak, which may cause the algorithm to fall into local optimal. At the same time, the distribution of their output sequence may be uneven under certain parameter values. As a consequence, the Tent Chaos map is a good choice in this study. And the Tent Chaos Map can be expressed as Equation (9). And ‘xi’ replaces ‘rand’ as shown in Equation (10).
x i + 1 = x i a , 0 x i < a 1 x i 1 a , a x i 1
X i = l b + x i × ( u b l b )
where xi and xi+1 stand for the i-th and i + 1-th values of Tent Chaotic Map, respectively. Xi stands for the i-th individual position. Moreover, parameter a is the variable value, which is 0.5 in this study [34].

2.4.2. Dynamic Learning Factor with Random Noise

In heuristic algorithms, learning factors play a key role in regulating the search behavior, including the balance between exploration and exploitation. Exploration refers to the ability to search for new solutions randomly, whereas development refers to the ability to search locally for the best solution. The learning factors of the SO algorithm include the constant value C1 of the food calculation equation, constant value C2 of the food exploration stage, and constant value C3 of the food development stage. The initial values of these constants are typically set to C1 = 0.5, C2 = 0.05, and C3 = 2. The equations containing C1, C2, and C3 are Equations (11)–(15). The subscript ‘m’ and ‘f’ refers to the male and female snakes, respectively. The special mention of female snake expressions will be omitted in the following text.
Q = C 1 × ( t T T )
X i ,   m _ 1 ( t + 1 ) = X r a n d ,   m _ 1 ( t ) ± C 2 × A m × ( u b l b ) × r a n d + l b  
X i ,   m _ 2 ( t + 1 ) = X food ( t ) ± C 3 × Temp × r a n d × X food ( t ) X i ,   m ( t )
X i ,   m _ 3 ( t + 1 ) = X i ,   m _ 3 ( t ) ± C 3 × F m × r a n d × Q × X b e s t ,   f X i ,   m ( t )
X i ,   m _ 4 ( t + 1 ) = X i ,   m _ 4 ( t ) ± C 3 × M m × r a n d × Q × X i ,   f ( t ) X i ,   m ( t )
where Q is the amount of food consumed. t denotes the current number of iterations. T denotes the maximum number of iterations. Temp is the iteration temperature. Xi, m_1, Xi, m_2, Xi, m_3, and Xi, m_4 are the locations of food in the exploration phase of male snakes, food in the development phase of male snakes, combat mode in the development phase of male snakes, and mating mode in the development phase of male snakes, respectively. Xrand, m_1 is the randomly selected male population. Xbest_f is the best position for the females in this population. Am, Fm, and Mm are measured for the male’s ability to find food, the male’s ability to fight, and the male’s ability to mate.
Because the learning factors C1, C2, and C3 remain unchanged during the iteration, the algorithm may not adapt to the dynamic changes in the solution space. Hence, the delta value is introduced for the normal distribution of random tubs. This perturbation helps the SO algorithm eliminate the trap of local optimal solutions, thus enhancing its global search abilities. In addition, the literature [35] introduces a learning strategy employed within the ISO framework, which centers on acquiring knowledge from the experiences of other group members. This approach aims to mitigate the likelihood of converging on local optima. Nonetheless, the implementation of such specialized learning mechanisms not only entails a notable increase in algorithmic complexity but also exhibits diminished efficacy when adapting to the diverse phases of the optimization procedure. However, the SO algorithm can achieve an effective dynamic balance between global and local searches by dynamically adjusting these fixed learning factors C1, C2, and C3, thereby improving the performance and efficiency of the algorithm. The concrete expression of the random disturbance is shown in Equations (16) and (17). In Equation (19), alpha is used to store the parameter values for learning factors C1, C2, and C3.
d e l t a = s i g m a × r a n d n
a l p h a ( t + 1 ) = a l p h a ( t ) + d e l t a
where sigma represents the amplitude of the perturbation. It is 0.1 in this paper [36]. alpha is limited to a range between 0.01 and 1. Random function ‘randn’ represents a random value with a standard normal distribution.

2.4.3. Cosine Annealing Learning Rate

In Equations (12)–(15), the strategy for updating the individual positions is relatively simple. Without considering adjusting the strategy as an iteration progress, the SO algorithm mainly relies on the current individual’s position and velocity vector to determine the next individual’s position. This method is more likely to cause the algorithm to become stuck in a locally optimal solution. To improve the update strategy of the original SO algorithm, this study introduced a cosine learning annealing rate. This strategy simulates the dynamic adjustment of the learning rate based on the cosine function, which can dynamically adjust the speed of the position updating based on the number of iterations. In the early stages of the iteration, the learning rate can be reduced rapidly to achieve fast convergence. In the later stages of the iteration, fine adjustments are made to optimize the precision of the solution by reducing the learning rate, as shown in Figure 7. The specific expression of the cosine learning annealing rate is shown in Equation (18).
η t = η min + 1 2 ( η max η min ) × ( 1 + cos ( T c u r T max π ) )
where ηt is the current learning rate. ηmin and ηmax are the minimum and maximum values of the learning rate, which are 0.001 and 0.01 in this paper. Tcur and Tmax are the current and total iterations, respectively. Tmax is usually set to half the number of iterations of the main algorithm, which is 20 in this article [37].
By comparison with the cosine annealing learning rate, Gaussian adaptive parameters [38] are sensitive to initial conditions, prone to premature convergence, and may introduce additional computational complexity. However, the cosine annealing learning rate exhibits periodic change, which enables the SO algorithm to adopt diverse search strategies in different stages, thus enhancing the dynamic adjustment ability of the algorithm. This flexibility helps the algorithm to avoid premature convergence during the search process, thereby increasing the possibility of finding a global optimal solution. Therefore, by introducing the cosine annealing learning rate based on Equations (12)–(15), the improved Equations (19)–(22) are obtained.
X i ,   m _ 1 ( t + 1 ) = η t × X r a n d ,   m _ 1 ( t ) ± η t × C 2 × A m × ( u b l b ) × r a n d + l b  
X i ,   m _ 2 ( t + 1 ) = η t × X food ( t ) ± η t × C 3 × Temp × r a n d × X food ( t ) X i ,   m ( t )
X i ,   m _ 3 ( t + 1 ) = η t × X i ,   m _ 3 ( t ) ± η t × C 3 × F m × r a n d × Q × X b e s t ,   f X i ,   m ( t )
X i ,   m _ 3 ( t + 1 ) = η t × X i ,   m _ 3 ( t ) ± η t × C 3 × F m × r a n d × Q × X b e s t ,   f X i ,   m ( t )

2.4.4. The Bayesian Method to Find the Optimization Threshold

Bayesian optimization can be applied not only to neural network architectures based on snake algorithms to improve system performance [39], but also to optimize hyperparameter combinations in machine learning. In the process of determining threshold values of the SO algorithm, parameter setting often depends on the experience and intuition of algorithm developers or needs to be determined by practical users through practice. This approach lacks universality and requires considerable time for experimentation and adjustments. If the parameters are not selected properly, the adaptability of the algorithm may be affected. To solve the problem in which the SO algorithm has difficulty adapting parameters in the iterative process, this study introduces a hyperparameter-tuning method commonly used in machine learning, which is known as Bayesian optimization. The Gaussian process mainly includes Gaussian process regression and an acquisition function.
First, it establishes prior knowledge of the global behavior of the objective function through a Gaussian process. The mean vector and covariance matrix involved in the prior distribution are shown in Equations (23) and (24). Subsequently, using the observed objective function to obtain values at different input points, this prior knowledge is updated to form a posterior distribution. The posterior mean and variance are given by Equations (25) and (26). Then, the improved collection function is expected to consider the current best observations and the posterior distribution of the Gaussian process to determine the next evaluation point. The collection function used in this study is expected to improve equation shown in (27). In short, this method of guiding the search based on existing knowledge can avoid many useless attempts.
μ 0 = μ 0 ( x 1 ) , , μ 0 ( x k ) T
0 = 0 ( x 1 , x 1 ) 0 ( x 1 , x k ) 0 ( x k , x 1 ) 0 ( x k , x k )
We assume that the above expression follows a multi-variate normal distribution, where μ0(x) represents the mean function. ∑0(x,x’) represents the kernel function, also known as the covariance function, which describes the similarity between points x and x’ in the input space.
μ n ( x ) = μ 0 ( x ) + 0 ( x , x 1 : n ) × ( K x 1 : n , x 1 : n + σ 2 I ) 1 × ( f ( x 1 : n ) μ 0 ( x 1 : n ) )
σ n 2 ( x ) = 0 ( x , x ) 0 ( x , x 1 : n ) × ( K x 1 : n , x 1 : n + σ 2 I ) 1 × 0 ( x 1 , n : x )
E I ( x ) = E max f ( x ) f * , 0
where Kx1:n,x1:n is the kernel matrix. σ2 is the noise variance. f(x1:n) is the observed vector. f* = maxi = 1, … n is the currently observed best target value. f(xi) is the function value.
This study uses the ‘bayesopt’ function in MATLAB 2022B, which is an easy to use and flexible Bayesian optimization tool. With the help of this tool, three key threshold parameters (food threshold, temperature threshold and mating threshold) that affect the balance between exploration and development in SO algorithm are mainly optimized. The original parameter settings are 0.25, 0.6, and 0.6, respectively. Under an integrated Bayesian optimization framework, they are redefined as three adjustable variables: threshold1, threshold2, and threshold3. The construction of the parameter space is based on the original thresholds, extending ±0.2 on both sides, ensuring the validity of the parameters while avoiding the computational burden caused by an overly large search space. Considering the characteristics of the low-dimensional parameter space, a Bayesian optimization configuration with a maximum of 10 iterations is adopted in this study, which not only guarantees optimization efficiency but also effectively saves computational resources.
The method establishes a cooperative mechanism between Bayesian optimization framework based on Gaussian process and SO objective function, and realizes intelligent optimization of optimal threshold combinations through parameter search strategy guided by this model. To improve parameter generalization, K-fold cross-validation is employed for robustness assessment. This approach partitions the dataset into K subsets, analyzing performance variations across these subsets to effectively prevent overfitting and guide optimization toward parameter configurations with enhanced generalization capabilities. This safeguard mechanism not only enhances the reliability of parameter optimization but also provides theoretical support for the stable performance of the algorithm in unknown scenarios.

2.4.5. ISO Algorithm Steps

The flow chart of the ISO algorithm, which illustrates the step-by-step process, is shown in Figure 8.
The ISO algorithm is outlined in Algorithm, as shown in Table 4.

3. Results

3.1. Ability Test and Analysis for ISO

3.1.1. Parameter Settings and Simulation Results

In this study, all algorithm experiments and simulations are performed using MATLAB 2022B software platform. To verify the convergence performance and accuracy of the ISO algorithm, five heuristic algorithms—SO [40], SA [41], PSO [19], GWO [42], and WOA [43]—are added for comparison. In addition, to ensure the rigor and accuracy of the experimental results, the CEC2005 benchmark test set is selected as the objective function, as listed in Table 5. Five unimodal functions (F1F5) and three multi-modal functions (F6F8) are listed in Table 5. Through an in-depth analysis of these benchmark functions, the performance of the ISO algorithm is evaluated to a certain extent.
Before simulating the benchmark test functions for the six heuristic algorithms, a brief introduction to their main parameter settings is necessary to ensure that researchers can obtain similar experimental results when conducting simulations. To ensure the fairness of experiments, the population size (N) of all algorithms is set to 50, the maximum iteration number (Tmax) is set to 100, the dimension (Dim) is set to 30, and each algorithm is run 20 times independently. For the other key parameters within the algorithms, recommended values based on experience are used for setting, and the specific parameter values are listed in Table 6. After successfully configuring these parameters, a MATLAB script is used to start the six algorithms simultaneously. The experimental results are summarized in Table 7, and the iteration curves of the benchmark test functions are displayed in Figure 9.

3.1.2. Simulation Result Analysis

The results of the eight benchmark functions listed in Table 7 are comprehensively analyzed and compared. As shown in Figure 9a–e, it is clearly observed that when the dimension (Dim) is 30, the ISO algorithm achieves an optimal fitness value of 0 for the F1 and F3 problems in the unimodal test function. Its convergence curve can rapidly jump out and continue to decline after falling into the local optimum for a short time. This indicates that the ISO algorithm can effectively escape from a local optimal solution and successfully obtain a global optimal solution. By contrast, to a certain extent, the other five algorithms fall into the local optimum. For the F2 and F4 problems, although the average value of the ISO algorithm is not zero, the variance is zero, indicating that the algorithm can obtain a global optimal solution to some extent. Its average precision is better than that of the second ranked GWO algorithm. In addition, the convergence speed of the ISO algorithm is faster than those of the other algorithms. For the F5 problem, the performances of the ISO algorithm and the other five algorithms are similar, but its overall optimization precision is slightly higher, and the convergence curve is better, without falling into the local optimum too early. Overall, the optimization effect of the ISO algorithm on unimodal functions is significantly better than that of the other five algorithms. Further analyzing Figure 9f–h, when the dimension (Dim) is 30 in the multi-modal test functions, the SO, GWO, WOA, and ISO algorithms can achieve the global optimal value in the F6 and F7 problems with good overall performance, but the ISO algorithm has a faster iteration speed. However, the performance of the six algorithms is not outstanding in the F8 problem, but the average value and variance of the ISO algorithm are the best, with an optimization precision approximately twice that of the other algorithms. In summary, the ISO algorithm demonstrates higher optimization precision in both unimodal and multi-modal functions than the other algorithms. It also improves the avoidance of falling into the local optimum compared to the SO algorithm, showing the expected optimization effect.

3.1.3. The Friedman Test

Further analysis of the results from 20 experimental groups using the Friedman test method reveal significant differences in the overall performance of the six algorithms across eight benchmark functions. It is a flexible and effective tool that does not depend on the specific distribution of data, making it particularly suitable for comparing the algorithm performance. When dimension (Dim) is set to 30, the average ranking of the mean and variance of each algorithm is shown in Table 8. A lower average ranking indicates that the algorithm performed better, and the results are more stable. According to the data in Table 8, the ISO algorithm achieved the highest rankings in both mean value and variance. Compared with the GWO algorithm, which ranked second, the average ranking score of the ISO algorithm’s mean and variance are 38.9% higher. Combined with the SO algorithm, the ISO algorithm shows a significant improvement in the average ranking score of the mean and variance, reaching 60.8% and 63.4%, respectively. Considering the overall performance of the algorithm, the ISO algorithm exhibits better performance in terms of stability and convergence accuracy.

3.2. Time-Jerk Optimal Trajectory Planning Based on ISO

After elaborating on the ISO algorithm and the modified S-shaped speed curve in detail, a combination of the two is performed. The objective function is obtained in this study, as presented in Equation (4). Firstly, Equation (4) adopts a compromise algorithm by adjusting the values of w1 and w2 to determine the equilibrium point in the multi-objective optimization. Because the weights of time and impact are considered consistent in this study, both w1 and w2 are set to 0.5. Secondly, the time function F1 and the impact function F2 belong to different categories of physical quantities. When the weighted sum of their calculation results is taken directly, it leads to an imbalance between the time and impact. To address this issue, a minimum–maximum normalization method is employed in this study. It is typically used to eliminate the influence of dimensions among different features, making the data comparable on the same scale, as shown in Equations (28) and (29).
F 1 _ n o r m = F 1 min ( F 1 ) max ( F 1 ) min ( F 1 )
F 2 _ n o r m = F 2 min ( F 2 ) max ( F 2 ) min ( F 2 )
After the above operations, the domains of the values for F1 and F2 functions are restricted within the same range. Based on this, a set of excellent solutions is selected by solving a multi-objective function. Then, the optimal solution is identified using the Pareto optimization method. The Pareto judgment standard is as follows. If a new solution improves at least one objective without causing a performance decline in other objectives, then the new solution is considered to be superior to the original solution. When these Pareto optimal solutions are smoothly connected, a Pareto frontier is formed. Ultimately, this study aims to determine a balance point on this curve to achieve the best overall effect.
The specific parameter configuration of the simulation experiment can be found in Table 9 for the application of the ISO algorithm to the S-shaped speed curve optimization problem, and the kinematic parameters are set according to Industrial Robot ISO 9283:1998. In the simulation experiments, amax and jmax are set as independent variables and their upper bound (ub) and lower bound (lb) are between 80 and 120. In the SO algorithm, the empirical values of threshold parameters threshold1, threshold2, and threshold3 are 0.25, 0.6, and 0.6, respectively. To determine more reasonable parameter combinations, the ranges of these thresholds are unified and adjusted. The range of threshold1 is limited to 0.05 to 0.45, while the ranges of threshold2 and threshold3 are adjusted to 0.4 to 0.8. Correspondingly, the search range of the threshold parameter (Bayesian threshold) in the Bayesian optimization process is also set to 0.05 to 0.8 to facilitate determining the optimal parameter configuration. The other parameters have the same meanings as those described earlier. The Bayesian optimization threshold simulation results are shown in Table 10, which includes the iteration, the actual observed objective value of the current iteration, the best observed value among all observations (BestSoFar_observed), the model-predicted best value (BestSoFar_estimated), and the best thresholds combination obtained in this generation. However, because there are not enough data to support the construction of the first-generation model of Bayesian optimization, Objective, BestSoFar_estimated, and BestSoFar_observed are not included in the calculation. In addition, a simulation diagram of the minimum objective value and function calculation times corresponding to Bayesian optimization is shown in Figure 10, where the initial value of the first generation is replaced by number 1. For the dual-objective optimization problem considered in this study, the distribution of the Pareto frontier is generally in the form of a curve, which is intuitively shown in Figure 11.
To verify the performance of Bayesian optimization in optimizing the parameters of the objective function, a 5-fold cross-validation method was adopted in this study. The experimental results are shown in Figure 12. It can be clearly seen that the performance of this model during the 5-fold cross-validation process is relatively stable, with a small fluctuation range of the Single Scores, which fully indicates that the model has a certain fitting ability. Generally speaking, a cross-validation score within 0.2 can be regarded as excellent, and a score between 0.2 and 0.5 indicates average performance. The average score of this experiment is approximately 0.4, which indicates that the model has a certain predictive ability on this dataset as a whole, but there is still room for improvement.
According to the data provided in Table 10, Bayesian optimization is used to select the second-generation simulation results with the minimum objective function value. This selection is based on minimization of the target value during the iteration. Figure 10. clearly shows the dynamic change in the target value with the iteration, making the change process clear. Further analysis of Figure 11, the minimum values of F1 and F2, respectively, reach 5.6294 s and 115.937 mm/s. And the two minimum values are, respectively, located at the two ends of the Pareto frontier composed of the red dots. To optimize both the time and impact, an optimal advantage must be found on the Pareto frontier. A specific point is identified in Figure 11, which achieves an optimal balance between the time and impact. When amax and jmax are 78.1476 mm/s2 and 119.8756 mm/s3, the time and impact of the Pareto optimal value are 5.8028 s and 167.5427 mm/s, respectively.
Using the computed amax and jmax, these data are reintegrated into the trajectory planning of the S-shaped speed curve. Through this process, it is possible to accurately determine the partial displacement of the trajectory planning in the directions of the X-axis and Y-axis, as well as the associated combined velocities, combined accelerations, and combined accelerations, as shown in Figure 13. These figures clearly show that the planned S-shaped speed curve exhibited smooth characteristics during movement, effectively avoiding sudden changes and shocks. This is extremely important for precision operations such as wafer handling, as it helps reduce the damage that can be caused by impact.
In addition, this study meticulously records the key parameters, particularly the joint angles, during the S-shaped speed curve movement. Two sets of joint angles consisting of several interpolation points are substituted into the forward kinematics formula, as shown in Equation (30). X and Y represent the coordinate values in the Cartesian coordinate system, respectively.
X = l i n k 1 × cos θ 1 + l i n k 2 × cos θ 1 + cos θ 2 Y = l i n k 1 × sin θ 1 + l i n k 2 × sin θ 1 + sin θ 2
The actual motion trajectory depicted in the planar space is shown in Figure 14. By comparing Figure 4 and Figure 14, the high consistency of the two trajectories can be clearly verified. This comparison clearly validates the accuracy and reliability of the ISO. This planning method not only elevates the accuracy of trajectory planning, but also ensures the safety and reliability of the motion.

4. Conclusions

This study proposes an improved snake optimization (ISO) algorithm. Meanwhile, a single-segment start–stop S-shaped speed curve with arc transition is constructed based on ISO, which is a method specifically designed for the rapid and stable operation requirements of the wafer-handling robotic arm. This method extensively investigates and optimizes on the key issues of time and impact within the context of robotic arm trajectory planning. Through a comparative analysis with the original S-shaped speed curve scheme under the same parameter settings, the new method improves the time efficiency by 24.1%, thereby significantly reducing the time required for the robotic arm to complete the task. Furthermore, the performance of the ISO is compared with that of SO, SA, PSO, GWO, and WOA on a series of benchmark test functions. The results indicate that, in terms of the two key performance indicators, average value and variance, the ISO algorithm outperforms the second ranked GWO algorithm by a margin of 38.9%. These improved simulations fully demonstrate the effectiveness and superiority of the proposed method in addressing the trajectory planning problem for wafer-handling robotic arms.
In this study, the shortcomings of the SO algorithm have been extensively studied and improved. While the proposed enhancements improve global search capabilities, the risk of local optima convergence persists. Additionally, although Bayesian optimization improves the search efficiency, it consumes more computer resources. Therefore, future research will prioritize refining the search mechanism to address these limitations of the SO algorithm. Simultaneously, we plan to explore the combination of Bayesian optimization and bandit-based methods, aiming to reduce computational costs while improving the optimization efficiency.

Author Contributions

Conceptualization, Y.J. and J.Y.; methodology, J.Y.; software, J.Y.; validation, J.Y.; formal analysis, J.Y.; investigation, Y.J. and J.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Basic Scientific Research Project of Higher Education Institutions of Liaoning Province (grant number JYTQN2023064).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable. No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Pu, Q.C.; Xu, X.R.; Li, Q.Q.; Zhang, H. Robotic Arm Time-Jerk Optimal Trajectory Based on Improved Dingo Optimization. J. Braz. Soc. Mech. Sci. Eng. 2024, 46, 198. [Google Scholar] [CrossRef]
  2. Zhang, S.B.; Xia, Q.X.; Chen, M.X.; Cheng, S.Z. Multi-Objective Optimal Trajectory Planning for Robotic Arms Using Deep Reinforcement Learning. Sensors 2023, 23, 5974. [Google Scholar] [CrossRef] [PubMed]
  3. Ye, J.T.; Hao, L.N.; Cheng, H.T. Multi-Objective Optimal Trajectory Planning for Robot Manipulator Attention to End-Effector Path Limitation. Robotica 2024, 42, 1761–1780. [Google Scholar] [CrossRef]
  4. Lu, Z.K.; You, Z.C.; Xia, B.H. Time Optimal Trajectory Planning of Robotic Arm Based on Improved Sand Cat Swarm Optimization Algorithm. Appl. Intell. 2025, 55, 323. [Google Scholar] [CrossRef]
  5. Shrivastava, A.; Dalla, V.K. Strategy of Smooth Motion Planning of Multi-Axes Space Manipulator Avoiding Dynamic Singularity in Cartesian Space. J. Braz. Soc. Mech. Sci. Eng. 2022, 44, 278. [Google Scholar] [CrossRef]
  6. Tagliavini, A.; Bianco, C.G. A Smooth Orientation Planner for Trajectories in the Cartesian Space. IEEE Rob. Autom. Lett. 2023, 8, 2606–2613. [Google Scholar] [CrossRef]
  7. Lin, J.J.; Rickert, M.; Knoll, A. Parameterizable and Jerk-Limited Trajectories with Blending for Robot Motion Planning and Spherical Cartesian Waypoints. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China, 30 May–5 June 2021; pp. 13982–13988. [Google Scholar]
  8. Xiao, P.F.; Ju, H.H.; Li, Q.D. Point-to-point Trajectory Planning for Space Robots Based on Jerk Constraints. Rev. Sci. Instrum. 2021, 92, 09450. [Google Scholar] [CrossRef]
  9. Zhang, C.; Zhang, Z. Research on Joint Space Trajectory Planning of SCARA Robot Based on SimMechanics. In Proceedings of the 2019 Electronic and Automation Control Conference (ITNEC), Chongqing, China, 15–17 March 2019; pp. 1446–1450. [Google Scholar]
  10. Luo, L.; Guo, T.B.; Cui, K.K.; Zhang, Q. Trajectory Planning in Robot Joint Space Based on Improved Quantum Particle Swarm Optimization Algorithm. Appl. Sci. 2023, 13, 7031. [Google Scholar] [CrossRef]
  11. Wu, G.L.; Zhang, N. Kinematically Constrained Jerk-Continuous S-Curve Trajectory Planning in Joint Space for Industrial Robots. Electronics 2023, 12, 1135. [Google Scholar] [CrossRef]
  12. Hu, Y.H.; Zhang, S.L.; Chen, Y.H. Trajectory Planning Method of 6-DOF Modular Manipulator Based on Polynomial Interpolation. J. Comput. Methods Sci. 2023, 23, 1589–1600. [Google Scholar] [CrossRef]
  13. Chen, G.R.; Ma, M.; Guo, S.; Hou, B.W.; Wang, J.Z. An Easy-implemented Optimization Method of Trajectory Planning Based on Polynomial Interpolation. In Proceedings of the 2021 40th Chinese Control Conference (CCC), Shanghai, China, 26–28 July 2021; pp. 2802–2807. [Google Scholar]
  14. Shrivastava, A.; Dalla, V.K. Multi-Segment Trajectory Tracking of the Redundant Space Robot for Smooth Motion Planning Based on Interpolation of Linear Polynomials with Parabolic Blend. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2022, 236, 9255–9269. [Google Scholar] [CrossRef]
  15. Cong, Y.Z.; Jiang, C.R.; Liu, H.; Du, H.B.; Gan, Y.H.; Jiang, C.H. Research on Trajectory Planning Method of Dual-Arm Robot Based on ROS. In Proceedings of the 2020 Chinese Automation Congress (CAC), Xi’an, China, 6–8 November 2020; pp. 2616–2621. [Google Scholar]
  16. Ayazbay, A.A.; Gani, B.; Sandugash, O.; Konrad, G.; Algazy, Z. Trajectory Planning, Kinematics, and Experimental Validation of a 3D-Printed Delta Robot Manipulator. Mech. Eng. Robot. Res. 2024, 13, 113–125. [Google Scholar] [CrossRef]
  17. Wang, G.R.; Xu, F.; Zhou, Z.K.; Pang, Z.H. S-Velocity Profile of Industrial Robot Based on NURBS Curve and Slerp Interpolation. Processes 2022, 10, 2195. [Google Scholar] [CrossRef]
  18. Patle, B.K.; Chen, S.L.; Singh, A.; Kashyap, S.K. Optimal Trajectory Planning of the Industrial Robot Using Hybrid S-Curve-PSO Approach. Rob. Intell. Autom. 2023, 43, 153–174. [Google Scholar] [CrossRef]
  19. Wu, N.K.; Jia, D.Y.; Li, Z.Q.; He, Z.H. Trajectory Planning of Robotic Arm Based on Particle Swarm Optimization Algorithm. Appl. Sci. 2024, 14, 8234. [Google Scholar] [CrossRef]
  20. Du, Y.X.; Chen, Y.H. Time Optimal Trajectory Planning Algorithm for Robotic Manipulator Based on Locally Chaotic Particle Swarm Optimization. Chin. J. Electron. 2022, 31, 906–914. [Google Scholar] [CrossRef]
  21. Luo, L.; Guo, T.B.; Zhang, Q. Optimal Trajectory Planning for Robotic Arm Based on Improved Dynamic Multi-Population Particle Swarm Optimization Algorithm. Int. J. Adv. Comput. Sci. Appl. 2024, 15, 710–718. [Google Scholar]
  22. Zhong, F.F.; Liu, G.P.; Lu, Z.Y.; Hu, L.Y.; Han, Y.Y.; Xiao, Y.S.; Zhang, X.R. Dynamic Parameter Identification Based on Improved Particle Swarm Optimization and Comprehensive Excitation Trajectory for 6R Robotic Arm. Ind. Robot 2024, 51, 148–166. [Google Scholar] [CrossRef]
  23. Liang, B.Q.; Lin, X.Z.; Liu, G.H.; Lei, J. Trajectory Analysis and Optimization of Sea Buckthorn Fruit Vibration Separation Manipulator Based on IPSO Algorithm. Sci. Rep. 2023, 13, 20124. [Google Scholar] [CrossRef]
  24. Lu, Z.G.; Wang, X. Mechanical Arm Trajectory Planning Based on B-Spline and Whale Optimization Algorithm. J. Northeast. Univ. 2024, 45, 683–689. [Google Scholar]
  25. Qie, X.H.; Kang, C.F.; Zong, S.C.; Chen, S.J. Trajectory Planning and Simulation Study of Redundant Robotic Arm for Upper Limb Rehabilitation Based on Back Propagation Neural Network and Genetic Algorithm. Sensors 2022, 22, 4071. [Google Scholar] [CrossRef] [PubMed]
  26. Li, W.; Zhao, J.B.; Wang, J.Z. An Improved Snake Optimization Algorithm and Its Application in Manipulator Trajectory Planning. In Proceedings of the 2023 35th Chinese Control and Decision Conference (CCDC), Yichang, China, 20–22 May 2023; pp. 4306–4313. [Google Scholar]
  27. Lu, S.Y.; He, Q.; Wang, Y.M.; Li, Y.B. Enhanced Snake Optimization Algorithm for Mobile Robot Path Planning. Trans. Microsyst. Technol. 2023, 42, 127–133. [Google Scholar]
  28. Liang, X.M.; Shi, L.Y.; Long, W. Improved Snake Optimization Algorithm for Solving Constrained Optimization Problems. Comput. Eng. Appl. 2024, 60, 76–87. [Google Scholar]
  29. Li, Q.L.; Ma, Q.H.; Weng, X. Dynamic Path Planning for Mobile Robots Based on Artificial Potential Field Enhanced Improved Multiobjective Snake Optimization. J. Field Rob. 2024, 41, 1843–1863. [Google Scholar] [CrossRef]
  30. Jin, R.Y.; Rocco, P.; Geng, Y.H. Cartesian Trajectory Planning of Space Robots Using a Multi-Objective Optimization. Aerosp. Sci. Technol. 2021, 108, 106360. [Google Scholar] [CrossRef]
  31. Zhang, X.C.; Chao, Y.S.; Li, C.Y.; Zhou, J.L. Multi-Objective Trajectory Planning for Industrial Robots Based on Machine Learning. Mod. Manuf. Eng. 2024, 2, 31–37. [Google Scholar]
  32. Zhu, H.L.; Xiao, W.B.; Zhou, H.; Li, X.R. Parameter Extraction of Photovoltaic Cells Based on Chaotic Adaptive Weight Improved Snake Optimization Algorithm. Laser Optoelectron. Process 2024, 61, 1525002. [Google Scholar]
  33. Fu, H.; Shi, H.F.; Xu, Y.S.; Shao, J.Y. Research on Gas Outburst Prediction Model Based on Multiple Strategy Fusion Improved Snake Optimization Algorithm with Temporal Convolutional Network. IEEE Access 2022, 10, 117973–117984. [Google Scholar] [CrossRef]
  34. Liu, J.; Deng, Y.H.; Liu, Y.L.; Chen, L.L.; Hu, Z.Z.; Wei, P.Y.; Li, Z.B. A Logistic-tent Chaotic Mapping Levenberg Marquardt Algorithm for Improving Positioning Accuracy of Grinding Robot. Sci. Rep. 2024, 14, 9649. [Google Scholar] [CrossRef]
  35. Zheng, W.D.; Ai, Y.B.; Zhang, W.D. Improved Snake Optimizer Using Sobol Sequential Nonlinear Factors and Different Learning Strategies and Its Applications. Mathematics 2024, 12, 1708. [Google Scholar] [CrossRef]
  36. Huang, Y.; Liang, F.C.; Fan, C.L.; Song, Z.F. Improved Particle Swarm Optimization Algorithm with Random Mutation and Perception. J. Northwest. Polytech. Univ. 2023, 41, 428–438. [Google Scholar] [CrossRef]
  37. Zhang, C.; Shao, Y.C.; Sun, H.J.; Xing, L.; Zhao, Q.; Song, Z.F. The WuC-Adam Algorithm Based on Joint Improvement of Warmup and Cosine Annealing Algorithms. Math Biosci. Eng. 2024, 21, 1270–1285. [Google Scholar] [CrossRef]
  38. Liu, X.; Tian, M.; Zhou, J.; Liang, J.Y. An Efficient Coverage Method for SEMWSNs Based on Adaptive Chaotic Gaussian Variant Snake Optimization Algorithm. Math. Biosci. Eng. 2023, 20, 3191–3215. [Google Scholar] [CrossRef] [PubMed]
  39. Shan, Q.Y.; Jin, H.W.; Jie, C. Gearbox Fault Diagnosis Method Based on PSM-BN. IEEE Access 2024, 12, 39876–39886. [Google Scholar] [CrossRef]
  40. Hashim, F.A.; Hussien, A.G. Snake Optimizer: A Novel Meta-Heuristic Optimization Algorithm. Knowl. Based Syst. 2022, 242, 108320. [Google Scholar] [CrossRef]
  41. Shi, W.J.; He, Z.; Tang, W.; Liu, W.F.; Ma, Z.Y. Path Planning of Multi-Robot Systems with Boolean Specifications Based on Simulated Annealing. IEEE Rob. Autom. Lett. 2022, 7, 6091–6098. [Google Scholar] [CrossRef]
  42. Zhao, Y.T.; Gan, L.; Li, W.G.; Liu, A. Path Planning of Spot Welding Robot Based on Multi-Objective Grey Wolf Algorithm. J. Intell. Fuzzy Syst. 2021, 41, 6181–6189. [Google Scholar] [CrossRef]
  43. Gharehchopogh, F.S.; Gholizadeh, H.A. A Comprehensive Survey: Whale Optimization Algorithm and Its Applications. Swarm Evol. Comput. 2019, 48, 1–24. [Google Scholar] [CrossRef]
Figure 1. Simplified model of the wafer-handling robotic arm.
Figure 1. Simplified model of the wafer-handling robotic arm.
Sensors 25 01872 g001
Figure 2. Wafer−handling robotic arm in MATLAB.
Figure 2. Wafer−handling robotic arm in MATLAB.
Sensors 25 01872 g002
Figure 3. Correlation chart between the T-shaped and S-shaped speed curves.
Figure 3. Correlation chart between the T-shaped and S-shaped speed curves.
Sensors 25 01872 g003
Figure 4. Contrast diagram of arc transition and right-angle path.
Figure 4. Contrast diagram of arc transition and right-angle path.
Sensors 25 01872 g004
Figure 5. The continuous start–stop S-shaped speed curve.
Figure 5. The continuous start–stop S-shaped speed curve.
Sensors 25 01872 g005
Figure 6. The improved start–stop S-shaped speed curve.
Figure 6. The improved start–stop S-shaped speed curve.
Sensors 25 01872 g006
Figure 7. Cosine annealing learning rate iteration graph.
Figure 7. Cosine annealing learning rate iteration graph.
Sensors 25 01872 g007
Figure 8. The flow chart of the improved snake optimization algorithm.
Figure 8. The flow chart of the improved snake optimization algorithm.
Sensors 25 01872 g008
Figure 9. Convergence curve of the reference function: (a) F1; (b) F2; (c) F3; (d) F4; (e) F5; (f) F6; (g) F7; (h) F8.
Figure 9. Convergence curve of the reference function: (a) F1; (b) F2; (c) F3; (d) F4; (e) F5; (f) F6; (g) F7; (h) F8.
Sensors 25 01872 g009aSensors 25 01872 g009b
Figure 10. Function count.
Figure 10. Function count.
Sensors 25 01872 g010
Figure 11. Pareto frontier.
Figure 11. Pareto frontier.
Sensors 25 01872 g011
Figure 12. K-Fold Cross Validation Performance (K = 5).
Figure 12. K-Fold Cross Validation Performance (K = 5).
Sensors 25 01872 g012
Figure 13. Kinematic image: (a) Displacement curve in Cartesian space; (b) speed curve in Cartesian space; (c) acceleration curve in Cartesian space; (d) jerk curve in Cartesian space.
Figure 13. Kinematic image: (a) Displacement curve in Cartesian space; (b) speed curve in Cartesian space; (c) acceleration curve in Cartesian space; (d) jerk curve in Cartesian space.
Sensors 25 01872 g013
Figure 14. Motion trajectories in a two−dimensional plane.
Figure 14. Motion trajectories in a two−dimensional plane.
Sensors 25 01872 g014
Table 1. Linkage parameters of the 3R robotic arm.
Table 1. Linkage parameters of the 3R robotic arm.
Linkiai/mmαi/(°)di/mmθi (/°)Range of θi/(°)
1004000−120–120
20238.400−120–120
30238.400−120–120
Table 2. Segmentation points in Cartesian space.
Table 2. Segmentation points in Cartesian space.
Starting PointIntermediate PointEnding Point
(400, 0, 400)(200, 0, 400)(200, 200, 400)
Table 3. The main motion parameters of the S-shaped speed curve.
Table 3. The main motion parameters of the S-shaped speed curve.
v_ p0
(mm/s)
v_ p1
(mm/s)
v_ p2
(mm/s)
vmax
(mm/s)
amax
(mm/s2)
jmax
(mm/s3)
r
(mm)
0100010010010030
Table 4. ISO pseudo-code.
Table 4. ISO pseudo-code.
1: Initialize parameters
2: Initialize the population using the Tent Chaotic Map as Equation (13)
3: Divide population into Nm and Nf using Equations (10) and (11)
4: while (T < Tmax) do
5: Evaluate the fitness and identify the best female and male
6: Calculate the iteration temperature and food quantity Equation (14)
7: if (Food < threshold1) then
8:     Cosine annealing exploration using Equation (15)
9:   else if (Temp > threshold2) then
10:     Cosine annealing exploration using Equation (16)
11:   else
12:   if (rand < threshold3) then
13:     Enter Fight Mode using Equation (17)
14:   else
15:     Enter Mating Mode using Equation (18)
16:     Replace the worst-performing female and male
17:   end if
18: end if
19: end while
20: Return the optimal solution
Table 5. Test functions.
Table 5. Test functions.
FunctionRangeMin
F 1 ( x ) = i = 1 n x i 2 [−100,100]0
F 2 ( x ) = i = 1 n x i + i = 1 n x i [−10,10]0
F 3 ( x ) = i = 1 n j = 1 i x j 2 [−100,100]0
F 4 ( x ) = max i x i , 1 i n [−100,100]0
F 5 ( x ) = i = 1 n i x i 4 + r a n d m [ 0 , 1 ) [−128,128]0
F 6 ( x ) = i = 1 n ( x i 2 10 cos ( 2 π x i ) + 10 ) [−5.12,5.12]0
F 7 ( x ) = 1 4000 i = 1 d x i 2 i = 1 d cos ( x i i ) + 1 [−600,600]0
F 8 ( x ) = 0.1 sin 2 ( 3 π x 1 ) + i = 1 n ( x i 1 ) 2 1 + sin 2 ( 3 π x i + 1 ) + ( x n 1 ) 2 1 + sin 2 ( 2 π x n ) + i = 1 n u ( x i , 5 , 100 , 4 ) , u ( x i , a , k , m ) = k ( x i a ) m , x i > a   0 ,   a > x i > a k ( x i a ) m , x i < a [−50,50]0
Table 6. Parameter settings for the algorithms.
Table 6. Parameter settings for the algorithms.
AlgorithmParameter Settings
SOTheshold1 = 0.25, Theshold2 = 0.6, Theshold3 = 0.6, C1 = 0.5, C2 = 0.05, C3 = 2
SATemp = 100, Tempmin = 0.01, alpha = 0.95
PSOw = 0.9, c1 = 2, c2 = 2, Vmax = 0.3 ∗ ub, Vmin = 0.3 ∗ lb
GWOr1 = r2 = rand
WOAr1 = r2 = rand, p = rand, b = 1
ISOsigma = 0.1, alphamin = 0.01, alphamax = 1.0, etamax = 0.01, etamin = 0.001
Table 7. Results obtained by different algorithms (D = 30).
Table 7. Results obtained by different algorithms (D = 30).
FunctionSOSAPSOGWOWOAISO
F1MEAN8.27 × 10−407.30 × 10−23.04 × 10−126.24 × 10−1058.40 × 10−790
STD2.51 × 10−392.27 × 10−16.51 × 10−122.79 × 10−1042.10 × 10−780
F2MEAN3.95 × 10−214.26 × 10−21.38 × 10−78.55 × 10−572.95 × 10−409.14 × 10−214
STD5.26 × 10−212.87 × 10−22.22 × 10−73.13 × 10−567.95 × 10−400
F3MEAN2.16 × 10−393.85 × 10−26.47 × 10−126.66 × 10−1072.18 × 10−790
STD7.04 × 10−398.37 × 10−22.16 × 10−112.98 × 10−1066.74 × 10−790
F4MEAN2.01 × 10−201.34 × 10−11.38 × 10−61.27 × 10−538.56 × 10−402.27 × 10−213
STD3.54 × 10−209.71 × 10−22.36 × 10−63.93 × 10−532.64 × 10−390
F5MEAN7.01 × 10−46.64 × 10−11.77 × 10−35.21 × 10−47.33 × 10−41.75 × 10−4
STD7.23 × 10−48.91 × 10−11.26 × 10−35.08 × 10−47.05 × 10−42.72 × 10−4
F6MEAN01.79 × 10−22.39 × 10−12000
STD03.42 × 10−23.35 × 10−12000
F7MEAN01.67 × 10−26.15 × 10−12000
STD03.42 × 10−23.35 × 10−12000
F8MEAN1.74 × 1011.10 × 1094.41 × 1011.24 × 1008.13 × 10−12.06 × 10−1
STD3.32 × 1011.35 × 1082.59 × 1014.26 × 10−13.08 × 10−12.03 × 10−1
Table 8. The Friedman test table.
Table 8. The Friedman test table.
AlgorithmSOSAPSOGWOWOAISO
Mean rank3.5652.252.8751.375
STD rank3.7564.8752.252.751.375
Table 9. The main parameter setting.
Table 9. The main parameter setting.
v_ p0
(mm/s)
v_ p1
(mm/s)
v_ p2
(mm/s)
vmax
(mm/s)
r1
(mm)
Bayesian EvaluationsBayesian ThresholdTmaxDimNlbub
010001003010[0.05,0.8]100220[80,120][80,120]
Table 10. The iterative graph of Bayesian thresholds.
Table 10. The iterative graph of Bayesian thresholds.
IterationObjectiveBestSoFar (Observed)BestSoFar (Estimated)Threshold1Threshold2Threshold3
10.42270.76160.5225
20.39360.39360.42550.09890.77640.5705
30.39520.39360.39360.17210.72100.7933
40.39690.39360.39320.07520.49680.5437
50.39530.39360.39420.14030.60570.7633
60.39910.39360.39460.05000.57640.5441
70.39570.39360.39490.14850.52780.4003
80.39690.39360.39510.11130.74250.4637
90.39550.39360.39510.15920.71060.7313
100.39790.39360.39580.15870.68330.6341
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

Ji, Y.; Yu, J. Time-Impact Optimal Trajectory Planning for Wafer-Handling Robotic Arms Based on the Improved Snake Optimization Algorithm. Sensors 2025, 25, 1872. https://doi.org/10.3390/s25061872

AMA Style

Ji Y, Yu J. Time-Impact Optimal Trajectory Planning for Wafer-Handling Robotic Arms Based on the Improved Snake Optimization Algorithm. Sensors. 2025; 25(6):1872. https://doi.org/10.3390/s25061872

Chicago/Turabian Style

Ji, Yujie, and Jiale Yu. 2025. "Time-Impact Optimal Trajectory Planning for Wafer-Handling Robotic Arms Based on the Improved Snake Optimization Algorithm" Sensors 25, no. 6: 1872. https://doi.org/10.3390/s25061872

APA Style

Ji, Y., & Yu, J. (2025). Time-Impact Optimal Trajectory Planning for Wafer-Handling Robotic Arms Based on the Improved Snake Optimization Algorithm. Sensors, 25(6), 1872. https://doi.org/10.3390/s25061872

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