Ilias Chouridis1, Gabriel Mansour2*, Vasileios Papageorgiou2, Michel Theodor Mansour2 and Apostolos Tsagaris1
1Department of Industrial Engineering and Management, International Hellenic University, Greece
2Department of Mechanical Engineering, Aristotle University of Thessaloniki, Greece
*Corresponding author: Gabriel Mansour, Department of Mechanical Engineering, Aristotle University of Thessaloniki, Greece
Submission: September 18, 2025;Published: November 04, 2025
ISSN:2832-4463 Volume5 Issue1
Mechanisms have a leading role in automation. Path planning algorithms are particularly important for their trajectory planning. They can ensure that the mechanism’s end effector can travel from one location to another without collision with obstacles. Finding the optimal path for planar mechanisms was achieved by utilizing the artificial fish swarm algorithm. The generated 2D path was implemented in the real world using an industrial robotic arm.
Keywords:Artificial intelligence; Path planning; Mechanisms; Planar mechanisms; Artificial fish swarm algorithm; Industrial robotic arm; 2D path planning
Mechanical mechanisms are the foundation of modern machinery providing the framework through which theoretical principles of mechanics are transformed into practical applications. They are designed to transform input energy into precisely controlled movement of mechanical parts. The evolution of kinematic design, actuators, motors and the control methodologies of mechanisms led to the appearance of modern robotics [1]. The mechanism can be classified in two main categories the planar and spatial mechanisms. Their distinguished performance is based on the relative motion of their rigid bodies [2,3]. The motion of the bodies of planar mechanisms takes place in the same or parallel planes. If their relative motion is performed in a different plane, the mechanism is characterized as spatial [4]. As a result, the movement of the end effectors of planar mechanisms is performed in the 2D space while in spatial mechanisms it is executed in 3D. The kinematic analysis of a mechanism determines its operational behavior. Kinematic analysis examines the motion of the mechanism’s components by analyzing the effect of their position, velocity, and acceleration. The area where the mechanism’s end effector can move without encountering any constraints from its mechanical configuration is called the mechanism’s workspace [5]. The mechanism’s workspace is crucial for securing the feasibility of the desired motions, the trajectory designing and the application field of the mechanism. Path planning algorithms try to find the shortest collision free path that can connect a starting to an ending point region. In the application of path planning algorithms to mechanisms, it is necessary for the generated path to comply with mechanisms capabilities. As a result, the path generation of a planar mechanism requires 2D path planning. Researchers have proposed several algorithms for generating 2D paths [6-9], 3D [10-12] and 4D [13-16]. Path planning algorithms generate a series of coordinates within the workspace of the mechanisms. The procedure of approaching these coordinates from the mechanism’s end effector is by the kinematic model of every mechanism. In industrial robotic arms with 6 degrees of freedom is determined by the Denavit-Hartenberg (DH) notation [17]. The numerical values of the joint angles for approaching the desired coordinates are determined by solving the inverse kinematics problem [18,19].
The grid method is utilized for simulating virtually the real world and solving the path planning problem. The grid method consists of many elementary units with the same dimensions. Each elementary unit is represented by a discrete point in its center. The discrete point can be considered as free or as an obstacle. The free discrete point permits the robot to move on it, whereas the obstacle prohibits its movement in this region. By prohibiting movement, the obstacles encountered within the mechanism’s operating space are digitally simulated. The procedure of path finding is performed within the grid environment; as a result, the inaccurate representation of the real world in the grid environment can lead to paths that cannot be applied to the real-world conditions. The grid environment can represent a section of the workspace or embrace some regions that are not contained in the workspace. The Artificial Fish Swarm Algorithm (AFSA) described in [20] was utilized for solving the 2D path planning. The methodology of multiple laser activation described in [21] was also integrated into the algorithm. The methodologies of simple and advanced elimination, heatmap creation, heatmap random activation and the objective functions were used as described in [20].
The presented AFSA utilizes an expanded navigation model for the artificial fish in the grid environment. Specifically, the 24 possible movement points model is employed. The navigation model determines the set of possible movement points that the artificial fish can move from its current position during the process of the next point selection. The majority of path-planning algorithms in grid environments utilize the 8 possible movement point navigation model. The 24 possible movement point model enables transitions to 24 different positions and 16 directions, while the 8 possible movement point model permits movement to 8 positions along 8 directions. The additional directions provided by the 24 possible movement point model possible movement point model. The incorporation of the multiple laser activation method into the presented AFSA mitigates a fundamental limitation of standard AFSAs, namely the absence of a memory mechanism. The absence of a memory mechanism in the path-planning process hinders the identification of the optimal path, as it prevents the correction of errors within the generated path.
Figure 1:(a) General configuration experimental set up, (b)-(d) Robot position during path implementation (e) Resulting path using AFSA, (f) Resulting path using ACO [11].

