Next Article in Journal
Use of Augmented Reality as a Tool to Support Cargo Handling Operations at the CARGO Air Terminal
Previous Article in Journal
CEEMDAN-LWT De-Noising Method for Pipe-Jacking Inertial Guidance System Based on Fiber Optic Gyroscope
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Ant Colony Optimization with Sub-Population and Fuzzy Logic for 3D Laser Scanning Path Planning

College of Information Engineering, Xizang Minzu University, No. 6, East Section of Wenhui Road, Weicheng District, Xianyang 712082, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(4), 1098; https://doi.org/10.3390/s24041098
Submission received: 15 December 2023 / Revised: 3 February 2024 / Accepted: 5 February 2024 / Published: 8 February 2024
(This article belongs to the Section Optical Sensors)

Abstract

:
For the precise measurement of complex surfaces, determining the position, direction, and path of a laser sensor probe is crucial before obtaining exact measurements. Accurate surface measurement hinges on modifying the overtures of a laser sensor and planning the scan path of the point laser displacement sensor probe to optimize the alignment of its measurement velocity and accuracy. This manuscript proposes a 3D surface laser scanning path planning technique that utilizes adaptive ant colony optimization with sub-population and fuzzy logic (SFACO), which involves the consideration of the measurement point layout, probe attitude, and path planning. Firstly, this study is based on a four-coordinate measuring machine paired with a point laser displacement sensor probe. The laser scanning four-coordinate measuring instrument is used to establish a coordinate system, and the relationship between them is transformed. The readings of each axis of the object being measured under the normal measuring attitude are then reversed through the coordinate system transformation, thus resulting in the optimal measuring attitude. The nominal distance matrix, which demonstrates the significance of the optimal measuring attitude, is then created based on the readings of all the points to be measured. Subsequently, a fuzzy ACO algorithm that integrates multiple swarm adaptive and dynamic domain structures is suggested to enhance the algorithm’s performance by refining and utilizing multiple swarm adaptive and fuzzy operators. The efficacy of the algorithm is verified through experiments with 13 popular TSP benchmark datasets, thereby demonstrating the complexity of the SFACO approach. Ultimately, the path planning problem of surface 3D laser scanning measurement is addressed by employing the proposed SFACO algorithm in conjunction with a nominal distance matrix.

1. Introduction

1.1. Background

With the rapid development of precision measurement technology in the manufacturing field, the traditional manual and CMM measurements for measuring intricate surfaces have been replaced by 3D laser scanning measurement. In addition, 3D laser scanning technology utilizes laser ranging, which involves scanning the object to be measured with line structured light and collecting point cloud data from the surface of the object to be measured [1]. After performing a series of mathematical calculations, a three-dimensional model of the object to be measured is created from point cloud data [2]. In the field of linear structured laser scanning technology, the calibration of a 3D laser scanning system, laser strip center extraction, laser scanning path planning, and point cloud data processing is essential for enhancing the 3D scanning process in terms of both quality and speed. The 3D scanning process necessitates laser scanning path planning and attitude confirmation, which involves processing the 3D point cloud of the object being tested to identify the sampling points. Moreover, based on the sampling points, the scanning range and scanning direction is important for constructing a laser scanning attitude model so as to ultimately generate a full scanning path [3]. In order to obtain a comprehensive 3D model and enhance the scanning accuracy and speed, it is imperative to plan various attitude states to form the best scanning position and angle. Furthermore, laser scanning sensors possess a high degree of precision and swiftness; however, there is also the potential for a collision between the sensor and the workpiece, as well as the need for multiple scans when measuring intricate surfaces (which can lead to an inefficient use of resources). Consequently, it is essential to devise suitable algorithms to map out the laser probe’s scanning path in order to achieve the most effective path plan, thereby enhancing the scanning efficiency and shortening the scanning time through successful obstacle avoidance. Recently, the exploration of 3D scanning path planning for intricate surfaces has been a major focus of research in the field of 3D scanning techniques. In 2023, Sedao et al. [4] obtained a 3D point cloud from the surface of the object to be measured, identified the points to be measured by a series of target points centered on a 3D mesh that was tailored to the curvature of the surface, and utilized surface discovery computation to determine the position of the laser probe in the area, which was performed so as to carry out the grid cell laser texturing step by step to acquire the ideal scanning path. Diao et al. [5] combined a point cloud slicing algorithm with a curve fitting algorithm to map out the machining path of intricate castings, as well as suggested a novel cross-source point cloud alignment technique, which drastically enhanced the uniformity of the surface profile and the efficiency of the machining paths produced by the method. In 2022, Zong et al. [6] suggested an automated path planning 3D scanning system based on the raster projection principle to create a 3D scanning sensor. Zong suggested an algorithm for path planning that is based on the concept of virtual 3D scanning, which uses the CAD model of the scanning object to determine the most efficient scanning path. Huang et al. [7] employed discrete and continuous optimization of scanning paths by solving the TSP problem to compute the topology maps in order to determine dynamic scanning targets and paths. Yan et al. [8] suggested a two-part scanning and detection planning approach to address the scan line distribution and detection path planning issue. To begin with, an adaptive sampling strategy (CLS) resembling a spiderweb is created to detect shape errors by arranging scan lines in a spiderweb shape pattern. Next, a detection path planner is employed to map out both local and global detection routes. Moreover, a novel ant colony optimization algorithm (IACO) has been suggested to create time-efficient routes for discrete scan lines, thereby enhancing the scanning probe’s inspection capacity on a CMM.
The process of path planning involves discovering the most efficient route that links the beginning and end points while adhering to certain restrictions. In the process of 3D laser scanning intricate surfaces, the laser probe traverses all the measured points in a specific sequence. Optimizing the sequence of points to be measured decreases the time it takes for the laser probe to move, as well as help it to avoid obstacles so as to prevent multiple measurements. The essence of the laser scanning path planning problem lies in the order in which the blade profile is scanned. Therefore, the laser probe path planning problem that follows intricate surface slicing can be conceptualized as a combinatorial optimization problem, namely the TSP problem, which is the shortest path planning problem and a traditional combinatorial optimization problem. The TSP is one of the most researched problems in optimization and is often regarded as a benchmark problem for several optimization methods [9]. It has been demonstrated that the TSP problem is NP-hard, thus making it impossible to find algorithms that are exact in polynomial time. The most common solutions to the TSP problem are heuristic algorithms, meta-heuristic algorithms, and linear programming. Meta-heuristic algorithms include genetic algorithms [10], ant colony algorithms [11], particle swarm optimization algorithms [12], cuckoo research [13], etc. There have been many studies and applications on the TSP problem in recent years. Zhou et al. [14] proposed a novel ACO approach and designed an innovative adaptive learning mechanism (ADACO). The ACO algorithm for TSP was modeled under the reinforcement learning framework, and the optimal policy was learned via a stochastic gradient descent approach. Subsequently, the ACO algorithm incorporates the adaptive gradient descent strategy under the name ADACO. Zhou’s proposed strategy can make use of the update history of each dimensional pheromone to achieve intelligent convergence. Reda et al. [15] used a newly proposed discrete variant of the cuckoo search algorithm to solve the OPR problem. Five modifications were made to the discrete cuckoo search algorithm before applying it to the traditional TSP problem. Zhang et al. [16] proposed a discrete cuckoo search algorithm based on random wandering and cluster analysis for the TSP. For the large-scale TSP problem, a k-means algorithm was used to divide the cities into k classes for optimization, and then a stochastic algorithm was used to combine them. A simple 2-opt operator was utilized as a local optimization operator to accelerate the convergence of the algorithm. The TSP problem has a wide range of applications, including robot path planning [15], cutting path optimization [16], and automatic scanning path planning for complex surfaces [8].

1.2. Ant Colony Optimization

