The optimal control of semi-active suspension based on improved particle swarm optimization
Haijing Yan^{1} , Jubin Qiao^{2} , Sen Zhang^{3} , Ting Zhao^{4} , Zhongchang Wang^{5}
^{1, 2, 3, 4, 5}College of Electromechanical Engineering, Binzhou University, Binzhou City, Shandong, China
^{1}Corresponding author
Mathematical Models in Engineering, Vol. 4, Issue 3, 2018, p. 157-163.
https://doi.org/10.21595/mme.2018.20041
Received 21 June 2018; received in revised form 28 August 2018; accepted 6 September 2018; published 30 September 2018
For the lack of artificial experience in weighted matrix $Q$ and $R$ in LQR optimal control algorithm of suspension, this paper proposed an optimal control strategy based on improved particle swarm optimization for semi-active suspension system. The paper mainly established a quarter vehicle semi-active suspension system model in MatLab, and wrote the S-function of the optimal controller. In addition, this article optimized weighted coefficient matrix $Q$ of the state variable and the weighted coefficient matrix $R$ of the control variable in the linear quadratic regulator (LQR) [1] by utilizing the improved particle swarm optimization. The simulation results showed that the semi-active suspension system which based on the improved particle swarm optimization (IPSO) had better ride comfort and smoothness.
Keywords: semi-active suspension, improved particle swarm optimization, optimal control.
1. Introduction
As a connecting device between the vehicle’s body and wheel, the suspension can bear the weight of the body and isolate the impact and vibration of the vehicle body from the ground. The semi-active suspension system can adjust the suspension stiffness or damping coefficient according to the different driving conditions. It overcomes the technical defects of the passive suspension system and holds the advantage of low cost. In recent years, the semi-active suspension system has became a hot research topic in the suspension field [2]. In semi-active suspension system, the selection of control strategy is the key technology. LQR theory is a state space design method developed in modern control theory, which was the earliest and most proved theory. This theory got the optimal control law of state linear feedback, which is easy to form closed loop optimal control.
The state feedback controller $K$ that was designed by the LQR optimal controller required to get the minimum value of the linear quadratic target function $J$, and the $K$ was determined only by the weighted matrix $Q$ and $R$, so it was particularly important to choose the $Q$ and $R$. In order to solve this problem, this paper proposed the optimal control strategy to IPSO. IPSO was a new type of optimization calculation technology which derived from the study of the predation behavior of flock birds. It belonged to the category of the stochastic global optimization technologies and had the characteristics of rapidity, effectiveness and robustness [3]. This paper was focused on two models, that was established the semi-active suspension system model and integral white noise road input model in MatLab, and applied the improved particle swarm optimization to optimize the weighting coefficient of the optimal controller.
2. The semi-active suspension model establishment
2.1. The filter white noise road input
Based on the known power spectral density of the road surface, the time-domain model of the road surface was established by the filter white noise [4] method, as follows:
where ${z}_{g}\left(t\right)$ is the road displacement, ${f}_{0}$ is the lower cut-off frequency, ${G}_{q}\left({n}_{0}\right)$ is the road roughness coefficient, $u$ is the vehicle speed, $w\left(t\right)$ is the filtered white noise.
2.2. The semi-active suspension model establishment
A reasonable assumption for the suspension system was made to establish the model of the quarter vehicle semi-active suspension system which had two degree of freedom, shown as in Fig. 1.
Fig. 1. The model of the quarter vehicle semi-active suspension system
According to Newton second law, the motion differential equation of the semi-active suspension system which had two degree of freedom can be expressed as:
A dynamics model for two degree of freedom suspension system, the state variables of the system was $X=[{\dot{z}}_{1},{\dot{z}}_{2},{z}_{1},{z}_{2},{z}_{g}]$, the input were the controller’s control force ${U}_{a}$ and the road disturbance ${z}_{g}$, made $U=[{U}_{a},{z}_{g}]$.
The established state equation of the system was: $\dot{X}=AX+BU+DW$:
3. The optimal controller establishment based on improved IPSO
3.1. The optimal controller establishment
The target of the optimal control of semi-active suspension was to make the vehicle getting higher ride comfort and smoothness. Therefore, the linear quadratic comprehensive performance index functional of semi-active suspension was defined as:
where ${q}_{1}$ is the weighting coefficient of body acceleration, ${q}_{2}$ is the weighting coefficient of suspension working space, and ${q}_{3}$ is the weighting coefficient of tires dynamic displacement, and the form of matrix was:
The $Q$ and $R$ in the upper formula are refer to the weighted matrices of the state variables and the control variables respectively. The different values of $Q$ and $R$ allowed the different weighting coefficients to be added to the different performance indexes in the function. After the calculation, the values of $Q$, $R$, and $N$ were respectively as follows:
In the optimal controller of semi-active suspension, the state variable weighting coefficient matrix $Q$ and the control variable weighted coefficient matrix $R$ are determined by the major experts who are known the prior knowledge. It was difficult to obtain the global optimal LQR controller. For semi-active suspension system of the vehicle, an important problem of the optimal control was determining the reasonable weighted coefficient value of the performance function. In order to control the weighted coefficient matrix better, this paper optimized the weighting coefficient ${q}_{1}$, ${q}_{2}$ and ${q}_{3}$ of the optimal controller according to the particle swarm optimization, and then changed the state variable weighted coefficient matrix and the control variable weighted coefficient matrix, and obtained the different optimal control feedback gain matrix, and designed an optimal controller of semi-active suspension which could meet the requirements of riding comfort and smoothness [5].
3.2. The improved particle swarm optimization
In particle swarm optimization, each particle dynamically adjusted its speed and position according to its own flight experience and the group flight experience. Besides, each particle position represented the feasible solution of the optimization problem [6]. Given a D-dimensional searched space with $n$ particles, the iteration step was ${j}_{step}$, the position and velocity of the $i$th particle were ${X}_{i}=$ (${X}_{1,j}$, ${X}_{2,j}$, …, ${X}_{d,j}$) and ${V}_{i}=$ (${V}_{1,j}$, ${V}_{2,j}$, …, ${V}_{d,j})$ respectively. In each iteration, the particle dynamically adjusted its velocity vector to adjust its position according to the individual extreme ${P}_{i}=$ (${P}_{1,j}$, ${P}_{2,j}$, …, ${P}_{d,j}$) and the global extreme ${P}_{g}=$ (${P}_{1,j}$,${P}_{2,j}$, …, ${P}_{d,j}$). The traditional particle swarm optimization algorithm was prone to premature convergence. In order to ensure the stability of the algorithm, this paper improved the particle swarm optimization, and introduced the contraction factor $\chi $ to ensure the convergence of the particle update [7]. Then the evolution equation of the velocity and position of the $i$th particle was as follows:
In the formula, ${c}_{1}$ and ${c}_{2}$ are acceleration factors, ${r}_{1}$ and ${r}_{2}$ are the random number uniformly distributed between the sum of the [0 1], ${j}_{step}$ is the number of current iterations, $\chi $ is the contraction factor:
3.3. The optimal controller of the improved particle swarm optimization
The particle swarm optimization controller was proposed in this paper, the weighting coefficient was continuously improved according to the particle swarm optimization, so the feedback gain matrix $K$ was constantly updated. In order to call the optimal controller weighted matrix easily by the particle swarm program, the optimal controller was written in the MATLAB S-function. Part of the programs were follows as:
function [sys, x0, str, ts]n= mdl Initialize Sizes;
sizes = sim sizes;
sizes.Num Cont States = 0;
sizes.Num Disc States = 0;
sizes.Num Out puts = 1;
sizes.Num Inputs = 5;
sizes.Dir Feed through = 1;
sizes.Num Sample Times = 1;
[K, S, E] = lqr(A, B, Q, R, N);
sys = – K * u.
This paper selected fitness function as:
where ${a}_{j}$, ${a}_{j-1}$ is the body acceleration in step $j$ and step $j-1$; $SW{S}_{j}$, $SW{S}_{j-1}$ is the suspension working space in step $j$ and step $j-1$; $DT{D}_{j}$, $DT{D}_{j-1}$ is the Tires Dynamic Displacement in step $j$ and step $j-1$. The model parameters of vehicle semi-active suspension system were shown in Table 1.
Table 1. The parameters of vehicle semi-active suspension system
The parameters | The numerical |
Sprung mass ${m}_{1}$ / kg | 690 |
Unsprung mass ${m}_{b}$ / kg | 40.5 |
Suspension stiffness ${K}_{fl2}$(kN⋅m^{-1}) | 19.2 |
Suspension damping coefficient ${C}_{fl}$ / (kN/ms^{-1}) | 1.5 |
Tire stiffness ${K}_{fl1}$ / (kN·m^{-1}) | 170 |
The simulation semi-active suspension model was established that based on the optimal control strategy of improved particle swarm optimization was shown in Fig. 2.
The program flowchart of the optimal controller based on IPSO is shown in Fig. 3.
The test vehicle passed the B level road surface with the uniform speed of 20 m/s, the lower cut-off frequency was 0.01 Hz, the white noise power was 20 dB, the solver was a fixed step ode4 solver [8], the simulation time was 10s. The optimal controller parameters were as follows: ${q}_{1}=$ 2808, ${q}_{2}=$ 614, ${q}_{3}=$ 32, $K=$1.0×10^{5}×[0.78, –0.20, 4.30, –5.6, 1.67]^{T}.
Fig. 2. The semi-active suspension model based on the optimal control strategy of improved particle swarm optimization
Fig. 3. The program flowchart of the optimal controller based on IPSO
4. The simulation results
The time domain simulation results of vehicle body acceleration, suspension working space and tire dynamic displacement of semi-active suspension system were based on the improved particle swarm optimization were shown in Figs. 4-6.
Compared with the passive suspension, the semi-active suspension reduced the body acceleration, and then the suspension movement journey which was under the same tire dynamic displacement was well controlled in a certain range.
In order to further evaluate the optimal control effect of the improved particle swarm optimization, this paper analyzed the frequency response function of the body acceleration, the suspension working space and the tire dynamic displacement, as shown in Figs. 7-9.
Fig. 4. The time domain curve of vehicle body acceleration
Fig. 5. The time domain curve of suspension working space
Fig. 6. The time domain curve of tires dynamic displacement
Fig. 7. Frequency response curve of weighted body acceleration
Fig. 8. Frequency response curve of suspension working space
Fig. 9. Frequency response curve of tires dynamic displacement
Fig. 6 showed the frequency domain curve of vehicle acceleration. Besides, the resonance frequency points of the wheel and the improved particle swarm optimization control could effectively reduce the vertical acceleration of the vehicle body. Figs. 7 and 8 showed clearly that the two peak values of suspension working space and tire dynamic displacement were significantly reduced under the improved particle swarm optimization control strategy.
Acknowledgements
Research was supported by Binzhou University Scientific research fund: PSO-fuzzy-PID Hybrid Control System Research, BZXYG1505, Binhou University Scientific research fund: Study on Torsional Vibration of Vehicle Transmission System, BZXYQNLG201206.
References
- Hubbard D. Survey of advanced suspension developments and related optical control applications. Automatic, Vol. 33, Issue 10, 1997, p. 1781-1817. [Search CrossRef]
- Wang Xiaopeng, Liu Jianjun, Wu Long A simulation research on seven-degree of freedom semi-active full vehicle suspension. Journal of Hunan University of Technology, Vol. 30, Issue 6, 2016, p. 12-17. [Search CrossRef]
- Chen Shuang, Zong Changfu Genetic particle swarm LQG control of vehicle active suspension. Automotive Engineering, Vol. 37, Issue 2, 2015, p. 189-193. [Search CrossRef]
- Yu Fan Vehicle Dynamics and Control. China Machine Press, Beijing, 2010. [Search CrossRef]
- Zhang Yufen, Long Jinlian, Li Jing, Lu Jiaxuan Research on LQG of active suspension based on immune particle swarm optimization. Computer Engineering and Applications, Vol. 54, Issue 6, 2018, p. 252-256. [Search CrossRef]
- Agrawal O. P., Shabana A. A. Application of deformable-body mean axis to flexible multibody system dynamics. Computer Methods in Applied Mechanics and Engineering, Vol. 56, 1986, p. 217-245. [Publisher]
- Andries Engelbrecht P. Fundamentals of Computational Swarm Intelligence. John Wiley and Sons, 2011. [Search CrossRef]
- Song X., Ahmadian M. Characterization of semi-active control system dynamics with magneto-rheological suspensions. Journal of Vibration and Control, Vol. 16, 2010, p. 1439-1463. [Publisher]