The 2D algorithm was employed for creating paths without collision for an industrial robotic arm with 6 degrees of freedom. The robotic arm operated only in 2 dimensions, its capability to move to the third dimension remained unexploited for experimental purposes. The planar motion of the robot’s end effector is executed within the X-Y plane, while the Z-coordinate is maintained at a constant, predetermined value. Furthermore, the orientation of the robot’s end effector is maintained unchanged throughout the operation. The inverse kinematics of the six-degree-of-freedom industrial robotic arm are determined in accordance with the methodology described in [22]. The Kawasaki RS010N industrial robotic arm was utilized for experiments. The parameter set is the same as [20]. Figure 1a shows the configuration where the experiments are conducted. Figure 1b-1d show the position of the robots end effector during the path prosecution. Figure 1e shows the optimal path created by the algorithm. The grid environment contains 60 discrete points. The environment’s density is considered as thin. The shape of the contained obstacles is rectangular and can be perfectly simulated from the grid’s elementary units. A thin grid environment simulates the workspace less accurately than a dense one because of the larger size of the elementary units. An advantage of a thin environment is the reduced computational requirements relative to the dense environments. In the examined case the utilization of a thin grid does not affect the quality of the solution because the shape and dimension of the obstacles do not lead to their oversized representation, resulting in savings in computational resources.
Figure 1f depicts the resulting path using the Ant Colony Optimization (ACO) method in [11]. The path length obtained using the AFSA algorithm is 843.42mm, whereas the path length derived from the ACO algorithm is 862.99mm. The path length generated by AFSA is 2.26% shorter compared to that obtained using ACO. The principal difference between the two methods is that the AFSA produced a path containing 6 nodes, whereas the ACO developed a path consisting of 10 nodes, indicating that AFSA generated a path comprising 40% fewer nodes. The computation time required by AFSA was 9,5 seconds, whereas ACO required 34,6 seconds (Figure 1).
The effective navigation of the end effector of planar mechanisms is vital in performing complex operations. The AFSA successfully found the shortest collision free path in a 2D environment with obstacles. The generated 2D path was applied in a real-world experiment and performed from an industrial robotic arm. The successful performance of the created path from a mechanism with complex kinematics such as the robotic arms indicates that the path can also be used for trajectory optimization cases in planar mechanisms. The created path specifies the coordinates within the mechanism’s workspace; however, the trajectory design depends on the kinematic model of the implemented mechanism. In cases where obstacles can be accurately represented by the elementary units of the grid environment, the thin density of the environment leads to qualitative solutions with low computational cost. The geometry and dimensions of obstacles are critical factors in establishing the appropriate grid resolution for path planning. Specifically, larger or more complexly shaped obstacles may require a denser grid to accurately capture their boundaries and avoid collisions. Obstacles that incorporate curved surfaces or irregular contours necessitate a higher grid resolution to ensure accurate representation within the environment. The choice of grid density directly impacts both the precision of the path and the computational resources required. A carefully balanced grid resolution ensures that the environment is modeled accurately enough to generate feasible paths while maintaining computational efficiency, particularly in scenarios involving intricate obstacle configurations or tight navigation constraints. The proposed technique may be adapted for more intricate environments, in both two-dimensional and threedimensional contexts, as well as for dynamic circumstances. In a 3D context, the algorithm would need to include vertical movement and avoid obstacles of varying heights and volumes. In dynamic environments, where obstacles may shift or the surroundings may evolve over time, the planner must incorporate real-time sensing and predictive mechanisms to enable on-the-fly path adaptation. These enhancements would enable the method to handle more elaborated scenarios commonly encountered in areas such as industrial automation, autonomous navigation, and aerial robotics.
© 2025 Gabriel Mansour. This is an open access article distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and build upon your work non-commercially.
a Creative Commons Attribution 4.0 International License. Based on a work at www.crimsonpublishers.com.
Best viewed in