Ant colony optimization (ACO) is a meta-heuristic algorithm designed and popularized by Dorigo; it allows ants to determine the direction of their journey by gauging the pheromone concentration. The greater the concentration of pheromones, the more likely they are to follow and crawl the path. Consequently, the most efficient route has the greatest pheromone concentration. The key to the ACO approach is the selection of nodes and the updating of pheromones. Due to its design principle, the ACO algorithm is highly regarded for its ability to solve a variety of combinatorial optimization problems. Pal et al. [17] suggested an ant colony optimization algorithm that incorporates a fuzzy logic-based contingency ranking index for the transmission and contact lines of a multi-region grid; furthermore, an enhanced ant colony algorithm was employed to reduce transmission active and reactive power losses during contingencies, thus augmenting power flow through other transmission lines. A two-tier multi-objective path planning model was proposed by Sui et al. [18] with the objective of minimizing path length and hazard distance. The algorithm utilizes an ant colony optimization algorithm to create a series of tasks for the upper model in the outer layer and then creates a two-layer hybrid algorithm. Chuang et al. [19] suggested a real-time two-stage ant colony (RTACO) algorithm to reduce the strain on the task offloading algorithm and create a dependable, high-performance edge computing system. Rivera et al. [20] suggested HyperACO, a hyper-heuristic algorithm that seeks to identify the optimal combination of multiple interval ranking models that are embedded in MOEA to address a multi-objective optimization issue. HyperACO not only has the ability to choose the most suitable model, but also to combine existing models to accurately address a particular multi-objective optimization problem. The field of intelligent algorithm research has been abuzz with discussions on how to enhance the ACO approach to address its weaknesses. Das et al. [21] suggested a quantum-inspired ant colony optimization (Qi-ACO) algorithm, which is based on quantum-inspired ant colony optimization algorithms in order to address a sustainable four-dimensional travel quotient problem (4DTSP). Quantum-inspired techniques enable rapid computation and the defuzzification of type-2 fuzzy variables through the critical value (CV) method, which is essential for the initialization and updating of pheromones in Qi-ACO. Liu et al. [22] suggested a novel version of the ACO algorithm with adjustable pheromone concentration settings, a heuristic mechanism with directional discernment, an enhanced pseudo-random transfer strategy, and a pheromone. Furthermore, an upgraded ACO approach (IHMACO) was created with improved tactics such as dynamic alteration of the evaporation rate. Ren et al. [23] designed a new improved ACO optimization algorithm to solve the model, using pheromone and heuristic algorithms to generate an initial solution to ensure the quality of the initial population. A forbidden search operator containing five neighborhood operators was constructed to improve the local search capability of the algorithm, and a simulated annealing mechanism was introduced to update the global pheromone to increase the diversity of the population. Pu et al. [24] suggested a novel fractional order ACO (FACA) algorithm, which is based on the cooperative learning approach of fractional long-term memory. The integer order ACO algorithm’s transformation behavior is altered by utilizing the inherent power of fractional algorithms, which is achieved by substituting straightforward one-step probabilities with more intricate fractional derivatives that include some forward-looking information. For the study of complex surface three-dimensional laser scanning path planning problems, the laser scanning sensor measurement should prioritize accuracy and speed, yet it is accompanied by exorbitant scanning costs and the wasteful utilization of resources, as well as other phenomena in complex surface measurements. Consequently, it is essential to devise suitable algorithms to map out the laser probe’s scanning path in order to obtain the most efficient path plan, thereby enhancing the scanning efficiency and shortening the scanning time through successful obstacle avoidance. Consequently, this research will utilize the enhanced ant colony algorithm to devise a plan for measuring 3D surfaces, thus allowing the line laser to measure along the most efficient route and acquire the most precise measurement data of 3D surfaces with greater efficiency.

1.3. Contributions of This Manuscript

In this manuscript, three coordinate systems are established based on the motion model of laser scanning on a four-coordinate laser scanning measuring machine to tackle the issue of 3D laser scanning path planning for complex surfaces. The number of readings of the axes of the measuring machine located at the point to be measured under the optimal measuring attitude was reversed and solved from the transfer matrix of the transformation relationship between the coordinate systems. Afterward, the nominal distance matrix between the points to be measured was established based on the readings of each axis of the measuring machine of the points to be measured in the optimal measuring attitude. Subsequently, a strategy involving sub-populations and adaptive heuristic factors was devised to enhance the ACO approach, while a dynamic domain structure was employed to augment the diversity of the ACO population. An adaptive ant colony algorithm with sub-population and fuzzy logic (SFACO) was created. Ultimately, the SFACO approach was utilized to address the intricate surface 3D laser scanning path planning issue by replacing the Euclidean distance with the nominal distance at the optimal measurement attitude for calculating the fitness value. The TSP benchmark dataset was used to assess the accuracy of the SFACO approach in the experiments, and the SFACO algorithm was then employed to simulate 3D laser scanning path planning for intricate surfaces in order to determine the most efficient scanning path.
The contributions of this manuscript are as follows:
  • This manuscript establishes three coordinate systems based on a laser scanning four-coordinate measuring machine. Moreover, it inversely solves the machine readings of each axis of the object to be measured in normal measuring attitude according to the conversion between coordinate systems. Furthermore, we constructed the nominal distance matrix by utilizing the machine readings of each axis of all the points to be measured on the object to be measured in the optimal measuring attitude.
  • An adaptive ant colony with sub-population algorithm was designed. Ant colonies can simulate human social learning through sub-population and adaptive parameter strategies, as well as improve the convergence performance of ant populations by the guidance of transcendental knowledge.
  • A 3-opt neighborhood structure was implemented to alter the course of the ant colony in order to enhance the variety of the population. The algorithm’s guidance for optimizing the next-generation population was enhanced by applying a fuzzy logic strategy to dynamically adjust pheromone volatilization parameters. The TSP benchmark test confirmed the effectiveness of the proposed SFACO algorithm.
  • The proposed SFACO algorithm is utilized to identify the most efficient planning path for the intricate 3D laser scanning path planning problem.
The rest of the manuscript is structured as follows: Section 2 describes the design of the laser measurement pose, whereby the specific process of constructing the nominal distance matrix through the establishment, the transformation of the coordinate system, and the establishment of the normal vector measurement pose are focusing upon. Section 3 focuses on the improvement and innovation strategies of the various parts of the algorithm of the adaptive ACO approach with sub-population and fuzzy logic, as well as on the overall framework of the SFACO algorithm. Section 4 is devoted to experiments and analysis, including TSP benchmarking and surface 3D laser scanning path simulation experiments. Finally, Section 5 summarizes the work that was conducted.

2. The Design of the Laser Measurement Attitude

2.1. Establishing and Converting the Coordinate System

