Optimization method of formula car steering trapezoidal mechanism
Through Sobol sensitivity analysis and multi-population genetic algorithm combined with the AMPGA-APSO II algorithm that adaptively adjusts the crossover probability and mutation probability, the problem of local optimal solution and premature convergence in the robustness optimization of the steering trapezoidal mechanism of the formula racing car is solved, and high robustness is achieved Optimized design for performance and reliability.
Patent Information
- Application Number
- CN202410779490.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-08-30
AI Technical Summary
The existing technology has problems with local optimal solutions and premature convergence in the robustness optimization design of the steering trapezoidal mechanism of formula racing cars, resulting in insufficient robustness and reliability, especially performance fluctuations caused by trapezoidal parameter deviations during the manufacturing and installation processes. Difficult to optimize effectively.
Sobol sensitivity analysis and multi-swarm genetic algorithms (such as AMPGA-APSO II) are used to adaptively adjust crossover probability and mutation probability, combined with particle swarm algorithm for deterministic and robust optimization, and improve global optimization capabilities by iteratively replacing disadvantaged individuals to avoid Fall into local optimal solution.
The highly robust and reliable optimized design of the steering trapezoidal mechanism of the formula racing car is realized, avoiding premature convergence, improving the global optimization capability, and ensuring the robustness and reliability of the optimization results.
Smart Images

