The increasingly mature intelligent driving technology has brought new safety problems, which has resulted in higher requirements for vehicle safety (Stilgoe, 2021). The ultra-flat carrying robot (UCR) is a kind of road test equipment applied to the functional safety of intelligent driving vehicles, which can be equipped with a variety of soft targets to reproduce road hazard scenarios (Steffan et al., 2017; Uchida and Yamazaki, 2018; Bartholomew et al., 2023). It fits well with the testing needs of industry regulations and compensates for the limitations of previous testing methods. The ultra-flat carrying robot has the characteristics of stability, reliability, easy maintenance, wide use, and low radar properties. In detail, first of all, the ultra-flat carrying robot's upper cover plate and body are of an integrated design, which has stronger load-bearing capacity and higher stability; it adopts the modular design of bottom drive + central control + upper computer, which is more stable in control and more convenient in upgrading. Secondly, the ultra-flat carrying robot can carry soft target dummies, bicycles, and electric scooters, and its trajectory can be customized to meet the test requirements in the New Car Assessment Program (NCAP) and other regulations. Last but not least, the ultra-flat carrying robot adopts the structural design of invisible materials combined with an inclined plane for the first time in the world, which greatly reduces the radar attribute value of the product and effectively avoids the false detection of vehicle sensors in the testing process. The ultra-flat carrying robot usually adopts the Proportional-Integral (PI) control algorithm. For the purpose of enabling the ultra-flat carrying robot to be equipped with superior control performance, it is of vital importance to establish an accurate mathematical model of the motion control system of the ultra-flat carrying robot and optimize the parameters for the PI controller. In general, the parameters of Proportional-Integral-Derivative (PID) controllers are largely dependent on manual experience to try and figure out, which results in a considerable amount of work, wastage of time, and difficulty in achieving the best control effect (Chunchen et al., 2017).
The particle swarm optimization (PSO) algorithm is typically employed to address issues such as system parameter identification and optimization. For multi-parameter identification models and high-dimensional complex optimization problems, the standard PSO algorithm tends to be premature and fall into the local optimum (Cheng et al., 2021), which leads to poor identification accuracy and unsatisfactory optimization results. In order to strengthen the performance of PSO algorithms, many scholars at home and abroad have actively explored and applied it to the system parameter identification and optimization of PID parameters. Their studies have been summarized in Table 1 for better readability. Ebrahimi et al. (2019) proposed a flexible PSO algorithm to estimate the parameters of the photovoltaic cell model and verified that the algorithm has high accuracy and robustness through three different solar modules. Wang B. M. et al. (2021) presented a random weight PSO algorithm to identify the dynamics parameters of the robot, and the simulation results showed that the random weight PSO algorithm has high accuracy for the identification of robot dynamics parameters. Liu and Zhang (2022) put forward a loop-iteration PSO algorithm to identify multiple parameters of the electric vehicle wireless charging system, which can achieve high identification accuracy under the condition of less detection. Kang and Sun (2023) combined the PSO with spatial disturbance to form an improved PSO algorithm, which realized the integrated identification of the asynchronous motor and load parameters. Chen et al. (2023) adopted an improved chaotic PSO algorithm integrated with the principle of elite immunity to identify the parameters of the permanent magnet synchronous motor online, and verified the effectiveness of the algorithm through simulation and comparison. Wang Q. L. et al. (2021) used a hybrid PSO algorithm that introduced the concept of hybridization in genetic algorithms to optimize the PID controller parameters of automated guided vehicles, which achieved a good control effect. Xiang and Chen (2022) proposed a modified cloud theory-based PSO algorithm introducing cloud evolution and mutation methods to set the initial PID control parameters and optimize the control rules of the fuzzy PID controller, thereby dramatically suppressing oscillation and overshoot. Lv et al. (2022) designed an immune PSO algorithm by improving the inertia weight, learning factor, and particle learning mode and introducing the artificial immunity idea, and then optimized the PID controller. It was verified that the immune PSO algorithm has a better optimal control effect in the simulation environment.
Table 1. Summary of the literature review.
The above studies have resulted in an enhanced performance of the PSO algorithm for system parameter identification and parameter optimization to varying degrees. Nevertheless, there exist issues such as the insufficient performance of the algorithm under multiple parameters, the added sophistication to the improved algorithm, and the enormous computational effort of the algorithm itself and the long time taken. Furthermore, their research objects are mostly low-order systems, while there are comparatively few domestic studies conducted regarding the development of intelligent driving test equipment such as ultra-flat carrying robots at present, and the control performance of ultra-flat carrying robots still need to be further improved.
In light of the above issues, taking the ultra-flat carrying robot as the research subject, this paper proposes an improved PSO algorithm called the IWCNS-PSO and applies it to the system parameter identification and optimization of PI parameters, as shown in Figure 1. The lower left corner of Figure 1 refers to the entity UCR, and the lower right corner (the box named “UCR model”) of Figure 1 shows roughly the internal hardware structure of the ultra-flat carrying robot, which contains steering wheels (front wheels), driving wheels (rear wheels), motors, electric push cylinders, torsion springs, and so on. In this paper, the mathematical model of the motion control system of the ultra-flat carrying robot is firstly established and determines the parameters to be identified. Afterwards, for the purpose of accurately identifying the unknown parameters in the model, the IWCNS-PSO algorithm is proposed in this paper, while verifying the performance of the IWCNS-PSO via test functions and comparison with the standard PSO, LDIW-PSO, Ant Colony Optimization (ACO), and Simulated Annealing (SA), thereby highlighting the superiority of the IWCNS-PSO algorithm. Thereafter, on the basis of the IWCNS-PSO algorithm, with the sum of squares due to error (SSE) being selected as the fitness function, this paper completes the transfer function identification for the motion control system of the ultra-flat carrying robot, in addition to comparing the identification results of the other two PSO algorithms. Finally, by employing a MATLAB/Simulink interactive simulation, this paper adopts the critical proportioning method and the IWCNS-PSO algorithm respectively with ITAE as the fitness function to tune and optimize the PI controller parameters, which improves the speed, accuracy, and stable control performance of the system. The IWCNS-PSO algorithm introduced in this paper represents an efficient system identification and system optimization method with a certain degree of value for engineering applications.
Figure 1. Control method of the ultra-flat carrying robot.
The principal contributions of this paper are outlined as follows:
(1) The fourth-order mathematical model of the motion control system in the ultra-flat carrying robot, which is consistent with the features of the test data, is established by means of the system identification method, and the seven unknown parameters to be identified are determined.
(2) With the inspiration of the standard PSO and LDIW-PSO, this paper proposes the IWCNS-PSO with inertia weight cosine adjustment and introduction of natural selection principle. With the Rastrigin function and Rosenbrock function, the performance of this algorithm is analyzed in comparison with the other two PSO algorithms and the other two heuristic algorithms. Both the speed and accuracy of optimization of the PSO algorithm have been remarkably improved.
(3) The transfer function of the motion control system in the ultra-flat carrying robot is accurately identified using the IWCNS-PSO algorithm. An interactive simulation model of optimizing PI parameters with the IWCNS-PSO algorithm is built in MATLAB/Simulink. The optimized PI parameters reduce the adjustment time to 7.99 s and the overshoot to 13.41% of the system, which significantly enhances the control performance of the system.
(4) This paper compares and analyzes the tuning and optimization results of the PI controller parameters obtained by the critical proportioning method and the IWCNS-PSO algorithm, and proposes to combine the two for applications in engineering practice. To a certain extent, this paper provides theoretical guidance for the development and debugging of similar electromechanical products such as ultra-flat carrying robots.
2 Proposed methodology 2.1 System identification-based modeling of ultra-flat carrying robotsWith the aim of quantitatively analyzing and optimizing a control system, it is imperative to first develop its mathematical model. The motion control chassis of the ultra-flat carrying robot consists of the control module, drive subsystem, brake motor, etc., which is a comparatively complex system with greater difficulty in modeling by theoretical analysis methods. System identification involves no in-depth insight into the internal mechanisms of the system, which exploits the information available from the input and output data to build a mathematical model of the system for use in system prediction and design, among other things (Ljung, 1987; De Persis and Tesi, 2019). By adopting the system identification method, this paper establishes the mathematical model of the motion control system in the ultra-flat carrying robot and obtain its transfer function, with the research idea illustrated in Figure 2.
Figure 2. Research idea.
The motion control chassis of the ultra-flat carrying robot is a speed closed-loop control system, which can be equated to the form shown in the lower box in Figure 2, whose equivalent transfer function G1(s) is termed as the closed-loop transfer function. Meanwhile, this system represents a unit negative feedback system, thereby, G1(s) can be expressed as:
G1(S) = GPI + UCR (S)1 + GPI + UCR (S) (1)The time-domain performance indexes of the control system are determined in accordance with the output response of the system subjected to a unit step signal with zero initial condition (Zheng et al., 2017). Therefore, this paper selects the unit step speed signal as the input signal for the ultra-flat carrying robot during the test, while its actual response speed of the output is recorded with the inertial navigation (Collin et al., 2019). For the sake of ensuring the fitting degree between the output series of the established mathematical model and the actual data, it is crucial to choose the appropriate form of the transfer function. The satisfactory fitting effect should be as shown in Figure 3. In consideration of the fact that the unit step response in a second-order system normally does not match with Figure 3, it is considered to increase the order of the system to enhance the fitting effect. By combining experience and previous attempts, the number of poles of the transfer function to be identified are chosen to be four and the number of zeros to be two. The form of it is as follows:
G1(s)=λs2+μs+φs4+αs3+βs2+γs +δ (2)where α, β, γ, δ, λ, μ, and φ are the parameters to be identified.
Figure 3. Satisfactory fitting effect of the identification data and the actual data.
First and foremost, the PSO algorithm and test data are employed to identify the closed-loop transfer function G1(s) of the motion control system in the ultra-flat carrying robot, followed by deriving the equivalent transfer function GPI+UCR(s) of the PI controller and the UCR model in series according to the inverse of Equation 1. Under the condition that the transfer function of the PI controller is known, the transfer function GUCR(s) of the UCR model is available to be obtained and applied to the subsequent tuning and optimization of the PI controller parameters.
2.2 Standard PSO algorithmParticle swarm optimization (PSO) refers to a swarm intelligence algorithm originally introduced by Eberhart and Kennedy (1995) and Kennedy and Eberhart (1995), which was motivated by some of the social behaviors of animals, such as foraging in flocks of birds. As a stochastic search method, it features the advantages of good robustness, easy implementation, low parameter settings, and small memory space occupation (Jain et al., 2022), while being widely applied in system optimization, neural network training, pattern recognition, and other fields (Singh et al., 2022).
The PSO algorithm firstly initializes a set of particles without mass randomly in the search space, while each particle stands for a feasible solution in space, which gets the corresponding fitness value by being substituted into the objective function. In the search for the optimal solution, the particles continuously renew their speeds and positions with reference to the optimal position they have reached and follow the particle with the optimal position in the population, thereby seeking the optimal solution in the solution space. It is assumed that the dimension of the solution space is d while the size of the population is n, then the speed and position for the i-th particle can be written as:
vi=(vi1,vi2,...,vid),i = 1,2,...,d (3) xi=(xi1,xi2,...,xid),i = 1,2,...,d (4)This algorithm keeps two optimal positions all along: one is the optimal position of the i-th particle passed so far and the other is the optimal position for all the particles in the whole population, which are denoted by pbesti and gbest, respectively. In other words, pbest and gbest stand for the optimal location historically and globally in the k-th iteration. Furthermore, pbesti of the i-th particle corresponds to its historical best fitness value, while all particles share the position (gbest) of global best fitness value. Upon locating these two optimal values, the particle updates its speed and position in each iteration in line with the following equations:
vik+1=ωvik+c1r1(pbestik-xik)+c2r2(gbest-xik) (5) xik+1=xik+vik+1 (6)where k refers to the number of current iteration; ω denotes the inertia weight; and c2 denote the cognitive learning factor and social learning factor of the particle, respectively, which normally take values between 0 ~2 (Xia and Li, 2020), signifying the magnitude of the influence exerted by the experience of the particle itself and the population on the position movement of this particle; and r1 and r2 represent two numbers between [0, 1] that are generated randomly. It is precisely through the synergistic cooperation and information sharing among the particles that they decide the next movement (Shu et al., 2021).
2.3 IWCNS-PSO algorithmIn the PSO algorithm, the larger the inertia weight ω is, the wider the particle's search range and the more robust the global optimization ability will be (Bhattacharya et al., 2019) while the more feeble the local optimization capability will become; the smaller the ω is, the more feeble the particle's global optimization ability will be while the more robust the local optimization ability will become. In the standard PSO algorithm, ω is a fixed value. Therefore, the performance of the PSO algorithm can be optimized by means of adjusting the inertia weight ω.
Shi and Eberhart (1998) put forward the strategy of linear decreasing inertia weight (LDIW), as shown in Figure 4, which can realize the process of changing from a stronger global search at the initial stage to a stronger local search at the late stage, and can achieve better solution accuracy to a certain extent compared with ω as a fixed value. However, in this strategy, the change rate of the inertia weight is a fixed value, so that the numbers of iterations of the particle swarm in the more robust global search and the more robust local search are essentially identical, thereby the global optimal solution is likely not to be found in the global search at the early stage of the iteration, and is likely not to better approach the global optimal solution in the local search at the late stage of the iteration.
Figure 4. Inertia weight changes of the standard PSO, LDIW-PSO, and IWCNS-PSO.
Based on this, this paper further optimizes the inertia weight by adjusting the change rate of the inertia weight to a dynamic change and proposes an improved PSO algorithm (IWCNS-PSO) with inertia weight cosine adjustment and the introduction of the principle of natural selection. The improved inertia weight is expressed as:
ω(k)=ωmin(1−cos(πk2kmax))+ωmaxcos(πk2kmax) (7)where and ωmin = 0.4. The change of the inertia weight is shown in Figure 4. During the initial stage of the search, ω is larger and its change rate is slower, which is beneficial for the particle swarm to conduct a long-term global search and jump out of the local optimum. Consequently, the likelihood of finding the global optimal solution is substantially enhanced. In the late stage of the search, ω is smaller and its change rate is faster, which strengthens the ability of particles to approach the global optimal solution and further improves the solution accuracy of the algorithm. In addition, in the first third period of the whole iteration process, ω changes slowly. In order to further accelerate the convergence, a principle similar to the natural selection in genetic algorithms is introduced: after each iteration is completed, all the particles are sorted by fitness values, and the speed and position of the same number of the worst particles are substituted with those of the optimal 25% of particles in the population, keeping pbest and gbest unchanged. In this way, the proportion of optimal particles in the population can be increased, and the performance of the particles in each iteration is better. As a result, the convergence speed is accelerated. The integrated flow of the IWCNS-PSO algorithm is illustrated in Figure 5.
Figure 5. IWCNS-PSO algorithm flow chart.
The detailed implementation steps of the IWCNS-PSO algorithm are described as follows:
Step 1: Set the initial parameters of the IWCNS-PSO algorithm, such as c1, c2, ωmin, ωmax, etc. Randomly initialize the speed and position of each particle in the population;
Step 2: Calculate the initial fitness value of each particle according to the objective function, store the current position of each particle in respective pbest, and store the position of the particle with the optimal fitness value in gbest;
Step 3: Update the inertia weight in accordance with Equation 7;
Step 4: Update the speed of each particle in accordance with Equation 5;
Step 5: Judge whether the speed of the particle is beyond the limited range. If it exceeds this, the speed is modified to the corresponding boundary value; otherwise, it remains unchanged;
Step 6: Update the position of each particle in accordance with Equation 6;
Step 7: Judge whether the position of the particle is beyond the limited range. If it exceeds this, the position is modified to the corresponding boundary value; otherwise, it remains unchanged;
Step 8: Update the fitness value of each particle. If the particle's current fitness value is better than its historical optimal fitness value, update its historical optimal fitness value to the current fitness value, and update the particle's current position to pbest, otherwise it remains unchanged. Update the position of the particle with the optimal fitness value in the whole population to gbest;
Step 9: If the current iteration number is in the first third of the maximum number of iterations, sort all the particles in line with the current fitness values and replace the speed and position of the identical number for the worst particles with those of the optimal 25% of particles, keeping pbest and gbest unchanged; otherwise, skip Step 9;
Step 10: If the maximal number with iterations has been attained, output the optimal solution gbest, and the algorithm ends; otherwise, return to Step 3.
3 Comparison and verification of algorithm performanceThe IWCNS-PSO algorithm is refined by inertia weight cosine adjustment strategy, while the quality of the particles in the algorithm is optimized by the principle of natural selection. Through the fitness value and iteration time (Xia and Li, 2020), this paper assesses the merits and demerits of the algorithms, so as to embody the effectiveness of the proposed IWCNS- PSO algorithm in complex optimization problems, as well as the fact that the IWCNS-PSO algorithm features the best effect, which is relative to the other two PSO algorithms and the other two heuristic algorithms.
As an essential indicator of the performance of intelligent optimization algorithms, the convergence curve can intuitively reflect whether the algorithm falls into a local optimal solution, as well as the time and the number of times it falls into a local optimal solution. To verify the superiority of the IWCNS-PSO algorithm, the Rastrigin function and Rosenbrock function are selected typically for testing (Fischer et al., 2023), in which the convergence curves of the IWCNS-PSO algorithm are in comparison with the convergence curves of the standard PSO algorithm, LDIW-PSO algorithm, simulated annealing (SA) algorithm, and ant colony optimization (ACO) algorithm. The specific equation of the Rastrigin function is:
f(x)=∑i=1n(xi2-10cos(2πxi)+10), x∈[-5.12,5.12] (8)The specific equation of the Rosenbrock function is:
f(x)=∑i=1n-1[100(xi+1-xi2)2+(xi-1)2] ,x∈[-30,30] (9)where n is the number of variables, namely, the dimensionality of the solution space. The Rastrigin function is a non-linear multimodal function with multiple local extrema and reaches its global minimum of 0 when all variables are 0. The Rosenbrock function is a non-convex pathological function that is difficult to converge to the global minimum and reaches its global minimum of 0 when all variables are 1. The images of the two-dimensional Rastrigin function and Rosenbrock function are shown in Figure 6.
Figure 6. Images of the two functions. (A) Two-dimensional Rastrigin functional. (B) Two-dimensional Rosenbrock functional.
The color bar and its gradient in Figure 6 intuitively show the complexity of the test function and the distribution and range of the function values, from which it can be easily seen that the global minimum value of the function is 0. The 5-dimensional Rastrigin function and the 10-dimensional Rosenbrock function were chosen to test the performance of the standard PSO, LDIW-PSO, IWCNS-PSO, SA, and ACO in processing high-dimensional complex optimization problems. The fitness functions or objective functions are naturally the Rastrigin function and Rosenbrock function, respectively, the value range xlim of solution is limited to [−5.12, 5.12] and [−30, 30], and the dimension of solution space d is set to 5 and 10. For the PSO, the initial parameters of the particle swarm are set as follows: the population size n is 50, the maximum number of iterations kmax is 1,000 and 600, the speed limit vlim is [−2, 2], the fixed initial inertia weight is ω = 0.8 in the standard PSO algorithm and the initial inertia weight is ωmax = 0.9 and the ending inertia weight is ωmin = 0.4 in the LDIW-PSO and IWCNS-PSO algorithms, the cognitive learning factor c1 and the social learning factor c2 of the particles are both 2, the population's initial speed is v = rand(n, d), and the initial position is x = xlim(1)+[xlim(2)−xlim(1)]·rand(n, d). For the SA, the initial temperature T is set to 100, the final temperature is set to 10−8, the cooling rate is set to 0.99, and the Markov chain length is set to 300. For the ACO, the number of ants is set to 50, the maximum number of iterations is set to 1,000 and 600, the pheromone importance factor α is set to 2, the heuristic factor β is set to 4, the pheromone evaporation coefficient ρ is set to 0.2, and the pheromone increment Q is set to 10. The fitness convergence curves of the five algorithms are shown in Figure 7.
Figure 7. Fitness convergence curves of the standard PSO, LDIW-PSO, IWCNS-PSO, ACO, and SA. (A) Rastrigin. (B) Rosenbrock.
As can be observed from Figure 7, the ACO shows the worst results, followed by the SA, which means that the ACO and SA may be inefficient in processing high-dimensional complex optimization issues compared with PSO algorithms. In the three PSO algorithms, the standard PSO shows the slowest convergence speed, and the convergence result is very different from the actual minimum of the function, which indicates that the standard PSO is caught in the local optimum. As a consequence, the standard PSO is highly susceptible to fall into the local optimum with low accuracy and slow convergence of fitness when applied to multi-parameter problems. In comparison with the standard PSO, the performance of the LDIW-PSO has been improved to a certain extent with a faster convergence speed and a convergence result closer to the actual minimum of the function. However, it is still caught in the local optimum. Apparently, the IWCNS-PSO not only converges the fastest, but also converges the result closest to the actual minimum of the function or is even consistent with it, achieving the highest convergence accuracy.
In short, the test results indicate that the improvements proposed in this paper to the standard PSO algorithm are effective. In contrast to the standard PSO, LDIW-PSO, ACO, and SA (the other two heuristic algorithms), the IWCNS-PSO has been considerably improved for its optimization capability. With respect to most optimization issues, the IWCNS-PSO algorithm outperforms the other four algorithms. The IWCNS-PSO algorithm has high optimization efficiency and prominent advantages.
4 Results and analysis of transfer function identification of ultra-flat carrying robots based on the IWCNS-PSO algorithmThe IWCNS-PSO algorithm is applied to identify the unknown parameters in the transfer function (Equation 2) of the motion control system of the ultra-flat carrying robot, and the identification results are compared with those of the standard PSO algorithm and LDIW-PSO algorithm. Set n = 100, d = 7, kmax = 300. Additionally, the ranges of the seven unknown parameters to be identified equivalent to xlim in Section 3 are all set to [0, 8], and the rest of the parameters are the same as those in Section 3. The fitness function is chosen as the sum of squares due to error (SSE):
SSEik=∑t=0T (10)where t is a series of discrete time sequence from 0 to T; y(t) is the actual output sequence of the system; and yik is the system output sequence corresponding to the transfer function obtained for the i-th particle after the k-th iteration. The PSO algorithms are employed to identify the unknown parameters of the transfer function, namely, to obtain the position of the particle corresponding to the historical optimal fitness of the population that is expressed as gbest before when the maximum number of iterations is reached, which satisfies the minimum sum of squares due to error. The identification results of the standard PSO, LDIW-PSO, and IWCNS-PSO are presented in Table 2.
Table 2. Identification results of the standard PSO, LDIW-PSO, and IWCNS-PSO.
As can be observed from Table 2, the IWCNS-PSO algorithm corresponds to the smallest sum of squares due to error, which suggests that it features the highest identification accuracy and the best fitting effect. Moreover, the IWCNS-PSO also requires the least number of iterations to reach the convergence of the population's historical optimal fitness, whose fitness convergence curve is shown in Figure 8, which embodies again the superiority of the IWCNS-PSO algorithm compared with the standard PSO algorithm and LDIW-PSO algorithm. The identified transfer function G1(s) is given by:
G1(s)=2.881s2+2.504s+7.916s4+2.185s3+5.883s2+6.359s+7.923 (11)In accordance with the coefficients of the characteristic equation, the Routh table of this fourth-order system is established as Table 3.
Figure 8. Fitness convergence curve of the IWCNS-PSO.
Table 3. Routh table of the fourth-order system.
According to the Routh criterion (Li et al., 2019), all the elements in the first column of the Routh table are >0, which means that this fourth-order system is stable. The transfer function GUCR(s) of the UCR model can be further derived from Equation 1, which will be applied to the tuning and optimization of the PI controller parameters hereafter.
5 PI parameter optimization based on the IWCNS-PSO algorithm 5.1 Principle of optimizing PI parameters using the IWCNS-PSO algorithmPID control adjusts the controlled object through the linear combination of the proportional (P), integral (I), and differential (D) of the error to constitute the control quantity. It features the advantages of a simple structure and strong robustness, as well as convenient adjustment (Borase et al., 2021). The ultra-flat carrying robot adopts PI control, and its working principle is:
u(t)=kpe(t)+ki∫0te(t)dt (12)where u(t) refers to the output of the controller; e(t) is the error signal; and kp and ki denote the proportional coefficient and integral coefficient, respectively. Laplace transform is carried out on Equation 12 and then the transfer function of the PI controller is obtained as follows:
Comments (0)