According to the measurement requirements of complex curved parts, the laser scanning four-coordinate measuring system, as shown in Figure 1, was the four-coordinate laser scanning measuring machine model used in this paper. The main body of the measuring machine was made up of three vertical axes, X Y Z , and a rotary table W. Moreover, the laser sensor was fixed in the Z axis column and the part to be measured was fixed on the rotary table W. Three coordinate systems were established based on the configuration of the measuring machine system: the measuring machine motion coordinate system O M , the laser measurement coordinate system O L , and the workpiece coordinate system O P .
The measuring machine coordinate system O M was fixed to the rotary table center as the origin O, and the coordinate system axis x y z and measuring machine movement axis X Y Z were parallel. The workpiece coordinate system O P was fixed on the rotary table to the rotary table center as the origin O, and this was set when the measuring machine W-axis readings were at time 0; in addition, the workpiece coordinate system and the measuring machine coordinate axis X Y Z direction were consistent. The laser measurement coordinate system O L was established on the Z-axis column of the measuring machine, and the three coordinate axes of the coordinate system were, respectively, parallel to the X Y Z movement axis of the measuring machine, with the intersection of the mounting position of the laser sensor and the Z-axis column as the origin O.
Let there be a point Q in the measurement space, whose coordinates on the coordinate systems O M , O L , and O P are denoted as q M , q L , and q P , respectively. In addition, let the transformation matrix between O M and O L be G M L , between O M and O P be G M P , and between O P and O L be G P L . Then, the transformation relationship between the coordinate systems can be expressed as Equation (1):
q M = G M L · q L q M = G M P · q P q P = G P L · q L .
While the measuring machine is functioning, let a point on the workpiece be measured such that it has each motion parameter θ x , θ y , θ z , θ w in the measuring machine system. Furthermore, let this be such that each transformation matrix can be, respectively, expressed as Equations (2) and (3).
G M L = 1 0 0 θ x 0 1 0 θ y 0 0 1 θ z 0 0 0 1 ,
G M P = cos θ w sin θ w 0 0 sin θ w cos θ w 0 0 0 0 1 0 0 0 0 1 .
Therefore, G P L can be obtained from Equations (1)–(3), as in Equation (4), as follows:
G P L = G M P 1 · G M L = cos θ w sin θ w 0 θ x · cos θ w + θ y · sin θ w sin θ w cos θ w 0 θ x · sin θ w + θ y · cos θ w 0 0 1 θ z 0 0 0 1 .

2.2. Normal Measurement Attitude Establishment

Figure 2a is a schematic diagram of the laser error. The laser error diagram reveals that the laser emission point is not directly beneath the actual measurement point during laser scanning. As the angle of inclination between the workpiece and the laser incident point increases, the measurement deviation, which is the distance between the error measurement point and the surface of the workpiece, also rises. Consequently, the measurement accuracy is highest when the incident laser is perpendicular to the workpiece surface. The normal measurement attitude schematic is shown in Figure 2b. The optimal location for measuring the laser sensor is the midpoint of the sensor range, and the midpoint of the range from the Z-axis column distance is set at m. Then, the ideal position of the point to be measured in the laser measurement coordinate system is q L 1 = 0 , m , 0 , and the laser ray on the distance from the point of unit length of q L 1 is q L 2 = 0 , m + 1 , 0 . Set the part to be measured on a point that is to be measured q P 1 , which is located in the workpiece coordinate system. Let q P 1 = x , y , z , n x , n y , n z be the point to be measured q P 1 , and let it be normal to the direction of the unit vector. Therefore, the point q P 2 = x + n x , y + n y , z + n z is in the direction that is normal to the point to be measured at a distance of the unit length from the point that can be obtained.
Since the highest measurement accuracy is achieved when the incident laser is perpendicular to the surface of the object to be measured, as well as when the laser sensor measuring point vector q L 1 q L 2 overlaps with the laser sensor measure point normal vector q P 1 q P 2 of the object to be measured, then the measuring instrument is in the optimal measuring position. According to Equation (1), it is possible to relate q P with q L through the transformation matrix as in Equations (5) and (6):
q P 1 = G P L · q L 1 q P 2 = G P L · q L 2 ,
q P 2 q P 1 = G P L · q L 2 q L 1 .
Substituting Equation (4) into Equations (5) and (6) yields Equations (7) and (8) as follows:
n x = sin θ w n y = cos θ w ,
x = θ x · cos θ w + θ y m · sin θ w y = θ x · sin θ w + θ y m · cos θ w z = θ z .
When setting θ w 0 , 360 , based on Equations (7) and (8), as well as the point to be measured x , y , z and the normal vector unit vector n x , n y , n z , then the parameter θ x , θ y , θ z , θ w of the measuring machine system can be obtained under the optimal measuring attitude.

2.3. Nominal Distance Matrix Construction

The laser sensor will traverse all the points to be measured from the normal direction in a certain order so as to expedite the measurement process and reduce the amount of resources wasted through repetitive scanning. An enhanced ant colony algorithm was employed for the blade profile measurement path planning, which was performed to refine the order of the points to be measured and to ensure the line laser measures along the most efficient path, thus obtaining the precise measurement data of the complex surface with greater efficiency. In this paper, the normal measurement attitude was used to map the points to the independent motion axes of the measuring machine under the optimal attitude. The nominal distance matrix between the points to be measured was then constructed with practical measurement significance, and the nominal distance matrix was then substituted into the improved ant colony algorithm to optimize the measurement order of the laser sensor among the points to be measured.
According to Equations (7) and (8), the measurement machine’s motion distance between the two points to be measured was converted into the individual motion distance of each axis, and the measurement attitude of the two to-be-measured points was, respectively, set as θ x 1 , θ y 1 , θ z 1 , θ w 1 and θ x 2 , θ y 2 , θ z 2 , θ w 2 while determining the vector of the motion distance of the measuring machine between the two points, as in Equation (9):
d = θ x 1 θ x 2 , θ y 1 θ y 2 , θ z 1 θ z 2 , θ w 1 θ w 2 .
In Equation (9), x y z is the moving axis and w is the rotary axis. Due to the disparity in units between the two axes, the mere distance of movement did not accurately depict the temporal disparity between the two points. Through the standardization of motion gap characteristics, the distance of this switching motion was determined by selecting the maximum distance motion axis, thereby enabling the definition of the nominal distance between the two points to be measured as Equation (10):
d 1 , 2 = max N o r m θ x 1 θ x 2 , θ y 1 θ y 2 , θ z 1 θ z 2 , θ w 1 θ w 2 ,
where N o r m is denoted as z-score normalized and calculated as X = X i μ σ , and μ and σ are the mean and variance of the distance difference of all axes, respectively. Consequently, based on the nominal distance between the two points to be measured in Equation (10), the nominal distance matrix between each neighboring point to be measured can be constructed as Equation (11):
D = d 1 , 1 d 1 , 2 d 1 , n d 2 , 2 d 2 , n d n , n .
Let the traversal order between n to-be-measured points be r 1 , r 2 , , r n ; thus, the total nominal distance after traversing all to-be-measured points is obtained according to Equation (11), as in Equation (12), as follows:
f = i = 1 n 1 d r i , r i + 1 .
This paper utilizes the SFACO algorithm for path planning, with the nominal distance serving as the optimization objective. Consequently, the fitness function is formulated as per Equation (12) in this particular problem.

3. Adaptive Ant Colony with Sub-Population and Fuzzy Logic (SFACO) Algorithm

This manuscript proposes an ant colony algorithm based on adaptive learning strategies and fuzzy logic, and it combines dynamic fields with fuzzy logic control to imitate human social learning. By utilizing population diversity calculations and transcendental knowledge, the algorithm partitions population strategies, incorporates adaptive heuristic factors according to population diversity, and enhances the convergence performance of ant populations. These steps were performed to prevent a decline in the population diversity during the later stages of the algorithm, where the ant colony path undergoes reprogramming with a dynamic neighborhood structure. Fuzzy logic control was employed to modify the algorithm parameters and enhance the algorithm’s performance, thereby optimizing the guidance of the previous generation population search results for the next generation population search process.

3.1. Population Diversity

Currently, there is a great deal of research into how population diversity is represented in population intelligence algorithms, with many techniques utilizing Euclidean distance representation or algorithm fitness value to illustrate population diversity [25]. The fitness of the algorithm in the ant colony algorithm is essentially determined by the distance covered by each ant to complete all the points; thus, this paper was also formulated according to the algorithm’s fitness value in the representation of population diversity, as shown in Equation (13):
f ¯ = 1 N i = 1 N f i p D i = N o r 1 N i = 1 N f i f ¯ p D = i = 1 N ϖ i p D i ,
where N is the number of ants in the colony, f i is the fitness value of the i-th ant, p D i is the difference between the fitness value of each ant and the average fitness value, N o r denotes the normalization calculation, and p D denotes the overall diversity of the population. Moreover, ϖ i is usually taken as 1 N .