Figure CN118569099A
Abstract
Description
Technical field:
[0001] The invention patent relates to the technical field of formula racing cars, specifically a method for optimizing the steering trapezoidal mechanism of a formula racing car. Background technology:
[0002] Formula SAE (FSAE) is a comprehensive engineering education competition for college students. It has been held for more than 40 years since 1978, and the competitions have been held in the United States, Canada, Germany, China and other countries. The China Formula Student series was founded in 2009. Since its establishment, the China Formula Student series has developed into four sub-competitions: FSCC, FSEC, BSC, and FSAC. In recent years, more and more colleges and universities have participated in the event, which has trained a large number of talents for China's automotive industry. For any FSAE event, it is necessary to design a steering system with a simple structure that meets the requirements of the competition to ensure that the car has good handling stability and cornering ability.
[0003] The steering trapezoidal mechanism is the main transmission mechanism in the steering system. Common steering trapezoidal mechanisms include integral steering trapezoidal mechanism and rack and pinion steering mechanism. Formula racing cars usually use rack and pinion steering mechanism. The rack and pinion steering trapezoidal mechanism is composed of steering tie rods, trapezoidal arms, racks in rack and pinion steering gears and front axles. It is a disconnected steering trapezoidal mechanism. According to the different positions of rack and pinion steering gears and steering trapezoids relative to the front axle, there are four layouts: rear-rear, rear-front, front-rear and front-front. The design of the steering trapezoidal mechanism directly affects the steering performance of the racing car. In order to reduce the design error of the steering trapezoidal mechanism and improve the steering performance of the racing car, it is necessary to optimize the design of the steering trapezoidal mechanism.
[0004] At present, many achievements have been made in the optimization design of steering trapezoidal mechanisms. In the research on the deterministic optimization design of steering trapezoids, Zhai Jianhua et al. used an improved particle swarm algorithm to optimize the design of steering trapezoids, and Li Zipeng et al. optimized the design of disconnected steering trapezoids based on immune algorithms. These optimization algorithms have been verified in the deterministic optimization design of steering trapezoids, and the optimized steering trapezoids have a high degree of consistency with the target Ackerman steering model. However, there are a lot of uncertainties in the manufacturing, processing and installation of steering trapezoidal mechanisms, and the slight deviation of trapezoidal parameters will affect the performance of the steering system. Therefore, the robust optimization design scheme of steering trapezoids considering uncertainty factors is more in line with engineering practice. Shi Tianze et al. optimized the disconnected steering trapezoid of electric vehicles based on 6σ robustness. The results show that the robust optimization results have higher robustness and reliability than the deterministic optimization results. For most Formula One racing teams, due to the limitations of conditions, the assembly and installation process of the steering trapezoidal mechanism can only be assisted by some simple positioning fixtures, and the deviation and fluctuation of the trapezoidal parameters will be large. Therefore, the uncertainty of the trapezoidal parameters needs to be considered in the optimization design of the steering trapezoid of Formula One racing cars. At present, the robustness optimization design scheme for system models is usually carried out on the basis of deterministic optimization, that is, the robustness optimization is performed using local search optimization algorithms such as gradient descent method based on the deterministic optimization results. For complex nonlinear models such as steering trapezoids, the robustness optimization design scheme of local search optimization algorithms based on deterministic optimization results sometimes cannot obtain an ideal solution, which makes the robustness optimization of steering trapezoids still have the problem of poor optimization. Summary of the invention:
[0005] The purpose of the present invention is to overcome the shortcomings of the prior art, propose an optimization method for a formula car steering trapezoidal mechanism, perform robust optimization design on the parameters of the formula car steering trapezoid, and have higher robustness and reliability while ensuring that the steering trapezoid meets the target Ackerman angle relationship.
[0006] In a first aspect, the present invention provides a method for optimizing a formula car steering trapezoidal mechanism, which comprises the following steps:
[0007] Step 1: Obtain known parameters of the steering trapezoidal mechanism.
[0008] Step 2: Construct deterministic optimization model and robust optimization model.
[0009] Step 3: Perform Sobol sensitivity analysis on the optimized design parameters of the steering trapezoidal mechanism, and sort the design parameters from large to small according to sensitivity.
[0010] Step 4: Perform deterministic optimization and robust optimization on the steering trapezoidal mechanism at the same time. Use the multi-population genetic algorithm to perform deterministic optimization to obtain the elite population and provide an initial particle population for the particle swarm algorithm; use the particle swarm algorithm to perform robust optimization; during the iteration process, the elite individuals in the elite population migrate to the particle swarm to replace the inferior individuals.
[0011] In the multi-population genetic algorithm, the crossover probability pc and mutation probability pm used by each sub-population in the crossover and mutation operations are based on the proportion k of the sub-population that meets the constraints of the deterministic optimization model. 1 Adjustment.
[0012] In the particle swarm algorithm, the intensity scaling factor α when updating the particle swarm position is based on the proportion of the sub-population that meets the constraints of the robust optimization model κ 2 Adjustment.
[0013] Step 5: Take the value of the global optimal individual obtained in step 4 as the optimization result of each design parameter of the steering trapezoidal mechanism.
[0014] Preferably, the expressions of the crossover probability pc and the mutation probability pm are as follows:
[0015]
[0016] Among them, ρ 1 and ρ 2 is the adaptive adjustment factor of the crossover probability pc and the mutation probability pm; pc min and PC max are the minimum crossover probability and the maximum crossover probability respectively; pm min and pm max are the minimum mutation probability and the maximum mutation probability respectively.
[0017] Preferably, the expression of the intensity scaling factor α is as follows:
[0018]
[0019] Among them, φ j is the adaptive randomness intensity scaling control factor, with a value range of (0, l0]; the φ corresponding to the four design parameters j The order from largest to smallest is consistent with the order from largest to smallest sensitivity.
[0020] As a preferred embodiment, the specific process of step 4 is as follows:
[0021] 4-1. Generate an initial population consisting of MP sub-populations; MP is the number of sub-populations; the number of initialization iterations is t; the population iteration sequence is gen1.
[0022] 4-2. Calculate the fitness value fit1 of each individual in each subpopulation, and determine the proportion κ of each subpopulation that meets the constraints of the deterministic optimization model 1 .
[0023] The fitness function for constructing deterministic optimization is:
[0024] fit1(X) = f DO (X)+χsum(|g′ i (X)|)
[0025]
[0026] Among them, f DO (X) is the objective function of the deterministic optimization model; χ is the penalty factor; ζ is the accuracy control factor. i (X) is the constraint condition in the deterministic optimization model.
[0027] 4-3. If the termination judgment condition is met, the iteration is terminated and the optimal solution of deterministic and robust optimization is output. Where T is the maximum number of iterations; otherwise, t is increased by 1. The termination judgment condition is: t≥T.
[0028] 4-4. If gen1≤MaxGen1, execute step 4-5; otherwise, stop the deterministic optimization and directly execute step 4-9. Among them, GenMax1 is the optimal solution preserving algebra.
[0029] 4-5. Each sub-population undergoes selection, crossover, and mutation operations respectively.
[0030] 4-6. Find the best individual in each subpopulation to form an elite population; find the global best individual gbest DO and the optimal value fbest DO .
[0031] 4-7: Calculate the fitness value fit2 of the robustness optimization of each individual in the t-th generation elite population N (t) , and determine the proportion K of the elite population that meets the constraints of the robust optimization model 2 The fitness function for robust optimization is constructed as:
[0032] fit2(X)=f RO (X)+χsum(|g′ i (X)|) (23)
[0033]
[0034] Among them, f RO (X) is the objective function of the robustness optimization model;
[0035] 4-8: Judgment. If t = 1, initialize the particle swarm position according to the elite population; substitute the particle swarm into the robust optimization model to obtain the global optimal individual gbest in the initial particle swarm RO and the global optimal value fbest RO ; Otherwise, compare the fitness value fit2 of the robust optimization of the (t-1)th generation particle swarm and the tth generation elite swarm (t-1) and fit2 (t) ; Use the excellent individuals in the t-th generation elite population to replace the inferior individuals in the (t-1)-th generation particle swarm in turn to obtain the updated (t-1)-th generation particle swarm.
[0036] 4-9. Update the position of the t-th generation particle swarm as follows:
[0037]
[0038] in, are the positions of the t-th and (t-1)-th generation particle swarms respectively; the value of p is 0.1~0.7; ∈ D is a D-dimensional random vector that follows a normal distribution with a mean of 0 and a standard deviation of 1; D is equal to the number of design variables;
[0039] 4-10. Calculate the robustness optimized fitness value fit2 of each particle in the t-th generation particle swarm and update the ratio κ 2 .
[0040] 4-11. Substitute the t-th generation particle swarm into the robust optimization model to obtain the global optimal individual gbest in the t-th generation particle swarm RO and the global optimal value fbest RO .
[0041] 4-12. In the case of gen1≤MaxGen1, perform the migration operation. If the fbest of the t-th generation particle swarm is DO (t) is equal to the fbest of the (t-1)th generation particle swarm DO (t-1), then gen1 is increased by 1, otherwise gen1 = 0. Then, steps 4-2 to 4-11 are executed again until the termination judgment condition of step 4-3 is met.
[0042] When gen1>MaxGen1, steps 4-3 to 4-11 are re-executed until the termination judgment condition of step 4-3 is met.
[0043] As a preference, there are four design parameters, namely, the trapezoidal arm length r, the trapezoidal base angle λ, the rack pull rod length M, and the distance h between the rack axis and the K line.
[0044] As a preference, the process of Sobol sensitivity analysis in step 3 is as follows:
[0045] Step 3-1. Use a quasi-random Sobol sequence to sample the design parameters 2P times to generate two P×D input matrices, namely matrix A and matrix B; where P is the number of sampling points; and D is the number of design parameters.
[0046] Step 3-2. Replace the i-th column in matrix A with the i-th column in matrix B to construct a P×D matrix AB i , i=1, 2, ..., D; D+2 sample matrices are obtained, and the D+2 sample matrices are substituted into the deterministic optimization model for calculation to obtain D+2 output vectors.
[0047] Step 3-3. Obtain the first-order sensitivity index and the total-order sensitivity index corresponding to each design parameter according to the D+2 output vectors obtained in step 3-2, and sort the design parameters.
[0048] As a preference, the known parameters collected in step 1 include the wheelbase L, the distance K between the two kingpins and the intersection of the steering trapezoidal plane, the maximum outer wheel turning angle θ omax , Ackerman rate R A , allowable rack stroke [ΔM].
[0049] Preferably, the deterministic optimization model is as follows:
[0050] Minimize f DO (r, λ, h, M)
[0051] Subject to
[0052]
[0053] Among them, g 1 (X), g 2 (X), g 3 (X) are three constraint values, and their expressions are g 1 (X) = ΔM max -[ΔM], ΔM max is the maximum gear stroke; [ΔM] is the allowable rack stroke; r is the trapezoidal arm length; λ is the trapezoidal base angle; M is the rack rod length; h is the distance between the rack axis and the K line; θ imax is the maximum turning angle of the inner wheel; n is the length of the tie rod.
[0054] Preferably, the robustness optimization model is as follows:
[0055] Minimize f RO=ημ(Δ∈)+(1-η)σ(Δ∈)
[0056] Subject to
[0057]
[0058] Among them, η is the weight coefficient; μ(Δ∈) and σ(Δ∈) are the mean and standard deviation of the optimization target respectively; μ[g i ], σ[g i ] are the constraint values g i (X) is the mean and standard deviation; σ(n) is the standard deviation of the tie rod length; n is the tie rod length.
[0059] In a second aspect, the present invention provides a formula racing car steering trapezoidal mechanism, which is obtained by the aforementioned optimization method.
[0060] Compared with the prior art, the present invention has the following beneficial effects:
[0061] 1. Aiming at the optimization problem of the steering trapezoidal mechanism of a formula car, based on the proportion of the population that meets the constraints, the crossover probability and mutation probability of adaptive adjustment are introduced into the standard genetic algorithm SGA and the multi-population genetic algorithm MPGA, and the AGA and AMPGA algorithms are proposed. The improved standard genetic algorithm and multi-population genetic algorithm have higher global optimization ability and convergence performance in the optimization of the steering trapezoidal mechanism of a formula car. The proposed AMPGA algorithm still has higher global optimization ability in the case of multiple populations and few individuals;
[0062] 2. Aiming at the optimization problem of the steering trapezoidal mechanism of Formula One racing cars, based on the results of Sobol sensitivity analysis and the proportion of particle swarms that meet the constraints, an adaptive randomness intensity scaling parameter is introduced into the APSO algorithm, and an improved APSO algorithm APSO II is proposed. The improved APSO algorithm has a higher global optimization ability in the optimization of the steering trapezoidal mechanism of Formula One racing cars, and can effectively avoid falling into the local optimal solution;
[0063] 3. Aiming at the robustness optimization problem of the steering trapezoidal mechanism of the Formula One car, a robustness optimization design method of the steering trapezoidal mechanism of the Formula One car based on AMPGA-APSO II is proposed on the basis of the above-mentioned improved optimization algorithms AMPGA and APSO II. The AMPGA-APSO II algorithm can simultaneously obtain the results of the deterministic and robustness optimization design of the steering trapezoidal mechanism of the Formula One car. The AMPGA algorithm is used to solve the results of the deterministic optimization, and the APSO II algorithm is used to solve the results of the robustness optimization. The two parts of the AMPGA-APSO II algorithm are not executed independently. There is a certain connection between the deterministic optimization part executed by the AMPGA algorithm and the robustness optimization part executed by the APSO II algorithm. The AMPGA algorithm provides an elite initialized particle swarm for the APSO II algorithm. During the iterative evolution process, the AMPGA algorithm migrates excellent individuals to the particle swarm of the APSO II algorithm to replace the inferior individuals in the APSO II algorithm, which can effectively improve the global optimization ability of the robustness optimization and effectively avoid premature convergence and falling into the local optimal solution. Compared with general robustness optimization methods, the robustness optimization results of the formula racing car steering trapezoidal mechanism based on AMPGA-APSOⅡ algorithm have higher robustness and reliability. Description of the drawings:
[0064] Figure 1 It is a schematic diagram of a front-disconnection type steering trapezoidal mechanism;
[0065] Figure 2 This is the flow chart of AMPGA-APSOⅡ algorithm;
[0066] Figure 3 This is the evolution curve of the global optimal value of the deterministic optimization part of the AMPGA-APSOⅡ algorithm turning to the trapezoidal mechanism;
[0067] Figure 4 The global optimal value evolution curve for the robustness optimization of the AMPGA-APSOⅡ, APSO and APSOⅡ algorithms turning to the ladder mechanism;
[0068] Figure 5 Schematic diagram of the turning angle relationship between the inner and outer wheels before and after optimization;
[0069] Figure 6 The following is a schematic diagram of the convergence characteristic curves of the average fitness values of each generation of the seven optimization algorithms after running them independently 100 times; Specific implementation method:
[0070] In order to better illustrate the technical solutions and advantages of the present invention, the present invention is further described below in conjunction with specific embodiments and drawings, but they are not intended to be limiting of the present invention.
[0071] An optimization method for a formula car steering trapezoidal mechanism is provided, wherein the robustness of the steering trapezoidal mechanism of a formula car is taken as the optimization design target; the optimized steering trapezoidal mechanism is specifically a front-disconnection steering trapezoidal mechanism. The optimized parameters in the steering trapezoidal mechanism include the trapezoidal arm length r, the trapezoidal base angle λ, the rack tie rod length M, and the distance h between the rack axis and the K line.
[0072] The optimization method of the formula racing car steering trapezoidal mechanism comprises the following steps:
[0073] Step 1: Figure 1 As shown, the known parameters for optimizing the steering trapezoidal mechanism are obtained as shown in Table 1 below:
[0074]
[0075]
[0076] Table 1
[0077] Step 2: Construct a deterministic and robust optimization model for the formula car steering trapezoidal mechanism:
[0078] 2-1. Establish the relationship between the inner and outer wheel turning angles of a formula car when considering the tire slip angle:
[0079]
[0080] In the formula, θ' i is the inner wheel turning angle when considering the tire side slip angle; L is the wheelbase, in mm; R A is the Ackerman rate (Ackerman correction coefficient); K is the distance between the intersection of the two kingpins and the steering trapezoidal plane, in mm; θ o is the actual outer wheel rotation angle, in degrees. The values of the parameters in this embodiment are shown in Table 1.
[0081] 2-2. Construct the actual relationship between the inner and outer wheel angles:
[0082]
[0083] Where n is the length of the tie rod, in mm; ΔM is the rack travel, in mm; M is the length of the rack tie rod, in mm; h is the distance between the rack axis K line, in mm; r is the length of the steering trapezoidal arm, in mm; λ is the trapezoidal base angle, in °; θ i is the actual inner wheel turning angle, in degrees.
[0084] 2-3. Determine the weight function ω(θ oi ) is used to evaluate the design quality by the absolute error of the steering wheel angle:
[0085]
[0086] In the formula, θ omax is the maximum turning angle of the outer wheel, in degrees, and the values are shown in Table 1.
[0087] According to the practical frequency of different steering wheel angles under actual working conditions, the weight function ω(θ oi )for:
[0088]
[0089] 2-4. Determine the design parameters and constraint variables:
[0090] In the steering linkage, the wheelbase L and the distance K between the intersection of the two kingpins and the steering trapezoidal plane are fixed values. When designing the steering trapezoidal mechanism, the trapezoidal arm length r, the trapezoidal base angle λ, the rack tie rod length M, and the distance h between the rack axis and the K line are selected as design parameters. The initial constraint range of the design parameters is determined based on the initial design parameters. The initial design parameters and the initial constraint range of the design parameters are as shown in Table 2:
[0091]
[0092] Table 2
[0093] The length n of the tie rod can be determined by the known distance K between the intersection of the two kingpins and the steering trapezoidal plane and the lengths of the rods and the trapezoidal base angles r, M, h, and λ of the above-mentioned steering trapezoidal mechanism. The relationship is shown in equation (2), and the optimal design range is set to [320, 360].
[0094] First: Ensure sufficient rack travel to achieve the required maximum rotation angle, that is, ΔM max ≤[ΔM], where [ΔM] is the allowable rack travel. The value of the allowable rack travel [ΔM] is shown in Table 1, that is,
[0095] g 1 X=ΔM max -[ΔM]≤0 (7)
[0096] Second: Make sure that the steering transmission mechanism has a sufficiently large transmission angle ψ. The transmission angle ψ refers to the acute angle between the tie rod and the trapezoidal arm. The distance h between the rack axis and the K line has a greater impact on the transmission angle. In design, it is generally required that the angle ε between the rack tie rod and the tie rod is less than 10°. According to the geometric relationship transformation, the constraint condition of h (front-mounted steering trapezoidal mechanism) can be obtained as follows:
[0097]
[0098] 2-5. According to the optimization design requirements of the above-mentioned steering trapezoidal mechanism, the deterministic optimization model constructed is as follows:
[0099] Minimize f DO (r, λ, h, M)
[0100] Subject to
[0101]
[0102] In the formula, f DO (r, λ, h, M) is the objective function of the deterministic optimization of the steering ladder mechanism, where DO (Deterministic Optimization) represents deterministic optimization.
[0103] 2-6. According to the above-mentioned steering trapezoidal mechanism optimization design requirements and 6σ robustness optimization design theory, the robustness optimization model constructed is as follows:
[0104] Minimize f RO =ημ(Δ∈)+(1-η)σ(Δ∈)
[0105] Subject to
[0106]
[0107] In the formula, f RO is the objective function of the robustness optimization of the steering trapezoidal mechanism, where RO (Robustness Optimization) represents robustness optimization; μ(Δ∈) and σ(Δ∈) are the mean and standard deviation of the optimization objective, respectively; η is the weight coefficient, and η is taken as 0.5.
[0108] Step 3: Perform Sobol sensitivity analysis on the steering trapezoidal mechanism model based on the constructed deterministic optimization model
[0109] 3-1. A quasi-random Sobol sequence is used for sampling, and the design parameters are sampled 2P times to generate two P×D input matrices, namely matrices A and B, where P is the number of sampling points, which is 5000 in this embodiment; and D is the number of design parameters, which is 4 in this embodiment.
[0110]
[0111]
[0112] 3-2. Replace the i-th column in matrix A with the i-th column in matrix B to construct a P×D matrix AB i , i=1,2,...,D.
[0113]
[0114] 3-3. After the above replacement, D+2 sample matrices can be obtained. Substituting the D+2 sample matrices into the deterministic optimization model for calculation, D+2 output vectors can be obtained.
[0115] Substitute the obtained output vectors into equations (14) to (18) to calculate the sensitivity index corresponding to each design variable of the deterministic optimization model of the steering trapezoidal mechanism.
[0116]
[0117] In the formula, S i is the first-order sensitivity index of the i-th optimized design parameter; is the total order sensitivity index of the i-th optimized design parameter. The first order sensitivity index and total order sensitivity index of the input parameters r, λ, M, h to the output Δ∈, n, ΔM are shown in Table 3 (retain five decimal places). Δ∈ represents the difference between the actual turning angle of the inner and outer wheels and the target Ackerman turning angle with the weight function introduced as shown in formula (5).
[0118]
[0119]
[0120] Table 3
[0121] 3-4. Take the design parameters r, λ, M, h as input and the relevant parameters of the deterministic optimization model as output to perform Sobol sensitivity analysis. According to the first-order sensitivity index and total-order sensitivity index of each optimized design parameter of the steering trapezoidal mechanism obtained by Sobol sensitivity analysis, the sensitivity of the design parameters r, λ, M, h is ranked according to the obtained results. As shown in Table 3, λ has a higher first-order sensitivity index and total-order sensitivity index to Δ∈ and n, r has a higher first-order sensitivity index and total-order sensitivity index to ΔM, while h has a very low first-order sensitivity index and total-order sensitivity index to Δ∈, n, ΔM. In summary, the sensitivity of the design parameters to the relevant output parameters is ranked from high to low as follows: λ>r>M>h.
[0122] 3-5. Based on the sensitivity ranking results of the design parameters after Sobol sensitivity analysis, the constraint range of the design parameters is re-determined. The constraint range of the design parameters after Sobol sensitivity analysis is shown in Table 2.
[0123] Step 4: Use the proposed AMPGA-APSOⅡ algorithm to simultaneously perform deterministic and robust optimization design on the formula car steering trapezoidal mechanism. The flowchart of the AMPGA-APSOⅡ algorithm is shown in the figure. Figure 2As shown in the figure. The AMPGA algorithm executes the deterministic optimization part of the steering trapezoid mechanism, and the APSOⅡ algorithm executes the robustness optimization part of the steering trapezoid mechanism. The AMPGA algorithm provides an elite initial particle swarm for the APSOⅡ algorithm. During the iteration process, the elite individuals in the AMPGA algorithm will migrate to the particle swarm of the APSOⅡ algorithm to replace the inferior individuals in the APSOⅡ algorithm.
[0124] 4-1. The AMPGA algorithm part uses binary coding. Generate the initial population, randomly generate MP subpopulations, take the number of subpopulations MP = 50, the number of individuals NIND = 10 in each subpopulation, the global iteration number t = 0; the population iteration ordinal number gen1 = 0.
[0125] 4-2. Calculate the fitness value fit1 of the deterministic optimization of each individual in each subpopulation, and determine the proportion κ of each subpopulation that satisfies the constraint conditions of the deterministic optimization model formula (10) 1 .
[0126] Construct the fitness function of the deterministic optimization as:
[0127] fit1(X) = f DO (X) + χsum(|g' i X|) (19)
[0128]
[0129] In the formula, χ is the penalty factor, take χ = 10 7 ; ζ is the precision control factor, take ζ = 10 -4 . g i (X) is the constraint condition in the deterministic optimization model.
[0130] 4-3. Optimization termination judgment. If t < T, then t = t + 1; otherwise, terminate the iteration and output the optimal solutions of the deterministic and robustness optimizations. Among them, T is the maximum iteration number, take T = 150;
[0131] 4-4. AMPGA algorithm termination judgment. When gen1 ≤ MaxGen1, execute step 4-5; otherwise, the AMPGA algorithm terminates the iteration and executes step 4-10. Among them, GenMax1 is the optimal solution retention algebra in the AMPGA algorithm, take MaxGen1 = 40.
[0132] 4-5. Each subpopulation performs selection, crossover, and mutation operations respectively. According to the proportion κ of each subpopulation that satisfies the constraint conditions 1 Adaptive adjustment of the crossover probability pc and mutation probability pm in each population is as follows:
[0133]
[0134] In the formula, p 1 and p 2 is the adaptive adjustment factor of pc and pm, which can be adjusted by adjusting p 1 and p 2 To adjust pc and pm with κ 1 The rate of change of pC is 1 in this embodiment. min and pC max are the minimum crossover probability and the maximum crossover probability respectively, and pC is taken min =0.5, pC max =1.0;pm min and pm max are the minimum mutation probability and the maximum mutation probability respectively, and pm is taken min =0.001, pm max =0.05.
[0135] 4-6. Find the best individual in each subpopulation to form an elite population N; the number of individuals in the elite population N = MP = 50; find the global best individual gbest in all subpopulations DO and the optimal value fbest DO .
[0136] 4-7. Convert each individual in the elite population N from binary code to real number code.
[0137] 4-8: Calculate the fitness value fit2 of each individual in the t-th generation elite population N for robustness optimization (t) The nominal value variation range of each design parameter is shown in Table 2, and the proportion K of the elite population N that satisfies the constraint condition of formula (11) is determined. 2 The fitness function for robust optimization is constructed as:
[0138] fit2(X)=f RO (X)+χsum(|g′ i (X)|) (23)
[0139]
[0140] 4-9: Judgment. If t = 1, initialize the particle swarm position g in the APSO II algorithm according to the elite population N. Substitute the initial particle swarm into the robust optimization model to obtain the global optimal individual gbest in the initial particle swarm RO and the global optimal value fbest RO ; Otherwise, compare the fitness value fit2 of the robust optimization of the (t-1)th generation particle swarm and the tth generation elite swarm (t-1) and fit2 (t) , the individuals in the tth generation elite population are classified according to the fitness value fit2 (t)Arranged in ascending order, the particles in the (t-1) generation particle swarm are ranked according to the fitness value fit2 (t-1) Arrange in descending order; replace the inferior individuals in the (t-1) generation particle swarm with the excellent individuals in the t generation elite population in turn to obtain the updated (t-1) generation particle swarm; and update the proportion K corresponding to the (t-1) generation particle swarm 2 .
[0141] The specific replacement process is as follows: for any individual, if its fitness value in the (t-1) generation particle swarm is fit2 (t-1) Greater than its fitness value fit2 in the t-th generation elite population (t-1) , then substitution is performed; otherwise, no substitution is performed.
[0142] 4-10: Update the position g of each particle in the tth generation particle swarm according to the position update formula (25) i =(g i1 , g i2 , …g ij , …, g iD ), and replace the position values beyond the boundary with the boundary values. The position update formula of the APSO II algorithm is as follows:
[0143]
[0144] In the formula, are the positions of the t-th and (t-1)-th generation particle groups respectively; β = 0.1-0.7, p = 0.5; ∈ D is a D-dimensional random vector that follows a normal distribution with a mean of 0 and a standard deviation of 1, where D is equal to the number of design variables; φ j is the adaptive randomness intensity scaling control factor, by setting φ j The value of each particle g can be adjusted i Each element g in ij Follow 2 The rate of change of the value range is (0, 10]; the adaptive randomness intensity scaling control factor φ corresponding to each element j The sensitivity ranking of the design parameters after Sobol sensitivity analysis is used to determine the φ corresponding to the four design parameters. j The sorting from large to small is consistent with the sorting from large to small in sensitivity, so that the randomness intensity of the design parameters with high sensitivity increases with κ. 2 The increase in scaling speed is faster than the design parameters with low sensitivity; in this embodiment, the adaptive attenuation control factors of the design parameters r, λ, M, and h are φ respectively. 1 =6,φ 2 =8,φ 3 =5,φ 4= 4. R is the scale of the design parameters, which is a D-dimensional vector; the i-th element r in the vector i =Ub-Lb; where Ub and Lb are the upper and lower limits of the i-th design parameter, respectively. The values of Ub and Lb are shown in Table 2.
[0145] 4-11. Calculate the robustness optimized fitness value fit2 of each particle in the t-th generation particle swarm and update the ratio κ 2 .
[0146] 4-12. Substitute the t-th generation particle swarm into the robust optimization model to obtain the global optimal individual gbest in the t-th generation particle swarm RO and the global optimal value fbest RO .
[0147] 4-13. Judgment. In the case of gen1≤MaxGen1, perform the immigration operation in the AMPGA algorithm. If the fbest of the tth generation particle swarm is DO (t) is equal to the fbest of the (t-1)th generation particle swarm DO (t-1), then gen1 = gen1 + 1, otherwise gen1 = 0. Then, steps 4-2 to 4-12 are executed again until the termination judgment condition of step 4-3 is met.
[0148] When gen1>MaxGen1, steps 4-3 to 4-12 are re-executed until the termination judgment condition of step 4-3 is met.
[0149] Step 5: Obtain the design variable values for deterministic optimization and robustness optimization of the formula car steering trapezoidal mechanism
[0150] The AMPGA-APSO II algorithm reaches the preset condition to terminate the iteration. The global optimal individual gbest in the partial population of the AMPGA algorithm DO The trapezoidal arm length r, trapezoidal base angle λ, rack tie rod length M, and the distance h between the rack axis and the K line obtained by deterministic optimization; the global optimal individual gbest in the particle swarm of the APSO II algorithm RO That is, the trapezoidal arm length r, the trapezoidal base angle λ, the rack pull rod length M, and the distance h between the rack axis and the K line obtained by robustness optimization. In this embodiment, the design parameters obtained by robustness optimization are taken as the final optimization results.
[0151] like Figure 3 and Figure 4 As shown, Figure 3 This is the global optimal value evolution curve of the deterministic optimization part of the steering trapezoidal mechanism of the AMPGA algorithm formula car after the AMPGA-APSO II optimization design. Figure 4This is the global optimal value evolution curve of the APSOⅡ algorithm optimization part after AMPGA-APSOⅡ optimization design and the APSOⅡ algorithm alone for the robustness optimization of the formula car steering trapezoidal mechanism. In the figure, DO (Deterministic Optimization) represents deterministic optimization and RO (Robustness Optimization) represents robustness optimization. It can be seen from the figure that since the initial particle group of APSOⅡ in the robustness optimization of AMPGA-APSOⅡ is the elite individual from each sub-population in the first generation of AMPGA deterministic optimization, compared with the robustness optimization performed by the APSOⅡ algorithm alone, since the APSOⅡ algorithm alone uses a random generation of the initial particle group, the fitness value of the AMPGA-APSOⅡ algorithm in the early stage of iteration is smaller. With the increase of the number of iterations, the robust optimization using APSOⅡ algorithm alone showed premature convergence; while with the robust optimization using AMPGA-APSOⅡ algorithm, since the excellent individuals in the deterministic optimization part of AMPGA algorithm will migrate to the particle swarm of robust optimization of APSOⅡ algorithm to replace the inferior individuals in APSOⅡ algorithm during the iteration process, the fitness value of AMPGA-APSOⅡ algorithm showed a significant decline around the 30th generation. Therefore, AMPGA-APSOⅡ algorithm can effectively avoid premature convergence.
[0152] As shown in Table 4, these are the results of the AMPGA (DO) algorithm turning to the deterministic optimization of the trapezoidal mechanism, and the AMPGA (DO) + SQP (RO), AMPGA (DO) - APSO II (RO) and APSO II algorithms turning to the robustness optimization of the trapezoidal mechanism. Figure 5 Schematic diagram of the relationship between the turning angles of the inner and outer wheels before and after optimization. Figure 5Analysis shows that compared with the initial design, the steering performance after the deterministic and robust optimization of the AMPGA(DO)-APSOⅡ(RO) algorithm is closer to the target Ackerman correction coefficient of 56%. Compared with the AMPGA(DO) deterministic optimization, although the expected value of the objective function after the AMPGA(DO)-APSOⅡ(RO) robust optimization is 1.1927, slightly higher than the 1.1652 of the AMPGA(DO) deterministic optimization, the mean square error of the optimization result is 26.78% lower than that of the deterministic solution, and the rack travel after the AMPGA(DO)-APSOⅡ(RO) robust optimization reaches the 8σ level, while the rack travel σ level after the deterministic optimization is only 0.6821. The robust optimization design scheme of the local search optimization algorithm based on the deterministic optimization results (i.e., the AMPGA(DO)+SQP(RO) robust optimization in Table 3) shows that although the σ level of the rack travel after optimization has increased to 2.6121, which is a significant improvement compared to the deterministic optimization, the σ level after optimization is still low. In addition, the mean and variance of the objective function after the AMPGA(DO)+SQP(RO) robust optimization are higher than those after the deterministic optimization, which proves that the AMPGA(DO)+SQP(RO) robust optimization method is less effective in the robust optimization design of the formula car steering trapezoidal mechanism. The rack travel after the APSO and APSOⅡ robust optimization also reached the 8σ level, but compared with the AMPGA(DO)-APSOⅡ(RO) robust optimization, the expected value and mean square error of the objective function after the APSO and APSOⅡ robust optimization are larger. In summary, the AMPGA (DO) + SQP (RO) algorithm has a more significant effect on the robustness optimization design of the steering trapezoidal mechanism of the formula racing car, and the optimized results have higher robustness and reliability.
[0153]
[0154] Table 4
[0155] Further, in order to illustrate that the improved genetic algorithm AGA, the improved multi-population genetic algorithm AMPGA and the improved particle swarm algorithm APSOⅡ proposed in the present invention have better global optimization capabilities. In the following embodiment, the global optimization performance of seven algorithms, SGA, AGA, MPGA, AMPGA, SPSO, APSO and APSOⅡ, in the deterministic optimization process of the steering trapezoidal mechanism of the formula car is compared. The number of individuals in the population of SGA, AGA, SPSO, APSO and APSOⅡ algorithms is 100, the number of populations of MPGA and AMPG algorithms is 10, the number of individuals in the population is 10, and the maximum number of iterations of the seven algorithms is 500.
[0156] Each algorithm was run independently 100 times to compare the global optimization ability of each algorithm.
[0157]
[0158]
[0159] Table 5
[0160] As shown in Table 5 and Figure 6 As shown in Table 5, the worst value, average value, best value and standard deviation of the seven optimization algorithms after 100 independent runs; Figure 6 The following is a schematic diagram of the convergence characteristic curve of the average fitness value of each generation of the seven optimization algorithms after running 100 times independently. Figure 6 It can be seen that compared with the SGA algorithm, the worst value, mean value and standard deviation of the AGA algorithm after adding the adaptive adjustment of crossover and mutation probability are significantly reduced, and the convergence characteristics of the AGA algorithm are also better than those of the SGA algorithm; compared with the MPGA algorithm, the worst value, mean value and standard deviation of the AMPGA algorithm after adding the adaptive adjustment of crossover and mutation probability are also significantly reduced, and the convergence characteristics of the AMPGA algorithm are also better than those of the MPGA algorithm. It is proved that the AMPGA algorithm after adding the adaptive adjustment of crossover probability and mutation probability still has a strong global optimization ability in multiple populations and few individuals; compared with the SPSO algorithm and the APSO algorithm, the worst value, mean value and standard deviation of the APSOⅡ algorithm after adding the adaptive randomness intensity scaling parameter are significantly reduced, and the convergence characteristics of the improved APSOⅡ algorithm are significantly better than those of the SPSO and APSO.
[0161] In summary, based on the proposed AMPGA algorithm that introduces adaptive adjustment of crossover probability and mutation probability and the APSOⅡ algorithm that introduces adaptive randomness intensity scaling parameters, the present invention proposes an AMPGA-APSOⅡ robustness optimization design method for the steering trapezoidal mechanism of a formula car. The AMPGA-APSOⅡ robustness optimization algorithm can simultaneously solve the optimal solution of the deterministic and robustness optimization of the steering trapezoidal mechanism of the formula car. Compared with the traditional robustness optimization method, the AMPGA-APSOⅡ robustness optimization algorithm has a stronger global search capability, can improve the problem of falling into the local optimal solution, and the optimization result has higher robustness and reliability.
Claims
1. A method for optimizing a formula car steering trapezoidal mechanism, characterized in that: The following steps are involved: Step 1: Obtain known parameters of the steering trapezoidal mechanism. Step 2: Construct deterministic optimization model and robust optimization model. Step 3: Perform Sobol sensitivity analysis on the optimized design parameters of the steering trapezoidal mechanism, and sort the design parameters from large to small according to sensitivity. Step 4: Perform deterministic optimization and robust optimization on the steering trapezoidal mechanism at the same time. Use the multi-population genetic algorithm to perform deterministic optimization to obtain the elite population and provide an initial particle population for the particle swarm algorithm; use the particle swarm algorithm to perform robust optimization; during the iteration process, the elite individuals in the elite population migrate to the particle swarm to replace the inferior individuals. In the multi-population genetic algorithm, the crossover probability pc and mutation probability pm used by each sub-population in the crossover and mutation operations are adjusted according to the proportion κ1 of the sub-population that meets the constraints of the deterministic optimization model. In the particle swarm algorithm, when updating the particle swarm position, the intensity scaling coefficient α is adjusted according to the proportion κ2 of the sub-population that meets the constraints of the robust optimization model. Step 5: Take the value of the global optimal individual obtained in step 4 as the optimization result of each design parameter of the steering trapezoidal mechanism.
2. The optimization method of a formula car steering trapezoidal mechanism according to claim 1, characterized in that: The expressions of crossover probability pc and mutation probability pm are as follows: Among them, ρ1 and ρ2 are adaptive adjustment factors of crossover probability pc and mutation probability pm; pc min and PC max are the minimum crossover probability and the maximum crossover probability respectively; pm min and pm max are the minimum mutation probability and the maximum mutation probability respectively.
3. The optimization method of a formula car steering trapezoidal mechanism according to claim 1, characterized in that: The expression of the intensity scaling factor α is as follows: Among them, φ j is the adaptive randomness intensity scaling control factor, with a value range of (0,10]; the φ corresponding to the four design parameters j The order from largest to smallest is consistent with the order from largest to smallest sensitivity.
4. A method for optimizing a formula car steering trapezoidal mechanism according to any one of claims 1 to 3, characterized in that: The specific process of step 4 is as follows: Step 4-1. Generate an initial population consisting of MP sub-populations; MP is the number of sub-populations; the number of initialization iterations is t; the population iteration sequence is gen1. Step 4-2. Calculate the fitness value fit1 of each individual in each subpopulation for deterministic optimization, and determine the proportion κ1 of each subpopulation that meets the constraints of the deterministic optimization model. The fitness function for constructing deterministic optimization is: fit1(X)=f DO (X)+χsum(|g' i (X)|) Among them, f DO (X) is the objective function of the deterministic optimization model; χ is the penalty factor; is the precision control factor. i (X) is the constraint condition in the deterministic optimization model. Step 4-3. If the termination judgment condition is met, the iteration is terminated and the optimal solution for deterministic and robust optimization is output. Where T is the maximum number of iterations; otherwise, t is increased by 1. The termination judgment condition is: t≥T. Step 4-4. If gen1≤MaxGen1, execute step 4-5; otherwise, stop the deterministic optimization and directly execute step 4-9. Among them, GenMax1 is the optimal solution preserving algebra. Step 4-5. Each sub-population performs selection, crossover, and mutation operations respectively. Step 4-6. Find the best individual in each subpopulation to form an elite population; find the global best individual gbest DO and the optimal value fbest DO . Step 4-7: Calculate the fitness value fit2 of each individual in the t-th generation elite population N for robustness optimization (t) , and determine the proportion κ2 of the elite population that meets the constraints of the robust optimization model. The fitness function for robust optimization is constructed as: fit2(X)=f RO (X)+χsum(|g' i (X)|) (23) Among them, f RO (X) is the objective function of the robustness optimization model; Step 4-8: Judgement. If t = 1, initialize the particle swarm position according to the elite population; substitute the particle swarm into the robust optimization model to obtain the global optimal individual fbest in the initial particle swarm RO and the global optimal value fbest RO ; Otherwise, compare the fitness value fit2 of the robust optimization of the (t-1)th generation particle swarm and the tth generation elite swarm (t-1) and fit2 (t) ; Use the excellent individuals in the t-th generation elite population to replace the inferior individuals in the (t-1)-th generation particle swarm in turn to obtain the updated (t-1)-th generation particle swarm. Step 4-9. Update the position of the t-th generation particle swarm as follows: in, are the positions of the t-th and (t-1)-th generation particle swarms respectively; the value of β is 0.1~0.7; ∈ D is a D-dimensional random vector that follows a normal distribution with a mean of 0 and a standard deviation of 1; D is equal to the number of design variables; Step 4-10. Calculate the robustness optimized fitness value fit2 of each particle in the t-th generation particle swarm and update the ratio k2. Step 4-11. Substitute the t-th generation particle swarm into the robust optimization model to obtain the global optimal individual gbest in the t-th generation particle swarm RO and the global optimal value fbest RO . Step 4-12. In the case of gen1≤MaxGen1, perform the migration operation. If the fbest of the t-th generation particle swarm is DO (t) is equal to the fbest of the (t-1)th generation particle swarm DO (t-1), then gen1 is increased by 1, otherwise gen1 = 0. Then, steps 4-2 to 4-11 are executed again until the termination judgment condition of step 4-3 is met. When gen1>MaxGen1, steps 4-3 to 4-11 are re-executed until the termination judgment condition of step 4-3 is met.
5. The optimization method of a formula car steering trapezoidal mechanism according to claim 1, characterized in that: There are four design parameters, namely, the trapezoidal arm length r, the trapezoidal base angle λ, the rack tie rod length M, and the distance h between the rack axis and the K line.
6. The optimization method of a formula car steering trapezoidal mechanism according to claim 1, characterized in that: The process of Sobol sensitivity analysis in step 3 is as follows: Step 3-1. Use a quasi-random Sobol sequence to sample the design parameters 2P times to generate two P×D input matrices, namely matrix A and matrix B; where P is the number of sampling points; and D is the number of design parameters. Step 3-2. Replace the i-th column in matrix A with the i-th column in matrix B to construct a P×D matrix AB i , i=1,2,...,D; D+2 sample matrices are obtained, and D+2 sample matrices are substituted into the deterministic optimization model for calculation to obtain D+2 output vectors. Step 3-3. Obtain the first-order sensitivity index and the total-order sensitivity index corresponding to each design parameter according to the D+2 output vectors obtained in step 3-2, and sort the design parameters.
7. The optimization method of a formula car steering trapezoidal mechanism according to claim 1, characterized in that: The known parameters collected in step 1 include the wheelbase L, the distance K between the intersection of the two kingpins and the steering trapezoidal plane, and the maximum outer wheel turning angle θ omax , Ackerman rate R A , allowable rack stroke [ΔM].
8. The optimization method of a formula car steering trapezoidal mechanism according to claim 1, characterized in that: The deterministic optimization model is as follows: Minimize f DO (r,λ,h,M) Subject to Among them, g1(X), g2(X), and g3(X) are three constraint values, and their expression is g1(X)=ΔM max -[ΔM], ΔM max is the maximum gear stroke; [ΔM] is the allowable rack stroke; r is the trapezoidal arm length; λ is the trapezoidal base angle; M is the rack rod length; h is the distance between the rack axis and the K line; θ imax is the maximum turning angle of the inner wheel; n is the length of the tie rod.
9. The optimization method of a formula car steering trapezoidal mechanism according to claim 8, characterized in that: The robustness optimization model is as follows: Minimize f RO =ημ(Δ∈)+(1-η)σ(Δ∈) Subject to Among them, η is the weight coefficient; μ(Δ∈) and σ(Δ∈) are the mean and standard deviation of the optimization target respectively; μ[g i ], σ[g i ] are the constraint values g i (X) is the mean and standard deviation; σ(n) is the standard deviation of the tie rod length; n is the tie rod length.
10. A formula car steering trapezoidal mechanism, characterized in that: Obtained by the optimization method as claimed in claim 1.
