Semi-active suspension fuzzy PID control parameter optimization method
The particle swarm algorithm is used to optimize the fuzzy PID control parameters, which solves the problem of low parameter selection efficiency in the semi-active suspension system, significantly improves the ride and comfort of the vehicle, and is superior to traditional fuzzy PID control and passive suspension.
Patent Information
- Application Number
- CN202410598920.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-10
AI Technical Summary
The parameter selection efficiency in the fuzzy PID control method of the semi-active suspension system is low, resulting in poor efficiency in improving vehicle smoothness and handling stability.
The particle swarm algorithm is used to optimize the fuzzy PID control parameters. By establishing a semi-active suspension model and designing a fuzzy PID controller in MATLAB, the global search capability of the particle swarm algorithm is used to optimize the control parameters and improve the ride and comfort of the vehicle.
It effectively improves the vehicle ride comfort and comfort of the semi-active suspension system, and significantly improves the time domain performance of body acceleration and suspension travel through optimized fuzzy PID control parameters, which is better than traditional fuzzy PID control and passive suspension.
Smart Images

Figure CN118625641A
Abstract
Description
Technical Field
[0001] The invention relates to a fuzzy PID control parameter optimization method based on a particle swarm algorithm, and belongs to the field of vehicle system control optimization. Background Art
[0002] Suspension is the general term for all transmission connection devices between the load-bearing body and the wheels. Its main function is to transmit force and torque to ensure the smooth driving of the vehicle. The suspension system mainly includes passive, semi-active and active suspension systems. Although the passive suspension system has a simple structure, its damping force is uncontrollable and cannot achieve the improvement of stability and handling stability at the same time. Compared with passive suspension, semi-active suspension is widely used in the field of suspension control research due to its simple structure, fast response, good robustness and high controllability.
[0003] Although fuzzy PID control combines the stability of PID control and the good dynamic tracking ability of fuzzy control, the fuzzy quantization factor and PID control parameters are mainly selected based on experience, which has low parameter selection efficiency and is not conducive to the realization of intelligent control. It is inefficient to select fuzzy PID control parameters of semi-active suspension system based on artificial experience. Summary of the invention
[0004] The purpose of the present invention is to solve the problem of low efficiency of parameter selection in a fuzzy PID control method of a semi-active suspension system.
[0005] The present invention adopts the following technical solution
[0006] The optimization method of the semi-active suspension fuzzy PID control parameters of the present invention comprises the following steps:
[0007] Step 1: Establish a 1 / 4 vehicle semi-active suspension model in MATLAB and construct the dynamic equation of the semi-active suspension system;
[0008] Step 2: Design a fuzzy PID controller and use the excellent global search capability of the particle swarm algorithm to optimize the fuzzy PID control parameters;
[0009] Step 3. Run the established 1 / 4 vehicle semi-active suspension model in MATLAB, select body acceleration and suspension travel as evaluation indicators, and conduct time domain suspension performance evaluation and analysis by comparative analysis with passive suspension and traditional fuzzy PID control to verify that the controller can effectively improve the smoothness and comfort of the vehicle.
[0010] The semi-active suspension fuzzy PID control parameter optimization method described in the present invention,
[0011] The dynamic equation of the semi-active suspension system is established:
[0012]
[0013] Where: m1 is the sprung mass; m2 is the unsprung mass; x1 is the sprung mass displacement; x2 is the unsprung mass displacement; x t is the vertical excitation of the road surface; k is the spring stiffness; k t is the tire stiffness; c is the damping coefficient; F d For active control;
[0014] Select the state vector and output vector:
[0015]
[0016] According to the state vector and output variables, the state space expression is established:
[0017]
[0018] Where: A is the system state matrix; B is the control matrix; C is the output matrix; D is the transfer matrix; U is the control input matrix;
[0019] The system state matrix, control matrix, output matrix, transfer matrix, and control input matrix are expressed as follows:
[0020]
[0021]
[0022]
[0023]
[0024] The semi-active suspension fuzzy PID control parameter optimization method of the present invention designs the control parameters of the fuzzy PID controller in the following steps:
[0025] (1) Design a fuzzy PID controller. The parameter relationship expression of the fuzzy PID controller is:
[0026]
[0027] Where: ΔK p , ΔK i , ΔK d is the correction variable; K P0 , K i0 , K d0 Initial parameters of fuzzy PID controller optimized by particle swarm algorithm; K P , K i , K d is the final controller parameter of fuzzy PID;
[0028] (2) Based on the control parameters of the fuzzy PID controller designed in step (1), the objective function and constraint conditions of the particle swarm algorithm are designed, and the particle swarm algorithm is used to optimize the fuzzy PID controller parameter process;
[0029] The objective function of particle swarm optimization is constructed as follows:
[0030]
[0031] The constraints for particle swarm optimization are:
[0032]
[0033] Where: Obj is the objective function; A is the root mean square value of the semi-active suspension body acceleration; S is the root mean square value of the semi-active suspension dynamic travel; D is the root mean square value of the semi-active tire dynamic displacement; A pas is the RMS value of the passive suspension body acceleration, S pas is the RMS value of the passive suspension travel; D pas is the root mean square value of the passive suspension tire dynamic displacement.
[0034] The semi-active suspension fuzzy PID control parameter optimization method of the present invention uses a particle swarm algorithm to optimize the fuzzy PID controller parameters, and the steps are as follows:
[0035] (1) Initialize the particle swarm and set its size to 100;
[0036] (2) Assignment: Assign a single particle to the control parameter K P0 , K i0 , K d0 ;
[0037] (3) Calculate the fitness function value: The optimal position of particles and particle swarms is reflected by the fitness function value. During the particle swarm algorithm optimization process, the fitness function values of all assigned particles in this generation are calculated and compared to obtain the optimal fitness function value f of this generation. best and the optimal particle position P best That is the optimal solution;
[0038] Set the fitness function of this particle swarm algorithm optimization to the inverse of the objective function. The expression is as follows:
[0039]
[0040] (4) Stop condition: Determine whether the number of loop iterations exceeds the maximum number of iterations. If so, execute step (6); otherwise, execute step (5), and the maximum number of iterations is 100;
[0041] (5) Update the position x of the new generation of particles according to equation (11): t+1and particle velocity v t+1 ;
[0042] If x t+1 or v t+1 If any element in exceeds the allowed range of particle position or particle speed, a new particle position or particle speed is randomly generated to replace the particle position or particle speed that exceeds the range; jump to step (3);
[0043] (6) Optimization is completed and the global optimal particle P is output t and the global optimal fitness function value f Best ; The expression is as follows:
[0044]
[0045] Where: ω is the weight coefficient; ω max is the maximum weight coefficient; ω min is the minimum weight coefficient; r1, r2 are random numbers in the interval [0,1]; N is the number of particles per generation; c1=c2=2 is the acceleration constant; P Best is the local optimal particle; P t is the global optimal particle.
[0046] Beneficial Effects
[0047] This paper proposes a method for optimizing the fuzzy PID control parameters of a semi-active suspension, which uses the excellent global search capability of the particle swarm algorithm to optimize the fuzzy PID control parameters, effectively solving the problem of low parameter selection efficiency in the fuzzy PID control method of the semi-active suspension system. The established 1 / 4 vehicle semi-active suspension model is run in MATLAB, and the time domain suspension performance evaluation and analysis are performed to verify that the controller can effectively improve the vehicle's ride quality and comfort. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a flow chart of the present invention;
[0049] Figure 2 It is a 1 / 4 vehicle semi-active suspension system model;
[0050] Figure 3 It is a B and C grade road surface incentive;
[0051] Figure 4 It is the fuzzy control principle diagram of particle swarm optimization;
[0052] Figure 5 It is the particle swarm algorithm optimization flow chart;
[0053] Figure 6 This is the time domain response diagram of vehicle acceleration under Class B road surface;
[0054] Figure 7 This is the time domain response diagram of vehicle acceleration under Class C road surface;
[0055] Figure 8 This is the time domain response diagram of the suspension dynamic travel under Class B road surface;
[0056] Fig. 9 This is the time domain response diagram of the suspension dynamic travel under C-class road surface. DETAILED DESCRIPTION
[0057] In order to make the purpose and technical solution of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] A method for optimizing the parameters of fuzzy PID control of semi-active suspension is proposed. According to Newton's second law, the dynamic equation of the semi-active suspension system is established:
[0059]
[0060] Where: m1 is the sprung mass; m2 is the unsprung mass; x1 is the sprung mass displacement; x2 is the unsprung mass displacement; x t is the vertical excitation of the road surface; k is the spring stiffness; k t is the tire stiffness; c is the damping coefficient; F d For active control.
[0061] Select the state vector and output vector:
[0062]
[0063] According to the state vector and output variables, the state space expression is established:
[0064]
[0065] In the formula: A is the system state matrix; B is the control matrix; C is the output matrix; D is the transfer matrix; U is the control input matrix.
[0066]
[0067]
[0068]
[0069]
[0070] The filtered white noise random input is used to simulate the real urban road, and its time domain mathematical model expression is:
[0071]
[0072] Where: v is the vehicle speed; ω(t) is the white noise signal; α is the road estimation parameter value; q(t) is the random road excitation displacement of the vehicle. Figure 3 shown.
[0073] Step 2: Design a fuzzy PID controller and use the particle swarm algorithm to optimize the control parameters, effectively solving the problem of low efficiency of parameter selection in the fuzzy PID control method of the semi-active suspension system.
[0074] When the road excitation changes, the PID controller will reduce the effect of suppressing vibration due to its fixed PID gain coefficient. In order to improve the problem that the PID control parameters cannot be adjusted dynamically, a fuzzy PID controller is established using fuzzy algorithm, and the control parameters are optimized using particle swarm algorithm.
[0075] like Figure 4 As shown in Figure 2, the vehicle acceleration error e and its rate of change ec are set as the input variables of the fuzzy control. P , ΔK i , ΔK d is the output variable of fuzzy control and serves as the particle swarm algorithm to optimize the control parameter K p0 , K i0 , K d0 The correction variable.
[0076] The performance of the suspension system has a direct impact on vehicle performance, and its evaluation indicators are mainly body acceleration, suspension travel and tire displacement. Body acceleration represents the vibration intensity transmitted to the body and is the most important indicator for evaluating vehicle ride comfort; suspension travel affects the probability of hitting the suspension limit block; and tire displacement represents the vehicle's ability to resist road interference.
[0077] The objective function of particle swarm optimization is constructed as follows:
[0078]
[0079] The constraints for particle swarm optimization are:
[0080]
[0081] Where: Obj is the objective function; A is the root mean square value of the semi-active suspension body acceleration; S is the root mean square value of the semi-active suspension dynamic travel; D is the root mean square value of the semi-active tire dynamic displacement; A pasis the RMS value of the passive suspension body acceleration, S pas is the RMS value of the passive suspension travel; D pas is the root mean square value of the passive suspension tire dynamic displacement.
[0082] The main work of the particle swarm algorithm is to search and find potential solutions with good potential according to the given objective function to solve continuous nonlinear problems. The particle swarm algorithm optimizes the fuzzy PID parameter process as follows Figure 5 shown.
[0083] (1) Initialize the particle swarm and set its size to 100.
[0084] (2) Assignment: Each particle is assigned a value to the control parameter K P0 , K i0 , K d0 .
[0085] (3) Calculate the fitness function value: The optimal position of particles and particle swarms is reflected by the fitness function value. During the particle swarm algorithm optimization process, the fitness function values of all assigned particles in this generation are calculated and compared to obtain the optimal fitness function value f of this generation. best and the optimal particle position P best That is the optimal solution.
[0086] Set the fitness function of this particle swarm algorithm optimization to the inverse of the objective function. The expression is as follows:
[0087]
[0088] (4) Stop condition: Determine whether the number of loop iterations exceeds the maximum number of iterations. If so, execute step (6); otherwise, execute step (5). The maximum number of iterations is 100.
[0089] (5) According to step (3), update the position x of the new generation of particles t+1 and particle velocity v t+1 ; if x t+1 or v t+1 If any element in exceeds the allowed range of particle position or particle velocity, a new particle position or particle velocity is randomly generated to replace the particle position or particle velocity that exceeds the range; jump to step (3).
[0090] (6) Optimization is completed and the global optimal particle P is output t and the global optimal fitness function value f Best .
[0091]
[0092] Where: ω is the weight coefficient; ω maxis the maximum weight coefficient; ω min is the minimum weight coefficient; r1, r2 are random numbers in the interval [0,1]; N is the number of particles per generation; c1=c2=2 is the acceleration constant; P Best is the local optimal particle; P t is the global optimal particle.
[0093] Step 3: Select B and C grade roads, set the vehicle speed to 20m / s, and run the established 1 / 4 vehicle semi-active suspension model in MATLAB. Select body acceleration and suspension dynamic travel as evaluation indicators, and compare and analyze with passive suspension and traditional fuzzy PID control.
[0094] like Figure 6 to Figure 9 As shown in the figure, the fuzzy PID control optimized by particle swarm algorithm has significantly improved the body acceleration and suspension travel under Class B and Class C road conditions compared with traditional fuzzy PID control and passive suspension. The simulation verifies the effectiveness of this method and achieves the expected design purpose.
[0095] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for optimizing fuzzy PID control parameters of semi-active suspension. Features: The optimization steps are as follows: Step 1: Establish a 1 / 4 vehicle semi-active suspension model in MATLAB and construct the dynamic equation of the semi-active suspension system; Step 2: Design a fuzzy PID controller and use the excellent global search capability of the particle swarm algorithm to optimize the fuzzy PID control parameters; Step 3. Run the established 1 / 4 vehicle semi-active suspension model in MATLAB, select body acceleration and suspension travel as evaluation indicators, and conduct time domain suspension performance evaluation and analysis by comparative analysis with passive suspension and traditional fuzzy PID control to verify that the controller can effectively improve the smoothness and comfort of the vehicle.
2. The method for optimizing fuzzy PID control parameters of a semi-active suspension according to claim 1, Features: The dynamic equation of the semi-active suspension system is established: Where: m 1 is the sprung mass; m 2 is the unsprung mass; x 1 is the sprung mass displacement; x 2 is the unsprung mass displacement; x t is the vertical excitation of the road surface; k is the spring stiffness; k t is the tire stiffness; c is the damping coefficient; F d For active control; Select the state vector and output vector: According to the state vector and output variables, the state space expression is established: Where: A is the system state matrix; B is the control matrix; C is the output matrix; D is the transfer matrix; U is the control input matrix; The system state matrix, control matrix, output matrix, transfer matrix, and control input matrix are expressed as follows:
3. The method for optimizing fuzzy PID control parameters of a semi-active suspension according to claim 1, Features: The steps to design the control parameters of the fuzzy PID controller are as follows: (1) Design a fuzzy PID controller. The parameter relationship expression of the fuzzy PID controller is: Where: ΔK p , ΔK i , ΔK d is the correction variable; K P0 , K i0 , K d0 Initial parameters of fuzzy PID controller optimized by particle swarm algorithm; K P , K i , K d is the final controller parameter of fuzzy PID; (2) Based on the control parameters of the fuzzy PID controller designed in step (1), the objective function and constraint conditions of the particle swarm algorithm are designed, and the particle swarm algorithm is used to optimize the fuzzy PID controller parameter process; The objective function of particle swarm optimization is constructed as follows: The constraints for particle swarm optimization are: Where: Obj is the objective function; A is the root mean square value of the semi-active suspension body acceleration; S is the root mean square value of the semi-active suspension dynamic travel; D is the root mean square value of the semi-active tire dynamic displacement; A pas is the RMS value of the passive suspension body acceleration, S pas is the RMS value of the passive suspension travel; D pas is the root mean square value of the passive suspension tire dynamic displacement.
4. The method for optimizing fuzzy PID control parameters of a semi-active suspension according to claim 3, Features: The particle swarm algorithm is used to optimize the parameters of the fuzzy PID controller. The steps are as follows: (1) Initialize the particle swarm and set its size to 100; (2) Assignment: Assign a single particle to the control parameter K P0 , K i0 , K d0 ; (3) Calculate the fitness function value: The optimal position of particles and particle swarms is reflected by the fitness function value. During the particle swarm algorithm optimization process, the fitness function values of all assigned particles in this generation are calculated and compared to obtain the optimal fitness function value f of this generation. best and the optimal particle position P best That is the optimal solution; Set the fitness function of this particle swarm algorithm optimization to the inverse of the objective function. The expression is as follows: (4) Stop condition: Determine whether the number of loop iterations exceeds the maximum number of iterations. If so, execute step (6); otherwise, execute step (5), and the maximum number of iterations is 100; (5) Update the position x of the new generation of particles according to equation (11): t+1 and particle velocity v t+1 ; If x t+1 or v t+1 If the elements in exceed the allowed range of particle position or particle speed, a new particle position or particle speed is randomly generated to replace the particle position or particle speed that exceeds the range; Jump to step (3); (6) Optimization is completed. Output the global optimal particle P t and the global optimal fitness function value f Best ; The expression is as follows: Where: ω is the weight coefficient; ω max is the maximum weight coefficient; ω min is the minimum weight coefficient; r 1 , r 2 is a random number in the interval [0,1]; N is the number of particles per generation; c 1 =c 2 =2 is the acceleration constant; P Best is the local optimal particle; P t is the global optimal particle.
Citation Information
Cited By
Sightseeing vehicle smoothness optimization method and system based on big data
CN119348520A
Semi-active suspension control method based on improved multi-objective particle swarm optimization algorithm
CN121062403A
Improved multi-objective particle swarm optimization algorithm based semi-active suspension control method
CN121062403B