3.2. Sub-Population Strategies

The utilization of sub-population strategies is commonplace in intelligent algorithms. In studies based on sub-population strategies, the division of populations and the size of each sub-population are essential for preserving the variety of the individuals in the algorithm. Nevertheless, the majority of current sub-population strategies for sub-population division rely on determining the quantity of individuals within the sub-population and dividing them based on individual spacing rather than adapting to the dynamic fluctuations of all individuals in the population. Consequently, to enhance the flexibility of the sub-population strategies for the ACO algorithm, this section utilizes population division according to the fitness value to adjust the population division in real time through the fluctuating size of the fitness value, and the division is structured as shown in Equation (14) [26]:
f 1 = p D min f 2 = p D min + 1 3 p D max p D min f 3 = p D min + 2 3 p D max p D min f 4 = p D max Ω j t = X i t f j p D X i t < f j + 1 , i = 1 , 2 , N , j = 1 , 2 , 3 ,
where p D min and p D min denote the minimum and maximum values of population diversity, respectively; f j , j = 1 , 2 , 3 , 4 denotes the boundary of the sub-population; X i t denotes the path length of the i-th ant in the t-th iteration; and Ω j t denotes the j-th sub-population in the t-th iteration. Three sub-populations of a balanced size were obtained by dividing the population into three equal parts.
The evolution of the ACO algorithm involves two crucial stages: probabilistic selection and pheromone updating. The probabilistic selection formula involves the consideration of the path length and pheromone concentration. In this section of adaptive ant colony optimization with sub-population and fuzzy logic, the initial knowledge is computed utilizing the probabilistic selection formula shared by ACO algorithms, thereby ensuring that the node with the greatest likelihood is chosen in every path node selection. The probability selection formula was used to determine the predetermined route of all the ants. After the a priori path scheme was calculated, the diversity of the population was calculated according to the diversity shown in Equation (14). The population was then divided according to Equation (14) to obtain three sub-populations of a balanced size.

3.3. Adaptive Heuristic Factor

The ant colony algorithm’s success in adjusting the search direction hinges on its ability to calculate the transfer probability. The pheromone concentration and the value of the heuristic function between two nodes are crucial factors in the calculation of transfer probability. The transfer probability is significantly influenced by both the pheromone heuristic factor α and the expectation heuristic factor β when determining pheromone concentration and heuristic function. The pheromone heuristic factor α indicates the significance of the amount of data the ants accumulate while moving in order to direct the search of their colonies. If α is too high, the ants will likely opt for the paths they have previously traversed, thus diminishing the randomness of the search; conversely, if its value is too low, the search will be too early to reach the local optimum. The heuristic function factor β indicates the significance of the heuristic information in directing the ant colony search process, while its magnitude signifies the potency of the a priori and deterministic factors in the ant colony search process. When it is too large, even though the rate of convergence will be hastened, it is easy to become trapped in the local optimum; when it is too small, it is easy to be caught up in the random search and unable to find the best solution. Consequently, this section suggests a transfer probability updating rule that takes into account sub-population adaptive heuristic factors in order to strike a balance between exploration and exploitation capabilities, and this is achieved by replicating human social learning capabilities.
To replicate human social learning intelligence, the ant population was divided into three distinct sub-populations through a sub-population strategy based on the evolutionary level of ants in each iteration, with p D _ G representing the global ideal ant diversity among all the populations and p D _ S representing the optimal ant diversity among the sub-populations. Furthermore, the common ants that remained to reach the average diversity of the populations were calculated, and the heuristic factors for all the individuals mentioned above were formulated in the following Equations (15) and (16):
ϖ i t = j = 1 N t 1 p D _ S j t N t 1 p D X i t i f X i t = p D _ G t p D _ S j + 1 t N t 1 p D X i t i f X i t = p D _ S t p D _ S S ( i ) t t p D X i t e l s e ,
α = 1 + 3 F ϖ i t β = 3 + 2 F ϖ i t ,
where N t denotes the number of sub-populations, p D _ S j t denotes the diversity value of the best ant of the first j sub-population at the t-th iteration, and p D _ G t denotes the diversity value of the globally optimal ant. Moreover, S ( i ) t denotes the sub-population where the i-th ant is located at the t-th iteration, and F ϖ i t is the cumulative distribution function of a positive tautological distribution, where ants with higher diversity values tend to be weighted more heavily and are guaranteed to be α 1 , 4 , β 3 , 5 under this strategy.

3.4. Dynamic Neighborhood Structures

The classical ACO algorithm relies on the concentration of pheromones and the distance between nodes to find the most suitable paths, which often results in the ant colony paths converging in the later stages of the algorithm, thus reducing the diversity of the population and making it more likely for it to become stuck at the local extremes. Consequently, the SFACO algorithm utilizes a dynamic 3-opt neighborhood structure to modify the ant colony paths in order to enhance population diversity [27].
The 3-opt algorithm is a neighborhood structure with multiple variations, and it is a local search method often applied to TSP problems. The 3-opt algorithm performs a local search to generate a new feasible solution in the neighborhood, which is also where the ACO algorithm provides a feasible solution. The principle of the 3-opt algorithm is to select three sub-paths in the paths, remove them from the paths of the ACO algorithm, and then try to reconnect them to different paths in a different way. By establishing connections, this procedure creates fresh and diverse routes, as well as acquires multiple potential routes. As the algorithm progresses to the later stage, the 3-opt randomized path selection will lead to an inadequate and subpar set of potential candidates. The paths that are randomly shifted are longer than the original paths; as such, the probability that they will be selected as the current optimal paths is extremely low. This inferior set will result in a lot of unnecessary computations at the later stage of the iteration, which will increase the algorithm’s complexity. Hence, the SFACO algorithm utilizes a dynamic 3-opt neighborhood, as illustrated in Figure 3. Moreover, it exemplifies a straightforward instance of neighborhood selection through a 3-opt exchange, and Figure 3a represents the initial path. The center of the circle shown in Figure 3b was chosen at random from point 14, with r being triple the average path. Assume that the set of cities selected in this way consists of { 5 , 8 , 9 , 10 , 13 , 14 , 15 } . The edges 9 , 10 , 13 , 14 , and 14 , 15 within the set of randomly selected points are shown in Figure 3c, which are the cut off and exchanged for paths. The result can be obtained as shown in Figure 3d. The connection with the shortest path length was selected as the new connection by calculating the total path length of the different connections. The 3-opt algorithm candidate set was created by randomly picking a node from the set of all nodes, whereby the points in its vicinity were calculated based on the radius. Then, the edges formed by certain points in the set of points were randomly picked to carry out the 3-opt algorithm candidate set establishment once the neighborhood point set was acquired. By computing the dynamic 3-opt neighborhood structure, the algorithm was able to limit the range of potential candidates in the later stages, thus decreasing the computational load of the algorithm.

3.5. Fuzzy Logic Control

