ArticlePublisher preview available

An improved sparrow search based intelligent navigational algorithm for local path planning of mobile robot

Authors:
To read the full-text of this research, you can request a copy directly from the authors.

Abstract and Figures

In this paper, an improved sparrow search algorithm (SSA) for local path planning problem of mobile robot in an unknown environment is presented. The problems of premature convergence and decline of population diversity of basic SSA are solved by the inspiration of fitness-distance balance (FDB) selection and Harris Hawks Algorithm. A hybrid fitness function is formulated considering both path length and path safety, which enables the mobile robot to move to the target location safely. The effectiveness and superiority of the proposed improved SSA (ISSA) is verified in CEC 2017 suite for comparison experiments with multiple intelligent optimization algorithms. Local path planning simulation experiments are implemented using the proposed algorithm in the unknown environment and compared with other algorithms, and the results show that our algorithm is effective and robust in solving local path planning problem of mobile robots.
This content is subject to copyright. Terms and conditions apply.
Vol.:(0123456789)
1 3
Journal of Ambient Intelligence and Humanized Computing (2023) 14:14111–14123
https://doi.org/10.1007/s12652-022-04115-1
ORIGINAL RESEARCH
An improved sparrow search based intelligent navigational algorithm
forlocal path planning ofmobile robot
GuangjianZhang1· EnhaoZhang1
Received: 12 November 2021 / Accepted: 6 June 2022 / Published online: 24 June 2022
© The Author(s), under exclusive licence to Springer-Verlag GmbH Germany, part of Springer Nature 2022
Abstract
In this paper, an improved sparrow search algorithm (SSA) for local path planning problem of mobile robot in an unknown
environment is presented. The problems of premature convergence and decline of population diversity of basic SSA are
solved by the inspiration of fitness-distance balance (FDB) selection and Harris Hawks Algorithm. A hybrid fitness function
is formulated considering both path length and path safety, which enables the mobile robot to move to the target location
safely. The effectiveness and superiority of the proposed improved SSA (ISSA) is verified in CEC 2017 suite for comparison
experiments with multiple intelligent optimization algorithms. Local path planning simulation experiments are implemented
using the proposed algorithm in the unknown environment and compared with other algorithms, and the results show that
our algorithm is effective and robust in solving local path planning problem of mobile robots.
Keywords Local path planning· Sparrow search algorithm· Swarm intelligence algorithm· Mobile robot
1 Introduction
Mobile robot is an intelligent autonomous system with
wide applications in industrial, medical, military, and
aerospace fields. Path planning is one of the significant
and challenging tasks in mobile robotics. The path plan-
ning problem can be divided into global path planning and
local path planning according to the level of knowledge
of map information. Global path planning means that the
robot has sufficient information about the environment
before planning the path, and when the robot is not aware
of the obstacle information in the environment is called
local path planning. Therefore, the correct path planning
method is necessary to ensure that the robot completes its
task successfully.
Path planning refers to the navigation of a mobile robot
to a target location while satisfying certain constraints (e.g.,
path length, path smoothness, path safety, etc.). There are
many related studies on path planning methods for mobile
robots (Sood and Panchal 2020; Patle etal 2019; Zhang etal
2018), however, classical methods require clear information
about the environment and are computationally overloaded.
Researchers have therefore turned to algorithms of com-
putational intelligence applied to path planning problems.
Xu etal (2020) proposed an artificial bee colony algorithm
introducing a co-evolutionary framework for path planning
of mobile robots, which improves the convergence speed
and avoids dimensionality dependence. Zhao etal (2020)
proposed a co-optimization of a multi-objective Cauchy
mutation cat colony optimization and an artificial potential
field method to solve the path planning problem of an intel-
ligent patrol car navigation system. Song etal (2021) solved
the problem of local optimum and premature convergence
by an improved PSO algorithm that combines continuous
high-degree Bezier curves to plan the smooth path of the
robot.
However, due to the NFL principle (Wolpert and Mac-
ready 1997), each intelligent optimization algorithm has its
advantages and disadvantages, and no particular algorithm
is superior for all types of problems. Therefore, it is neces-
sary to develop new intelligent optimization algorithms to
be applied to path planning problems. Further, the study of
local path planning problems in uncertain environments is
very limited. The global path planning approach cannot be
used when the robot does not have information about the
obstacles in its area. Relying solely on sensors to provide
* Enhao Zhang
52192325122@2019.cqut.edu.cn
1 School ofArtificial Intelligence, Chongqing University
ofTechnology, Pufu Street, Chongqing401135, Chongqing,
China
Content courtesy of Springer Nature, terms of use apply. Rights reserved.
... This method evaluates and selects optimal simulated trajectories to ensure the robot reaches its target position safely and effectively. Zhang et al. [11] introduced an intelligent navigational algorithm for local path planning, demonstrating efficiency in scenarios with static targets. Yu et al. [12] combined the water flow potential field method with the beetle antennae search algorithm for efficient path planning, suitable for static targets. ...
Conference Paper
Full-text available
Robots are widely used for target search in applications such as search and rescue, environmental monitoring, and surveillance. Existing search algorithms typically rely on target signals or predictable movement patterns, which might not be available in real applications. In this paper, we address the practical challenge of a target search problem where targets do not emit signals and have unpredictable movement patterns. The problem is formulated as an area coverage problem: how to maximize the coverage of the robots’ detection areas within a limited time. We propose an algorithm that divides the search area into multiple partitions and assigns specific partitions to robots for maximizing their coverage and the success rate of target detection. Within each partition, the random walk technique is adopted by the robots to handle robot failures and unknown obstacles. Through theoretical analysis and experiments, we explore the optimal number of partitions as well as the optimal partition shape to facilitate searching. Extensive simulations across different dynamic environments validate the effectiveness and adaptability of our proposed algorithm.
... Long [12]. Zhang et al. successfully applies Sparrow search algorithm in robot local path planning problem to reduce the travel time [13]. Zhao et al. applies Cuckoo search algorithm in the problem of difficult multi-parameter identification of the kinetic model of soft recoil artillery firing process and solves the problem [14]. ...
Article
Full-text available
To address the shortcomings of the dung beetle optimizer, such as low convergence precision and a tendency to fall into local optima, a multi-strategy improved dung beetle optimizer (IDBO) is proposed. Firstly, a Cubic chaos mapping strategy is introduced to enhance the diversity of the initial population; secondly, a global exploration strategy from the Osprey optimization algorithm is incorporated, endowing the dung beetle algorithm with the ability to identify the best areas and escape from local optima, which preliminarily improves the convergence speed and optimization precision of the algorithm; finally, an adaptive t-distribution perturbation strategy is adopted to disturb the foraging behavior of the dung beetles, allowing the algorithm to further accelerate the convergence speed while enhancing global exploitation and local exploration capabilities. The effectiveness of the three improvement strategies is verified through testing and analysis with the CEC2021 and CEC2017 test functions, and a convergence analysis of the improved algorithm’s optimization results compared to other algorithms is conducted. The Wilcoxon rank-sum test demonstrates that the IDBO algorithm has good convergence speed and optimization precision. Moreover, the IDBO algorithm is used to optimize the parameters of the HKELM prediction model and applied to short-term photovoltaic power generation prediction simulation comparison experiments. The experimental results show that compared to the DBO-HKELM prediction model, the error metrics MAE and RMSE of the IDBO-HKELM are reduced by 43.95% and 50.79% respectively, further verifying the feasibility and effectiveness of the IDBO algorithm in solving practical application problems.
... The improved algorithm's performance is validated through its application to the wireless sensor network coverage problem. Zhang G et al. [30] introduced an enhanced sparrow search algorithm by incorporating improved adversarial learning and adaptive inertial weights. This improved algorithm was then applied to path planning to validate its effectiveness. ...
Article
Full-text available
To improve the performance of the sparrow search algorithm in solving complex optimization problems, this study proposes a novel variant called the Improved Beetle Antennae Search-Based Sparrow Search Algorithm (IBSSA). A new elite dynamic opposite learning strategy is proposed in the population initialization stage to enhance population diversity. In the update stage of the discoverer, a staged inertia weight guidance mechanism is used to improve the update formula of the discoverer, promote the information exchange between individuals, and improve the algorithm’s ability to optimize on a global level. After the follower’s position is updated, the logarithmic spiral opposition-based learning strategy is introduced to disturb the initial position of the individual in the beetle antennae search algorithm to obtain a more purposeful solution. To address the issue of decreased diversity and susceptibility to local optima in the sparrow population during later stages, the improved beetle antennae search algorithm and sparrow search algorithm are combined using a greedy strategy. This integration aims to improve convergence accuracy. On 20 benchmark test functions and the CEC2017 Test suite, IBSSA performed better than other advanced algorithms. Moreover, six engineering optimization problems were used to demonstrate the improved algorithm’s effectiveness and feasibility.
... Reference [12] applies Harris hawk optimization in fault diagnosis domain problems and successfully solves actual fault diagnosis problems of wind turbines. Reference [13] successfully applies Sparrow search algorithm in robot local path planning problem to reduce the travel time. Reference [14]applies Cuckoo search algorithm in the problem of difficult multi-parameter identification of the kinetic model of soft recoil artillery firing process and solves the problem. ...
Preprint
Full-text available
In order to solve the shortcomings of Dung Beetle Optimizer such as low convergence accuracy and easy to fall into local optimum, a multi-strategy improved Dung Beetle Optimizer (IDBO) is proposed. Firstly, the Cubic chaotic mapping strategy is introduced to improve the diversity of the initial population. Secondly, the global exploration strategy in the Fishhawk algorithm is introduced to give the dung beetle algorithm the exploration ability of identifying the optimal region and escaping from the local optimum, which initially improves the convergence speed and optimality-seeking accuracy of the algorithm. Finally, the dung beetle foraging behaviour is perturbed using the adaptive t-distribution perturbation strategy, making the dung beetle algorithm improve the global exploitation ability and local exploration ability while further accelerate its speed of convergence. The effectiveness of the three improved strategies is verified by testing and analysing the CEC2021 and CEC2017 test functions. The optimization results of the improved algorithms and the comparison algorithms are subjected to convergence analysis and Wilcoxon rank sum test, which proves that the IDBO algorithm has good convergence speed and optimization accuracy. In addition, the IDBO algorithm is adopted to optimise parameters of the HKELM prediction model which is applied to the short-term PV power prediction simulation and comparison experiments. Experimental results show that the IDBO-HKELM prediction model can effectively improve the prediction accuracy of short-term PV power, which further verifies the feasibility and validity of the IDBO algorithm in solving the problems of practical applications.
Article
Route navigation of mobile robots is a crucial zone of robotics part, which has received a lot of focus over time. As the robots are designed to do specific tasks, it is very important that robot has to start from a fixed point, move in a pre-defined path and reach the goal point to complete the task avoiding different kinds of obstacles, either static or dynamic in nature. Typically, algorithms fall into one of two kinds: classical algorithms and evolutionary algorithms. The performance of the evolutionary algorithms performed excel when flexibility and creativity are required to handle more complicated and dynamic environments, whereas classical algorithms concentrate on accuracy and efficiency in terms of path optimisation, fast solution generation and efficacy for static environment with simple obstacle. It has some weakness such as low efficiency, poor performance and failure in case of presence of multiple obstacles especially when the obstacles are close to each other. In this paper the recent advances in studies made by the researchers on different types of mobile robots based on their navigation techniques, cognition, perception, sensing, optimisation techniques adopted for path planning and their feasibility in applying them in variety of environmental conditions like static & dynamic environments. The types of obstacles considered (static or dynamic), the type of experiment performed based on simulation, physical experiment or a combination of both local or global coordinates, and the type of research approaches including classical, heuristic, metaheuristic and hybrid, type of working space 2D or 3D are some of the areas on which emphasis or focus is placed. The review ends up with analysis on the ways that mobile robots plot their paths and the possible future directions to cope with the current revolutions in the exponential age.
Article
To address the problems of weak search ability, easily falling into local optimal solutions and poor path quality of sparrow search algorithm in AGV path planning, a multi-strategy improved sparrow search algorithm (MISSA) is proposed in this paper. MISSA improves the global search ability by improving the discoverer position update operator and introducing the sine cosine algorithm; adopts the adaptive number of vigilantes and adaptive adjustment step size to improve the convergence speed; introduces the Levy flight variation strategy to reduce the probability of falling into any local optimal solution; optimizes the boundary handling mechanism to prevent the loss of population diversity at a later stage; finally, uses the large-scale neighborhood search strategy and path smoothing mechanism for path optimization to further improve the path quality. The superiority-seeking ability of MISSA was verified by 12 standard test functions, and then 30 simulation experiments were conducted in grid maps with two specifications of 20×20 and 30×30. The experimental results showed that, by using MISSA, the path length was reduced by 44.1% and 63.1%, the number of turns was reduced by 68.4% and 78.4%, and the risk degree was reduced by 61.3% and 77.2%, which verifies the superiority of MISSA in path planning. Finally, MISSA was ported to the QBot2e mobile robot for physical verification to prove its feasibility in practical applications.
Article
In recent years, with the indepth research on driverless technology, model predictive control theory was extensively applied in the field of vehicle control. In order to improve the accurate tracking of reference trajectories by driverless vehicles, a model predictive control trajectory tracking controller for driverless vehicles optimized by an improved sparrow search algorithm is proposed. Firstly, an objective function with constraints is added to the model predictive control trajectory tracking controller by establishing the vehicle dynamics model; Secondly, the improved sparrow search algorithm is enhanced to speed up convergence and expand the program's search capabilities; Then, in order to discover the best value, the model predictive control trajectory tracking controller's prediction time domain and control time domain are optimized using the improved sparrow search algorithm; Finally, to confirm the method's viability, collaborative simulations in Simulink/Carsim were completed. The simulation results show that the lateral errors generated by the improved sparrow search algorithm-based optimized model predictive control trajectory tracking controller are reduced by 53.53% and 65.44%, respectively, when the vehicle speed is 36 km/h, compared with the traditional model predictive control trajectory tracking controller. When the vehicle speed is 54 km/h, the lateral deviations are reduced by 81.08% and 86.76%, respectively. In addition, the optimized model predictive control trajectory tracking controller improves the accuracy and at the same time, the driving stability of the control vehicle is significantly improved.
Article
Full-text available
Unmanned aerial vehicle (UAV) is highly flexible and versatile, ranging from monitoring and surveying to rescue and military applications, but finding the best path requires a large amount of computing resources. Through intelligent path planning algorithms, UAV can find the best path according to task requirements and environmental conditions, avoid obstacles, and bypass dangerous areas, thereby effectively reducing the risks and errors of task execution. However, ordinary heuristic algorithms often do not achieve satisfactory results. To address this problem, A multi-mechanism balanced advanced sparrow search algorithm (BALSSA) is proposed. To achieve a balance between exploration and exploitation in the algorithm, we introduce two innovative techniques: an adaptive weight jumping mechanism and a suicide mutation perturbation. Then a balanced advanced learning is proposed. this approach enhances the evolutionary learning capabilities of SSA and aids the algorithm in timely escaping from local optima, and then propose a spiral factor improved progressive learning to improve the mutual learning performance between individuals, tested on 23 benchmark test functions, CEC2017 and CEC2022 The set is compared with algorithms in recent years and proposed algorithm variants, and the results show that BALSSA has better optimization and robustness. Finally, the proposed BALSSA is applied to UAV path planning. Compared with the variant SSA in recent years, BALSSA shows more stable and accurate optimization performance to verify the practicability of the improved algorithm.
Article
Full-text available
Aiming at the inherent problems of swarm intelligence algorithm, such as falling into local extremum in early stage and low precision in later stage, this paper proposes an improved sparrow search algorithm (ISSA). Firstly, we introduce the idea of flight behavior in the bird swarm algorithm into SSA to keep the diversity of the population and reduce the probability of falling into local optimum; Secondly, we creatively introduce the idea of crossover and mutation in genetic algorithm into SSA to get better next-generation population. These two improvements not only keep the diversity of the population at all times but also make up for the defect that the sparrow search algorithm is easy to fall into local optimum at the end of the iteration. The optimization ability of the improved SSA is greatly improved.
Article
Full-text available
The sparrow search algorithm is a new type of swarm intelligence optimization algorithm with better effect, but it still has shortcomings such as easy to fall into local optimality and large randomness. In order to solve these problems, this paper proposes an adaptive spiral flying sparrow search algorithm (ASFSSA), which reduces the probability of getting stuck into local optimum, has stronger optimization ability than other algorithms, and also finds the shortest and more stable path in robot path planning. First, the tent mapping based on random variables is used to initialize the population, which makes the individual position distribution more uniform, enlarges the workspace, and improves the diversity of the population. Then, in the discoverer stage, the adaptive weight strategy is integrated with Levy flight mechanism, and the fusion search method becomes extensive and flexible. Finally, in the follower stage, a variable spiral search strategy is used to make the search scope of the algorithm more detailed and increase the search accuracy. The effectiveness of the improved algorithm ASFSSA is verified by 18 standard test functions. At the same time, ASFSSA is applied to robot path planning. The feasibility and practicability of ASFSSA are verified by comparing the algorithms in the raster map planning routes of two models.
Article
Full-text available
Fault diagnosis technology is key to the safe and stable operation of wind turbines. An effective fault diagnosis technology for wind turbines can quickly identify fault types to reduce the operation and maintenance costs of wind farms and improve power generation efficiency. Currently, most wind farms obtain operation and maintenance data via supervisory control and data acquisition (SCADA) systems, which contain rich information related to the operation characteristics of wind turbines. However, few SCADA systems provide fault diagnosis functionality. Support vector machines (SVMs) are a popular intelligence method in the fault diagnosis of wind turbines. SVM parameter selection is key for accurate model classification. The sparrow search algorithm (SSA) is a novel and highly efficient optimization method used to optimize the penalty factor and kernel function parameter of SVM in this paper and to construct the SSA-SVM wind turbine fault diagnosis model. Data are acquired from a wind farm SCADA system and form a faulting set after preprocessing and feature selection. Experiments show that the SSA-SVM diagnostic model effectively improves the accuracy of wind turbine fault diagnosis compared with the GS-SVM, GA-SVM and PSO-SVM models and has fast convergence speed and strong optimization ability. Moreover, the SSA-SVM diagnostic model can be used to diagnose faults in practical engineering applications.
Article
Full-text available
This article presents an improved version of the coyote optimization algorithm (COA) that is more compatible with nature. In the proposed algorithm, fitness-distance balance (FDB) and Lévy flight were used to determine the social tendency of coyote packs and to develop a more effective model imitating the birth of new coyotes. The balanced search performance, global exploration capability, and local exploitation ability of the COA algorithm were enhanced, and the premature convergence problem resolved using these two methods. The performance of the proposed Lévy roulette FDB-COA (LRFDBCOA) was compared with 28 other meta-heuristic search (MHS) algorithms to verify its effectiveness on 90 benchmark test functions in different dimensions. The proposed LRFDBCOA and the COA ranked, respectively, the first and the ninth, according to nonparametric statistical results. The proposed algorithm was applied to solve the AC optimal power flow (ACOPF) problem incorporating thermal, wind, and combined solar-small hydro powered energy systems. This problem is described as a constrained, nonconvex, and complex power system optimization problem. The simulation results showed that the proposed algorithm exhibited a definite superiority over both the constrained and highly complex real-world engineering ACOPF problem and the unconstrained convex/nonconvex benchmark problems.
Article
Full-text available
The unmanned aerial vehicle (UAV) route planning problem mainly centralizes on the process of calculating the best route between the departure point and target point as well as avoiding obstructions on route to avoid collisions within a given flight area. A highly efficient route planning approach is required for this complex high dimensional optimization problem. However, many algorithms are infeasible or have low efficiency, particularly in the complex three-dimensional (3d) flight environment. In this paper, a modified sparrow search algorithm named CASSA has been presented to deal with this problem. Firstly, the 3d task space model and the UAV route planning cost functions are established, and the problem of route planning is transformed into a multi-dimensional function optimization problem. Secondly, the chaotic strategy is introduced to enhance the diversity of the population of the algorithm, and an adaptive inertia weight is used to balance the convergence rate and exploration capabilities of the algorithm. Finally, the Cauchy–Gaussian mutation strategy is adopted to enhance the capability of the algorithm to get rid of stagnation. The results of simulation demonstrate that the routes generated by CASSA are preferable to the sparrow search algorithm (SSA), particle swarm optimization (PSO), artificial bee colony (ABC), and whale optimization algorithm (WOA) under the identical environment, which means that CASSA is more efficient for solving UAV route planning problem when taking all kinds of constraints into consideration.
Article
One of the most difficult types of problems computationally is the security-constrained optimal power flow (SCOPF), a non-convex, nonlinear, large-scale, nondeterministic polynomial time optimization problem. With the use of renewable energy sources in the SCOPF process, the uncertainties of operating conditions and stress on power systems have increased even more. Thus, finding a feasible solution for the problem has become a still greater challenge. Even modern powerful optimization algorithms have been unable to find realistic solutions for the problem. In order to solve this kind of difficult problem, an optimization algorithm needs to have an unusual exploration ability as well as exploitation-exploration balance. In this study, we have presented an optimization model of the SCOPF problem involving wind and solar energy systems. This model has one problem space and innumerable local solution traps, plus a high level of complexity and discrete and continuous variables. To enable the optimization model to find the solution effectively, the adaptive guided differential evolution (AGDE) algorithm was improved by using the Fitness-Distance Balance (FDB) method with its balanced searching and high-powered diversity abilities. By using the FDB method, solution candidates guiding the search process in the AGDE algorithm could be selected more effectively as in nature. In this way, AGDE’s exploration and balanced search capabilities were improved. To solve the SCOPF problem involving wind and solar energy systems, the developed algorithm was tested on an IEEE 30-bus test system under different operational conditionals. The simulation results obtained from the proposed algorithm were effective in finding the optimal solution compared to the results of the metaheuristics algorithms and reported in the literature.
Article
Recent trends in path planning have led to a proliferation of studies that find solutions to the path planning problems in an unknown cluster environment. This study aims to find an optimum impact-free path length for a mobile robot with a multi-objective optimization approach. The multi-objective optimization problem is formulated by using path length and a safety aspect as the two objectives. A hybrid population-based optimization algorithm, i.e. the hybrid particle swarm and chemical reaction optimization (HPCRO) algorithm, has been used to obtain a smooth path for the robot in an unknown environment with circular and/or polygonal obstacles. The results of the HPCRO algorithm are then compared with those of genetic algorithms, chemical reaction optimization and particle swarm optimization. Some statistical tests are performed to illustrate the superiority and potential applicability of the hybrid algorithm. The results of the hybrid algorithm are encouraging in terms of cost function value and computational cost.
Article
Stochastic Fractal Search (SFS) is a new and original meta-heuristic search (MHS) algorithm with strong foundations. As with many other MHS methods, there are problems in effectively balancing the exploitation-exploration in the SFS algorithm. In order to achieve this balance, it is necessary to improve its diversity capability. This article presents the studies that were carried out to strengthen the diversity and balanced search capabilities of the SFS algorithm. For this purpose, the diversity operator of the SFS algorithm was designed with a novel method called Fitness-Distance Balance (FDB), which more effectively mimics the way fractals occur in nature. Thus, the FDBSFS algorithm, which has a much stronger search performance, was developed. Comprehensive experimental studies were conducted to test and validate the developed FDB-based SFS algorithm (FDBSFS). Thirty-nine novel and powerful MHS algorithms, eighty-nine unconstrained test functions and five constrained engineering problems were used. Two nonparametric tests, the Wilcoxon signed rank test and the Friedman test, were used to analyze the results obtained from the experimental studies. The results of the analysis showed that the problem of premature convergence had been largely eliminated by the application of the FDB method and that the exploitation-exploration balance was also effectively provided. Moreover, the proposed FDBSFS algorithm ranked first among the thirty-nine competing algorithms.
Article
In this paper, a new strategy is developed to plan the smooth path for mobile robots through an improved PSO algorithm in combination with the continuous high-degree Bezier curve. Rather than connecting several low-degree Bezier curve segments, the use of continuous high-degree Bezier curves facilitates the fulfillment of the requirement of high-order continuity such as the continuous curvature derivative, which is critical for the motion control of the mobile robots. On the other hand, the smooth path planning of mobile robots is mathematically an optimization problem that can be dealt with by evolutionary computation algorithms. In this regard, an improved particle swarm optimization (PSO) algorithm is proposed to tackle the local trapping and premature convergence issues. In the improved PSO algorithm, an adaptive fractional-order velocity is introduced to enforce some disturbances on the particle swarm according to its evolutionary state, thereby enhancing its capability of jumping out of the local minima and exploring the searching space more thoroughly. The superiority of the improved PSO algorithm is verified by comparing with several standard and modified PSO algorithms on some benchmark functions, and the advantages of the new strategy is also confirmed by several comprehensive simulation experiments for the smooth path planning of mobile robots.
Article
In this study, a novel metaheuristic algorithm, namely, carnivorous plant algorithm (CPA), inspired by how the carnivorous plants adapting to survive in the harsh environment, was proposed. The CPA was first evaluated on thirty well-known benchmark functions with different characteristics and seven CEC 2017 test functions. Its convergence characteristic and computational time were analysed and compared with seven widely used metaheuristic algorithms, with the superiority was validated using the Wilcoxon signed-rank test. The applicability of the CPA was further examined on mechanical engineering design problems and a real-world challenging application of controlling the orientation of a five degree-of-freedom robotic arm. Experimental simulations demonstrated the supremacy of the CPA in solving global optimization problems.