The classical ACO algorithm takes into account the strength of the pheromone when selecting a path, while the pheromone updating strategy involves combining the pheromone-volatilized residuals from the previous generation with the pheromone concentration of the current newly generated pheromone, which is determined by the length of the path. Consequently, the volatilization intensity of the pheromone from the preceding generation significantly impacts the concentration of the pheromones in the ant colony, thereby potentially serving as a focal point for the algorithm’s convergence. Consequently, it is of utmost importance to determine the appropriate pheromone volatilization strength factor. In the classical ACO algorithm, the pheromone volatilization factor ρ is a constant value, which makes the pheromone volatilization intensity of the algorithm in each iteration consistent to the point where there is not enough guidance for the optimization of the next generation of populations; as such, it is essential to adjust the pheromone volatilization intensity judiciously during the execution of the algorithm. As previously stated, the algorithm utilizes the population fitness value to mirror the diversity of the population and illustrate the disparities among the individuals within the population. As illustrated in Figure 4 [28], population diversity was classified as “good”, “medium”, and “poor” during the course of population evolution. The pheromone volatilization parameter ρ was adjusted dynamically using fuzzy logic control during the evolutionary process to achieve a better utilization of the algorithm for the previous generation’s experience, and this was performed according to the performance of the population diversity. Consequently, this section puts forward a fuzzy logic rooted in population diversity for the purpose of updating the pheromone volatilization factor ρ .
Equation (13) represents the expression of population diversity, and the defuzzification method used in this section was based on population diversity. As such, the output of the fuzzy logic system can be defined as Equation (17):
ρ i , j t = 1 T i , j t ρ i , j t + a + s i n p D k 2 π , T I , J t 0 ρ i , j t = 0.2 , o t h e r s ,
where ρ i , j t denotes the pheromone volatilization intensity factor between the t-th generation of points i , j to be measured, p D k denotes the diversity value of the k-th ant, and T i , j t denotes the number of times the pheromone volatilization intensity is updated between the t-th generation of points i , j to be measured. When p D k is evaluated as “poor”, it is a = 0.1 ; when it is evaluated as “medium”, then it is a = 0.2 ; and when it is evaluated as “good”, then it is a = 0.3 .

3.6. SFACO Algorithm Steps

The SFACO algorithm proposed in this manuscript, as illustrated in Figure 5, was based on the above algorithmic improvements. This was shown, along with its application flowchart, in the laser scanning path planning.

4. Simulation Experiment Verification

In order to verify the performance of the proposed algorithm, the algorithm was validated from two parts, namely the TSP simulation experiment based on the SFACO algorithm and the laser scanning surface path planning simulation experiment that was also based on the SFACO approach.

4.1. TSP Simulation Experiment Based on the SFACO Approach

In this section, the test results of the SFACO approach on the benchmark dataset of TSP are mainly discussed. TSP is a typical discrete combinatorial optimization problem, and it is often used for evaluating the search optimization ability of optimization algorithms. In this part of the experiment, the algorithm was mainly tested using the commonly used datasets obtained from TSPLIB [29]; the standard test set for TSP problems at the University of Heidelberg; and the datasets att48, berlin52, ch150, eil01, kroC100, lin105, pr76, pr144, rat99, rd100, st70, u159 and tsp225 were mainly selected for experiments. The number of nodes in each dataset was 48, 52, 150, 101, 100, 105, 76, 144, 99, 100, 70, 159, and 225, and their theoretical optimal values were 33,522, 7542, 6528, 629, 20,749, 14,379, 108,159, 58,537, 1211, 7910, 675, 42,080, and 3916, respectively.
In this part of the experiments, comparative experiments were conducted by using several state-of-the-art optimization algorithms in order to analyze the performance of the SFACO algorithm. The genetic algorithm (GA) [30], evolutionary simulated annealing algorithm (ESA) [31], fractional order particle swarm optimization (FPSO) [32], improved bat algorithm (IBA) [33], hybrid symbiotic organisms search (SOS), ACO algorithm (SOS–ACO) [34], and maximum and minimum ant colony algorithm (MMAS) [35] approaches were mainly used in the experimental environment of 16 GB RAM, 12th Gen Intel(R) Core(TM) (ASUSTeK COMPUTER INC., China) i5-12500H 2.50 GHz, and MATLAB R2020a. Under these conditions, 10 experimental comparisons were randomly executed with the number of iterations set to 200. The parameter settings of the ACO and SFACO approaches are shown in Table 1.
Table 2 shows the performance evaluation of several algorithms for common TSP problems. Table 2 mainly shows the performance of the 12 datasets (att48, berlin52, ch150, eil01, kroC100, lin105, pr76, pr144, rat99, st70, u159, and tsp225) when the GA, ESA, FPSO, IBA, MMAS, ACO, and the proposed SFACO approaches were used on them in this paper. The table, respectively, shows the mean, optimum, and standard deviation of the results obtained from each algorithm for ten experimental computations of the datasets. From the data recorded in Table 2, the optimal search ability of the basic ACO approach was relatively poor in all the datasets listed in the table, and the average path and shortest path values calculated by the ACO approach were significantly higher than the other optimization methods. In addition, the results of GA were significantly worse than the other algorithms, including ACO. Secondly, the MMAS and FPSO algorithms had relatively good optimal search ability and could obtain theoretical optimal results in the att48, berlin52, ch150, kroC100, lin105, pr76, and pr144 optimal searches. For the eil101 dataset, the MMAS and SFACO approaches were able to obtain the theoretical optimum, but several other algorithms fell short of the computational results of these two methods. The SFACO approach proposed in this paper was able to achieve the theoretical optimum in ten of the TSP datasets (att48, berlin52, eil101, kroC100, lin105, pr76, pr144, rat99, st70, and u159), and the FPSO calculation was found in the ch150 and tsp225 datasets. The effect was better, but most of the standard deviations of the SFACO calculation results were smaller than those of several other algorithms, which showed the better algorithmic stability of the SFACO approach. From the calculation results of the mean value, the mean value of the test results of the SFACO algorithm proposed in this paper on the berlin52 and st70 datasets were able to reach the theoretical optimum. In addition, the SFACO approach was tested on a total of 13 datasets, and the mean value of the test results of 6 of the datasets was smaller than that of the other algorithms, which also proves that the mean value of the test results of proposed SFACO approach is better than that of the other algorithms. Moreover, this also proved the stability of the algorithm and SFACO’s optimal search capability.
Further, in order to express the algorithm search capability more clearly, some of the test data in the TSPLIB dataset were selected to show and compare the results from the att48, berlin52, eil101, pr76, rat99, st70, u159, and tsp225 datasets, which were implemented as shown in Figure 6 and Figure 7.
Figure 6 and Figure 7a,d,g,j show the optimal path result plots of the att48, berlin52, eil101, pr76, rat99, st70, u159, and tsp225 datasets when using the basic ACO algorithm, respectively. Figure 6 and Figure 7b,e,h,k are the optimal path result plots when using SOS-ACO algorithm. Figure 6 and Figure 7c,f,i,l are the optimal path result plots when using the SFACO algorithm. The results of the basic ACO algorithm to compute att48, berlin52, st70, pr76, eil101, u159, and tsp225 were 34,845.63596, 7933.379828, 727.319193508222, 121,710.560462624, 692.073972654823, 45,793.5195407362, 4246.602961659, respectively. Meanwhile, the results for the datasets that were computed using the SFACO algorithm were 33,522, 7542, 675, 108,159, 635, 42,080, and 3985. In the att48, berlin52, st70, and u159 datasets, the solutions computed by the SFACO approach were found to be the same as their theoretical optimal solutions, while the absolute errors between the SFACO approach when based on the eil101 and tsp225 datasets, as well as their corresponding theoretical global optimums, were 6 and 69, respectively. Furthermore, it can be observed from Figure 6 and Figure 7 that, for the att48 and berlin52 test datasets, the nodes were more uniformly geometrically distributed within their neighborhoods. As in Figure 6a–c, the distribution density in the upper right corner of the graph for the att48 dataset was larger than that of the nodes in the lower left corner. The distribution density of nodes in the center region of the image of the berlin52 dataset, as shown in Figure 6d–f, was larger than that of nodes in the surrounding region, and the relative distances between any two nodes in the neighborhood of all the nodes were approximately equal.
Figure 8 shows the comparison of the iterative convergence of the ACO, SOS-ACO, and SFACO approaches, from which it can be seen that the SFACO approach outperformed the basic ACO approach in terms of the convergence speed and convergence results in 12 of the datasets (i.e., att48, berlin52, ch150, eil101, kroC100, lin105, pr144, rat99, rd100, st70 u159, and tsp225).

4.2. Simulation Application of Sliced Surface Laser Scanning When Based on the SFACO Algorithm

This part mainly discusses the laser scanning path planning process and results of the SFACO-based segmented surfaces. In this part of the experiment, the 3D point cloud data model of the surface was firstly established as shown in Figure 9, where Figure 9a,b are the side and front display effects of the surface, respectively. The surface point cloud model established in this paper had 2300 points distributed in 3D space, and all of the points were x 0 , 6.2832 , y 0.9995 , 0.9995 , and z 1 , 10 .
During laser scanning, the laser probe traversed all the points to be measured in a certain order. By optimizing the measurement order of each of the points to be measured, the laser probe movement time can be reduced, effective obstacle avoidance can be performed, and repeated measurements can be avoided. In addition, the laser probe does not need to return to the initial point during the scanning process of the 3D surface. Therefore, in surface measurement path planning, it is necessary to adjust the point laser displacement sensor probe’s attitude to realize the best synergy between the laser probe’s measurement speed and measurement accuracy. The attitude of the probe requires the line laser sensor to emit a beam that can be optimally aligned with the normal direction of the surface being measured. Therefore, in this part of the experiment, the position of the object to be measured in the measurement space θ x , θ y , θ z , θ w under the optimal measurement attitude of the laser probe was firstly calculated according to Equation (8), which was used in the design scheme of the laser measurement attitude that was proposed in Section 2. In this part of the experiment, the actual examples of the motion parameters of the measuring machine under the optimal measurement attitude were calculated from the surface of Figure 9, which are shown in Table 3. Table 3 shows the coordinates of the first 15 points to be measured on the surface as an example. The left side of the table shows the positions of the first 15 points to be measured on the surface in the coordinate system of the measuring machine, and the right side of the table shows the parameters of the motion of the measuring machine in the optimal measuring attitude θ x , θ y , θ z , θ w for the points to be measured in the inverse solution.
After calculating the θ x , θ y , θ z , θ w , the nominal distance matrix between the points to be measured with practical significance was constructed according to the position of each point in the measuring machine through Equations (10) and (11), and the constructed nominal distance matrix was input into the proposed SFACO approach to calculate the optimal measurement path of the surface. Table 4 shows the comparison of the ACO, SOS-ACO, and SFACO measurement path planning results. Table 4 mainly shows the average, optimal value, and standard deviation of the path lengths of the ACO, SOS-ACO, and SFACO approaches, which were run independently 10 times each to calculate the path lengths of the surface of Figure 9. It can be seen that the shortest scanning path was obtained from the SFACO planning.
Figure 10 shows the optimal measured path diagram obtained by the ACO approach with SFACO calculation. Figure 10a,d show the optimal path diagram obtained by the ACO approach for path planning calculation. The path length calculated by the ACO approach was 441.4736, and it can be seen from the figure that there were many cluttered routes in the path diagram, which were obtained based on the calculation of the ACO approach. It was observed that the path planning did not reach the optimal state. Figure 10b,e show the optimal path diagram that was obtained by the SOS-ACO approach for the purpose of path planning calculation, and the path length was calculated as 407.1513. It can be seen that the SOS-ACO approach calculated the images more regularly than the ACO approach, but there are still some paths that were messy. Figure 10c,f show the optimal path diagram obtained by the SFACO approach for the purpose of path planning calculation, and the path length calculated was 405.997174156896. Figure 10c,f show the path result, and the scanning path was found to be more regular compared to the results shown in Figure 10a,d and Figure 10c,f. In addition, we can divide the whole surface from left to right into four regions, and it can be seen that they are different. Furthermore, it can be seen that the surface path planning scheme was not the same for the different curvatures, and there was less interspersing, which usually occurred when scanning from left to right. Combined with the optimal measurement posture of the laser probe, surfaces with the same curvature will be scanned centrally and then transferred to other surface areas. Therefore, the scanning paths obtained by the SFACO approach were very consistent with the optimal measurement attitude.

4.3. Analysis of the SFACO Algorithm

The SFACO algorithm proposed in this manuscript was proved to be effective by the TSP planning benchmark dataset, and the path planning results were subsequently obtained by applying the SFACO approach to 3D surface laser scanning path planning. However, based on the TSP dataset path planning results, the superiority of the SFACO algorithm proposed in this manuscript was not found to be significant in the case of more nodes. Therefore, subsequent improvements are needed to enhance the performance of the algorithm in large-scale node path planning problems. The population diversity of the algorithm can be further improved by improving the evolutionary strategy, and the global search performance of the algorithm can be improved while the local search capability is strengthened. In addition, the computational steps of the algorithm were reduced to decrease the complexity of the algorithm and increase the computational speed of the algorithm in instances of large-scale node localization in order to improve the practicality of the algorithm in terms of real production.

5. Conclusions

This paper introduces the SFACO algorithm, a novel approach to path planning for the 3D laser scanning of intricate surfaces when using a four-coordinate measuring instrument based on point laser displacement sensors. Using a combination of adaptive heuristic factors and a population diversity expression scheme, which was based on prior knowledge and enhances the convergence of the population while ensuring the diversity of the population, a sub-population strategy was created by simulating the human sociology department. The SFACO algorithm utilizes a dynamic domain structure to modify the ant colony paths during the iteration process in order to increase population diversity. At long last, fuzzy logic control has been implemented to modify the pheromone volatilization parameters as the evolution progresses in order to maximize the efficiency of the algorithm for the preceding generation’s experience. The SFACO algorithm proposed in this paper has been tested experimentally, and 13 benchmark test datasets of TSP have been chosen to validate the algorithm. The results of the experiments demonstrate that the SFACO approach outperforms other path planning schemes. Ultimately, the SFACO algorithm was employed to devise the most effective path planning plan for intricate surface 3D laser models.

Author Contributions

Conceptualization, J.S. and Y.P.; methodology, Y.P.; software, Y.P.; validation, X.X. and J.S.; formal analysis, X.X. and J.S.; investigation, X.X.; resources, J.S.; data curation, J.S.; writing—original draft preparation, Y.P.; writing—review and editing, J.S.; visualization, X.X.; supervision, X.X.; project administration, J.S. and Y.P.; funding acquisition, J.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (grant no. 62263028) and the Natural Science Foundation of Shaanxi Provincial Department of Science and Technology (grant no. 2023-JC-QN-0633).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are contained within the article. The dataset cited in this study are available in TSPLIB [29].

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhu, X.; Chen, Z.; Yang, P.; Huang, X.; Guo, Z.; Chang, Z.; Wang, X.; Zhang, P. Design optical surface as the measurement datum in measuring gear tooth flank by symmetrical laser interferometer. Opt. Laser Technol. 2024, 169, 110034. [Google Scholar] [CrossRef]
  2. Zolfaghari, P.; Khodapanahandeh, M.; Urey, H.; Ferhanoglu, O. Cascaded laser scanning towards high-resolution LiDAR. Opt. Laser Technol. 2024, 168, 109906. [Google Scholar] [CrossRef]
  3. Ding, L.J.; Dai, S.G.; Mu, P.A. CAD-Based Path Planning for 3D Laser Scanning of Complex Surface. Procedia Comput. Sci. 2016, 92, 526–535. [Google Scholar] [CrossRef]
  4. Sedao, X.; Steinlin, S.; Becker, J.M.; Fournel, T. Ultrafast Laser Surface Functionalization and Route to Industrial Applications: Computer-Vision-Based Path Planning. In Proceedings of the 2023 Conference on Lasers and Electro-Optics Europe & European Quantum Electronics Conference (CLEO/Europe-EQEC), Munich, Germany, 26–30 June 2023; p. cm_p_15. [Google Scholar]
  5. Diao, S.; Yang, Y.; Cui, G.; Chen, Y. Complex parts machining path planning through cross-source point cloud processing. Comput. Commun. 2023, 203, 48–59. [Google Scholar] [CrossRef]
  6. Zong, Y.; Liang, J.; Pai, W.; Ye, M.; Ren, M.; Zhao, J.; Tang, Z.; Zhang, J. A high-efficiency and high-precision automatic 3D scanning system for industrial parts based on a scanning path planning algorithm. Opt. Lasers Eng. 2022, 158, 107176. [Google Scholar] [CrossRef]
  7. Huang, P.; Lin, L.; Xu, K.; Huang, H. Autonomous Outdoor Scanning via Online Topological and Geometric Path Optimization. IEEE Trans. Intell. Transp. Syst. 2022, 23, 3682–3695. [Google Scholar] [CrossRef]
  8. Yan, Y.; He, G.; Sang, Y.; Yao, C.; Wang, S.; Chen, F. A two-module automated scanning inspection planning methodology for complex surfaces on coordinate measuring machine. Measurement 2022, 202, 111827. [Google Scholar] [CrossRef]
  9. Pop, P.C.; Cosma, O.; Sabo, C.; Sitar, C.P. A comprehensive survey on the generalized traveling salesman problem. Eur. J. Oper. Res. 2023, 314, 819–835. [Google Scholar] [CrossRef]
  10. Thong-ia, S.; Champrasert, P. Gene-Ants: Ant Colony Optimization with Genetic Algorithm for Traveling Salesman Problem Solving. In Proceedings of the 2023 International Technical Conference on Circuits/Systems, Computers, and Communications (ITC-CSCC), Jeju, Republic of Korea, 25–28 June 2023; pp. 1–5. [Google Scholar] [CrossRef]
  11. Zhou, X.; Ma, H.; Gu, J.; Chen, H.; Deng, W. Parameter adaptation-based ant colony optimization with dynamic hybrid mechanism. Eng. Appl. Artif. Intell. 2022, 114, 105139. [Google Scholar] [CrossRef]
  12. Cui, Y.; Zhong, J.; Yang, F.; Li, S.; Li, P. Multi-Subdomain Grouping-Based Particle Swarm Optimization for the Traveling Salesman Problem. IEEE Access 2020, 8, 227497–227510. [Google Scholar] [CrossRef]
  13. Wu, M.; Ou, X.; Lu, Y.; Li, W.; Yu, D.; Liu, Z.; Ji, C. Heterogeneous Cuckoo Search-Based Unsupervised Band Selection for Hyperspectral Image Classification. IEEE Trans. Geosci. Remote. Sens. 2023, 62, 1–16. [Google Scholar] [CrossRef]
  14. Zhou, Y.; Li, W.; Wang, X.; Qiu, Y.; Shen, W. Adaptive gradient descent enabled ant colony optimization for routing problems. Swarm Evol. Comput. 2022, 70, 101046. [Google Scholar] [CrossRef]
  15. Reda, M.; Onsy, A.; Elhosseini, M.A.; Haikal, A.Y.; Badawy, M. A discrete variant of cuckoo search algorithm to solve the Travelling Salesman Problem and path planning for autonomous trolley inside warehouse. Knowl.-Based Syst. 2022, 252, 109290. [Google Scholar] [CrossRef]
  16. Zhang, Z.; Yang, J. A discrete cuckoo search algorithm for traveling salesman problem and its application in cutting path optimization. Comput. Ind. Eng. 2022, 169, 108157. [Google Scholar] [CrossRef]
  17. Pal, K.; Sachan, S.; Gholian-Jouybari, F.; Hajiaghaei-Keshteli, M. An analysis of the security of multi-area power transmission lines using fuzzy-ACO. Expert Syst. Appl. 2023, 224, 120070. [Google Scholar] [CrossRef]
  18. Sui, F.; Tang, X.; Dong, Z.; Gan, X.; Luo, P.; Sun, J. ACO+PSO+A∗: A bi-layer hybrid algorithm for multi-task path planning of an AUV. Comput. Ind. Eng. 2023, 175, 108905. [Google Scholar] [CrossRef]
  19. Chuang, Y.T.; Hung, Y.T. A real-time and ACO-based offloading algorithm in edge computing. J. Parallel Distrib. Comput. 2023, 179, 104703. [Google Scholar] [CrossRef]
  20. Rivera, G.; Cruz-Reyes, L.; Fernandez, E.; Gomez-Santillan, C.; Rangel-Valdez, N.; Coello Coello, C.A. An ACO-based Hyper-heuristic for Sequencing Many-objective Evolutionary Algorithms that Consider Different Ways to Incorporate the DM’s Preferences. Swarm Evol. Comput. 2023, 76, 101211. [Google Scholar] [CrossRef]
  21. Das, M.; Roy, A.; Maity, S.; Kar, S. A Quantum-inspired Ant Colony Optimization for solving a sustainable four-dimensional traveling salesman problem under type-2 fuzzy variable. Adv. Eng. Inform. 2023, 55, 101816. [Google Scholar] [CrossRef]
  22. Liu, C.; Wu, L.; Xiao, W.; Li, G.; Xu, D.; Guo, J.; Li, W. An improved heuristic mechanism ant colony optimization algorithm for solving path planning. Knowl.-Based Syst. 2023, 271, 110540. [Google Scholar] [CrossRef]
  23. Ren, T.; Luo, T.; Jia, B.; Yang, B.; Wang, L.; Xing, L. Improved ant colony optimization for the vehicle routing problem with split pickup and split delivery. Swarm Evol. Comput. 2023, 77, 101228. [Google Scholar] [CrossRef]
  24. Pu, Y.F.; Siarry, P.; Zhu, W.Y.; Wang, J.; Zhang, N. Fractional-Order Ant Colony Algorithm: A Fractional Long Term Memory Based Cooperative Learning Approach. Swarm Evol. Comput. 2022, 69, 101014. [Google Scholar] [CrossRef]
  25. Pu, Y.; Song, J.; Wu, M.; Xu, X.; Wu, W. Node location using cuckoo search algorithm with grouping and drift strategy for WSN. Phys. Commun. 2023, 59, 102088. [Google Scholar] [CrossRef]
  26. E, J.; Liu, J.; Wan, Z. A novel adaptive algorithm of particle swarm optimization based on the human social learning intelligence. Swarm Evol. Comput. 2023, 80, 101336. [Google Scholar] [CrossRef]
  27. Chen, L.; Zhang, H.; Zhang, X. Adaptive dynamic neighborhood hybrid cuckoo search algorithm for solving traveling salesman problems. Comput. Eng. Appl. 2018, 54, 42–50. [Google Scholar]
  28. Ou, X.; Wu, M.; Pu, Y.; Tu, B.; Zhang, G.; Xu, Z. Cuckoo search algorithm with fuzzy logic and Gauss–Cauchy for minimizing localization error of WSN. Appl. Soft Comput. 2022, 125, 109211. [Google Scholar] [CrossRef]
  29. TSPLIB. TSPLIB Standard Test Set for TSP Problem of Universität Heidelberg 2013. Available online: http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95 (accessed on 23 July 2023).
  30. Holland, J. Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence; MIT Press: Boston, MA, USA, 1975. [Google Scholar]
  31. Yip, P.; Pao, Y.H. Combinatorial optimization with use of guided evolutionary simulated annealing. IEEE Trans. Neural Netw. 1995, 6, 290–295. [Google Scholar] [CrossRef]
  32. Couceiro, M.; Sivasundaram, S. Novel fractional order particle swarm optimization. Appl. Math. Comput. 2016, 283, 36–54. [Google Scholar] [CrossRef]
  33. Osaba, E.; Yang, X.S.; Diaz, F.; Lopez-Garcia, P.; Carballedo, R. An improved discrete bat algorithm for symmetric and asymmetric Traveling Salesman Problems. Eng. Appl. Artif. Intell. 2016, 48, 59–71. [Google Scholar] [CrossRef]
  34. Wang, Y.; Han, Z. Ant colony optimization for traveling salesman problem based on parameters optimization. Appl. Soft Comput. 2021, 107, 107439. [Google Scholar] [CrossRef]
  35. Stutzle, T.; Hoos, H. MAX-MIN Ant System and local search for the traveling salesman problem. In Proceedings of the 1997 IEEE International Conference on Evolutionary Computation (ICEC ’97), Indianapolis, IN, USA, 13–16 April 1997; pp. 309–314. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the four-coordinate laser scanning measurement.
Figure 1. Schematic diagram of the four-coordinate laser scanning measurement.
Sensors 24 01098 g001
Figure 2. Attitude measurement in the normal direction.
Figure 2. Attitude measurement in the normal direction.
Sensors 24 01098 g002
Figure 3. The domain selection was exemplified by 3-opt exchanges. (The example graph selects point 14 (red point) as the center point of the dynamic neighborhood, constructs the set of cities (all orange points) based on the radius r, and randomly selects the edges (red dashed lines) for the transformation, and the graph is d after the transformation).
Figure 3. The domain selection was exemplified by 3-opt exchanges. (The example graph selects point 14 (red point) as the center point of the dynamic neighborhood, constructs the set of cities (all orange points) based on the radius r, and randomly selects the edges (red dashed lines) for the transformation, and the graph is d after the transformation).
Sensors 24 01098 g003
Figure 4. Fuzzy logic graphical representation of the pheromone volatilization factors.
Figure 4. Fuzzy logic graphical representation of the pheromone volatilization factors.
Sensors 24 01098 g004
Figure 5. SFACO algorithm flowchart.
Figure 5. SFACO algorithm flowchart.
Sensors 24 01098 g005
Figure 6. Comparisons of the ACO, SOS-ACO, and SFACO results in the TSP problem.
Figure 6. Comparisons of the ACO, SOS-ACO, and SFACO results in the TSP problem.
Sensors 24 01098 g006
Figure 7. Comparisons of the ACO, SOS-ACO, and SFACO results in the TSP problem.
Figure 7. Comparisons of the ACO, SOS-ACO, and SFACO results in the TSP problem.
Sensors 24 01098 g007
Figure 8. Iterative convergence curves of the ACO, SOS-ACO, and SFACO algorithms.
Figure 8. Iterative convergence curves of the ACO, SOS-ACO, and SFACO algorithms.
Sensors 24 01098 g008
Figure 9. A 3D point cloud data model of the surface.
Figure 9. A 3D point cloud data model of the surface.
Sensors 24 01098 g009
Figure 10. Plots of the ACO, SOS-ACO, and SFACO approaches for the optimal planning measurement paths.
Figure 10. Plots of the ACO, SOS-ACO, and SFACO approaches for the optimal planning measurement paths.
Sensors 24 01098 g010
Table 1. The ACO parameters.
Table 1. The ACO parameters.
ParametersValue
Population size m = 50
Initial value of the pheromone importance factor α = 1
Initial value of the heuristic function importance factor β = 5
Initial value of the pheromone volatilization factor τ 0 = 0.2
Table 2. Calculation results of the TSP problem.
Table 2. Calculation results of the TSP problem.
GAESAFPSOIBAMMASACOSOS-ACOSFACO
avg.--33,585.70-33,576.4035,834.3233,539.4933,528.40
att48best--33,522.00-33,522.0034,845.6433,523.7133,522.00
std-----481.2615.7812.80
avg.7542.007542.007542.007542.007596.008141.727544.377542.00
berlin52best7542.007542.007542.007542.007542.007933.387544.377542.00
std0.000.000.000.0054.3994.500.000.00
avg.--6545.40-6552.006908.256589.386568.30
ch150best--6528.00-6528.006852.336582.316544.00
std--17.45-24.0961.357.7313.11
avg.673.80658.40636.50646.40636.10705.52648.80638.50
eil101best655.00650.00630.00634.00629.00692.07644.95629.00
std12.504.407.60-7.189.163.382.20
avg.21,510.4021,170.4020,812.4021,050.0020,812.7022,115.2020,798.8520,789.30
kroC100best20,861.0020,749.0020,749.0020,749.0020,749.0021,864.0120,780.2220749.00
std390.20188.7063.59-63.90146.7320.7614.21
avg.--14,454.40-14,458.6016,022.6914,423.4514,404.00
lin105best--14,379.00-14,379.0015,754.0114,406.1214,379.00
std--73.77-80.04174.0917.3526.92
avg.--109,470.50-109,646.00123,569.31108,326.58108,295.40
pr76best--108,159.00-108,159.00121,710.56108,304.51108,159.00
std--1327.40-1507.441162.7334.3650.85
avg.60,591.4058,807.3058,679.3058,537.0058,560.3061,315.7558,615.9558,602.10
pr144best58,599.0058,574.0058,537.0058,537.0058,537.0060,877.4558,602.3258,537.00
std2342.80220.90142.65-23.31203.6822.1316.72
avg.--1215.20-1214.501333.321231.541218.70
rat99best--1211.00-1212.001311.341223.121211.00
std--4.21-3.5111.306.326.31
avg.709.80682.10682.30679.00682.60742.58677.53676.00
st70best675.00675.00675.00675.00675.00727.32677.11675.00
std5.703.907.38-7.698.630.630.77
avg.--42,202.50-42,159.5046,244.1642,246.4842,187.80
u159best--42,080.00-42,080.0045,793.5242,193.0842,080.00
std--122.86-79.65294.4744.6455.64
avg.--3972.10-3971.004291.193987.724026.85
tsp225best--3916.00-3919.004246.603970.643985.00
std--56.90-55.7730.4210.4916.69
Table 3. Examples of the surface part coordinates.
Table 3. Examples of the surface part coordinates.
BeforeAfter
x y z θ x θ y θ z θ w
0.0000000.0000001−0.1810914.9985110.775792
0.1282280.1278771−0.3606614.9931010.760739
0.2564570.2536551−0.5371014.9805510.736746
0.3846850.3752671−0.7086514.9573510.703068
0.5129130.4907181−0.8732914.9195910.658720
0.6411410.5981111−1.0284614.8630110.602535
0.7693700.6956831−1.1709014.7832410.533310
0.8975980.7818311−1.2963714.6764410.450083
1.0258260.8551431−1.3997314.5403910.352579
1.1540540.9144131−1.4756214.3761010.241807
1.2822830.9586681−1.5202014.1892310.120598
1.4105110.9871821−1.5335413.9900913.147889
1.5387390.9994861−1.6081413.9095913.199096
1.6669680.9953791−1.5897113.7147413.323844
1.7951960.9749281−1.5627513.5358213.440314
Table 4. Comparison of the ACO and SFACO measurement path planning results.
Table 4. Comparison of the ACO and SFACO measurement path planning results.
Avg.BestStd.
ACO444.6934441.47362.5467
SOS-ACO407.2981407.15130.1304
SFACO406.3894405.99720.2838
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

Song, J.; Pu, Y.; Xu, X. Adaptive Ant Colony Optimization with Sub-Population and Fuzzy Logic for 3D Laser Scanning Path Planning. Sensors 2024, 24, 1098. https://doi.org/10.3390/s24041098

AMA Style

Song J, Pu Y, Xu X. Adaptive Ant Colony Optimization with Sub-Population and Fuzzy Logic for 3D Laser Scanning Path Planning. Sensors. 2024; 24(4):1098. https://doi.org/10.3390/s24041098

Chicago/Turabian Style

Song, Junfang, Yuanyuan Pu, and Xiaoyu Xu. 2024. "Adaptive Ant Colony Optimization with Sub-Population and Fuzzy Logic for 3D Laser Scanning Path Planning" Sensors 24, no. 4: 1098. https://doi.org/10.3390/s24041098

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