1 Introduction

Some of the vertical vibrations in the vehicle’s chassis refer to the chaotic oscillations which cannot be damped using the passive suspension system. In the vertical motion of the vehicles, chaos phenomenon can be appeared due to the road surface unevenness and other properties of the nonlinear model. In addition to the passengers comfort subject in the vehicles, the chaotic vibrations can be caused the fatigue failure in the components of chassis and suspension system. Consequently, the researchers are motivated recently to analyze and control the vertical oscillations based on chaos [1,2,3,4,5]. In the vibrational analysis of bounce motion, first problem is the distinction of chaotic vibrations from the stochastic oscillations. For this purpose, chaotic behaviors can be proved using the mathematical and numerical methods for instance power spectrum density, Lyapunov exponent, and Poincare’ sections [6,7,8,9].

Another main problem in the vertical displacement of vehicle is the control of chaotic vibrations using the suspension system. Chaos control can be carried out via the nonlinear control algorithm based on the controllable suspension system. Therefore, the semi-active suspension on the basis of the magnetorheological (MR) fluid damper can be used to adjust the damping coefficient in the damper because of its simple structure and fast operation. The semi-active suspension utilizes a smart fluid with controllable viscosity in the MR fluid damper. The applied appropriate electrical current on the damper is produced using the controller system. Consequently, proper dissipative force in the damper is established in the suspension system in order to damp the bounce vibrations [10,11,12].

Due to highly nonlinear behavior in the MR fluid damper, a nonlinear control strategy must be designed for elimination of unwanted vibrations in the chassis of automobile. Sliding mode control algorithm is an appropriate robust controller especially for uncertain system. The parametric uncertainties in the system include the viscosity changes of oil with respect to temperature changes in damper, and changes in the mass of vehicle. The feedback semi-active suspension can be stabilized quickly using the SMC system. However, due to the switching function in SMC structure, the chattering phenomenon is occurred in the control system. In order to best eliminate the chattering, the optimal strategy can be combined with the SMC structure [13,14,15,16].

In the optimal sliding mode control (OSMC) scheme, the control signals are designed optimally according to the cost function in the control algorithm. In order to solve the optimal problem in the OSMC, the control Lyapunov function (CLF) method is used to find the optimal inputs and control gains. Thus, the CLF solves the Hamilton–Jacobi–Bellman equation with respect to the performance index via the Sontag’s formula. Consequently in the OSMC, beside the quick stabilization due to the variable structure controller based on SMC, the chattering phenomenon can be rejected successfully because of the optimal system [15,16,17,18,19,20,21].

In the first section of this paper, the dynamical formulation of half-car model is derived based on the Newton–Euler equations. In the suspension system, in order to adjust the damping coefficient for control purposes, the semi-active suspension system is used based on the MR fluid damper. After simulation of the open-loop system under the fixed values of parameters in the MR fluid damper, chaos phenomenon is illustrated in the vertical motion of vehicles. In the next section, the power spectrum density (PSD) is used to study chaos in the system. Beside the PSD method, positive values of the largest Lyapunov exponents verify the results of PSD in the vibrating system. Moreover, trajectories of phase plane along with the Poincare’ section of the open-loop system satisfy chaos. In the final section, for chaos control in the suspension system, the OSMC strategy is used to adjust the applied electrical current to the MR fluid damper for exact regulation of the viscosity and damping coefficient in the semi-active suspension. The results of the closed-loop system stress the superior performance of the optimal SMC system.

2 Dynamical model

In order to derive the mathematical model of the system, the equations of motion for the various parts of the system are calculated based on the half-vehicle model. The half-vehicle model of the system includes the chassis mass, front and rear axle mass, tires along with the elastic and dissipative effects according to Fig. 1.

Fig. 1
figure 1

Vertical model of the vehicle system along with the semi-active suspension

The suspension system is also modeled with a semi-active type including the main springs and controllable dissipater that named MR fluid damper. In the semi-active suspension, the dynamical model of MR fluid damper with adjustable viscosity is derived on the basis of the modified Bouc–Wen model. The vertical displacement of the system is described using the second Newton’s law, and the angular dynamics of the chassis is stated via the Euler equation as follows [1,2,3].

$$\begin{aligned} & m\ddot{x} + K_{1} {\text{sgn}}\left( {x - x_{1} - l_{1} { \sin }\theta } \right)\left| {x - x_{1} - l_{1} { \sin }\theta } \right|^{{n_{1} }} + C_{1} \left( {\dot{y}_{1} - \dot{x}_{1} } \right)\, + K_{2} {\text{sgn}}\left( {x - x_{2} + l_{2} { \sin }\theta } \right)\left| {x - x_{2} + l_{2} { \sin }\theta } \right|^{{n_{2} }} \\ & \quad \; + C_{2} \left( {\dot{y}_{2} - \dot{x}_{2} } \right) = 0 \\ \end{aligned}$$
(1)
$$\begin{aligned} & m_{1} \ddot{x}_{1} - K_{1} {\text{sgn}}\left( {x - x_{1} - l_{1} { \sin }\theta } \right)\left| {x - x_{1} - l_{1} { \sin }\theta } \right|^{{n_{1} }} - C_{1} \left( {\dot{y}_{1} - \dot{x}_{1} } \right)\, + K_{t1} {\text{sgn}}\left( {x_{1} - x_{\text{rp1}} } \right)\left| {x_{1} - x_{\text{rp1}} } \right|^{{n_{r1} }} \\ & \quad \quad + C_{t1} \left( {\dot{x}_{1} - \dot{x}_{\text{rp1}} } \right) = 0 \\ \end{aligned}$$
(2)
$$\begin{aligned} & m_{2} \ddot{x}_{2} - K_{2} {\text{sgn}}\left( {x - x_{2} + l_{2} { \sin }\theta } \right)\left| {x - x_{2} + l_{2} { \sin }\theta } \right|^{{n_{2} }} - C_{2} \left( {\dot{y}_{2} - \dot{x}_{2} } \right)\, + K_{t2} {\text{sgn}}\left( {x_{2} - x_{\text{rp2}} } \right)\left| {x_{2} - x_{\text{rp2}} } \right|^{{n_{2} }} \\ & \quad \quad + C_{t2} \left( {\dot{x}_{2} - \dot{x}_{rp2} } \right) = 0 \\ \end{aligned}$$
(3)
$$\begin{aligned} & I\ddot{\theta } - \left[ {K_{1} {\text{sgn}}\left( {x - x_{1} - l_{1} { \sin }\theta } \right)\left| {x - x_{1} - l_{1} { \sin }\theta } \right|^{{n_{1} }} + C_{1} \left( {\dot{y}_{1} - \dot{x}_{1} } \right)} \right]l_{1} { \cos }\theta \\ & \quad \; + \left[ {K_{2} {\text{sgn}}\left( {x - x_{2} + l_{2} { \sin }\theta } \right)\left| {x - x_{2} + l_{2} { \sin }\theta } \right|^{{n_{2} }} + C_{2} \left( {\dot{y}_{2} - \dot{x}_{2} } \right)} \right]l_{2} { \cos }\theta = 0, \\ \end{aligned}$$
(4)

where

$$\text{sgn} (x) = \left\{ {\begin{array}{*{20}l} { + 1,} \hfill & {x \succ 0} \hfill \\ {0,} \hfill & {x = 0} \hfill \\ { - 1,} \hfill & {x \prec 0} \hfill \\ \end{array} } \right.,$$
(5)

and “n(1,2)” represents the nonlinearity order of the springs, and “\(\dot{y}_{(1,2)}\)” is the internal velocity in the MR fluid damper computing as:

$$\dot{y}_{(1,2)} = \frac{1}{{(C_{0(1,2)} + C_{d(1,2)} )}}\left[ {\alpha {\rm Z} + C_{0(1,2)} (\dot{x}_{0} - l_{(1,2)} \dot{\theta }\cos \theta )} \right]$$
(6)

In the above formula, indexes of (1, 2) are referred to the front and rear suspensions, respectively. Damping force in the MR fluid damper can also be calculated as follows:

$$f_{\text{d}} = C_{1,2} \left[ {\dot{y}_{(1,2)} - \dot{x}_{0(1,2)} } \right]$$
(7)

Also, “Z” is the Bouc–Wen variable and is defined as follows.

$$\dot{\rm Z} = - \gamma \left| {(\dot{x} - l_{1} \dot{\theta }\cos \theta ) - \dot{y}_{1} } \right|{\rm Z}\left| {\rm Z} \right|^{p - 1} - \beta \left[ {(\dot{x} - l_{1} \dot{\theta }\cos \theta ) - \dot{y}_{1} } \right]\left| {\rm Z} \right|^{p} + \delta \left[ {(\dot{x} - l_{1} \dot{\theta }\cos \theta ) - \dot{y}_{1} } \right],$$
(8)

where \(\beta ,\delta ,\gamma\) and “p” are the fixed parameters in order to regulate the properties of the hysteresis loop in the MR fluid damper with respect to the magnetic field. Also \(C_{0}\) and “\(\alpha\)” are expressed as \(\alpha = \alpha_{a} + \alpha_{b} I\) and \(C_{0} = C_{0a} + C_{0b} I\) as a functions of the applied electrical current to adjust the magnetic field in MR fluid damper. In the model of semi-active suspension system, the elastic force in springs is modeled as \(f_{\text{s}} = k_{\text{s}} {\text{sgn}}(\Delta_{\text{s}} )\left| {\Delta_{\text{s}} } \right|^{n}\) based on the nonlinear spring with fixed stiffness [11, 12].

In tire model, the spring action is also calculated similar to the main springs of the suspensions and dissipative effect is computed as \(f_{\text{dt}} = C\,\dot{x}_{(1,2)}\) with constant damping coefficient. The profile of road unevenness is assumed as sinusoid function with frequency “f”, amplitude of “A”, and phase difference of “\(\varphi\)” in order to model the time delay between the excitation of the front and rear tires.

2.1 Chaos analysis in the open-loop system

The mathematical model of the vehicle system is simulated numerically using the Runge–Kutta method on the basis of the equations of motion. In order to simulate the uncontrolled system, a constant value for damping coefficient of the MR fluid damper is considered and the behavior of the open-loop system is analyzed under the initial conditions and constant parameters. Then, the chaotic vibrations are studied using the power spectrum density, Lyapunov exponent, Poincare’ section, and phase portraits.

Power spectral density (PSD) is a numerical method in order to analyze the frequency response in a quasi-periodic or chaotic system. In this procedure, the signals are considered as independent of time using the Fourier transform of a time series responses. The PSD is determined as the average of the Fourier transform magnitude squared, over a large time interval. Therefore, the PSD of a time series signal of variable x(t) can be calculated as follows.

$$S_{\text{x}} (f) = \mathop {\lim }\limits_{T \to \infty } \left\{ {\frac{1}{2T}\left| {\int_{ - T}^{T} {x(t)\,} {\text{e}}^{ - j2\pi ft} {\text{d}}t} \right|^{2} } \right\}$$
(9)

In the chaotic system, graph of PSD versus the frequency involves the wide range spectrum of the frequencies, while in the quasi-periodic systems the numbers of frequencies are limited. On the other words, in the chaotic system as Figs. 2 and 3, the PSD graph is demonstrated as spread spectrum along with disturbance [7, 9].

Fig. 2
figure 2

Power spectrum density of the vertical displacement of the chassis

Fig. 3
figure 3

Power spectrum density of the pitch angular motion of the chassis

Moreover, the properties of the nonlinear system and chaos can be indicated via the Lyapunov exponent using the measurement of the gap between the two neighborhood orbits in the phase portrait. The Lyapunov exponent of x(t) is calculated as follows.

$$\lambda = \mathop {\lim }\limits_{t \to \infty } \frac{1}{t}\mathop \smallint \limits_{0}^{t} E_{i} \left( {x\left( \tau \right)} \right){\text{d}}\tau = \mathop {\lim }\limits_{t \to \infty } \frac{1}{t}{ \ln }\left| {\frac{\delta x(t)}{\delta x(0)}} \right|,$$
(10)

where \(E_{i} (x(t))\) is the real part of the eigenvalue in the matrix that defines the rate of divergence in the system trajectories. The Lyapunov exponent of the vertical x(t) and pitch θ(t) motion of the chassis are computed using the Wolf algorithm with respect to the damping coefficient of MR fluid damper as the control parameter. According to Fig. 4, when the damping coefficient is increased, the values of Lyapunov exponent become positive. It means the stretching, folding, and compressing of the trajectories show the occurrence of chaos in the system. On the other hand, the dynamical system can depict the hyper chaotic behavior, because the two variables of the system have the positive largest Lyapunov exponent [5,6,7,8,9].

Fig. 4
figure 4

Largest Lyapunov exponent with respect to the damping coefficient of MR fluid damper

Chaos analysis using the power spectral density and Lyapunov exponent can be validated via the simulation results based on the phase trajectories and the Poincare’ section of the system as Fig. 5. According to Fig. 5, the basin of attraction in the open-loop system is a strange attractor based on the Fradkov definition due to the compressing, folding, and stretching orbits in the trajectories of the phase portraits. It means the phase portrait trajectories get away from the fixed point and again return to the neighborhood of equilibrium point that obviously reveals the compressing and stretching of the trajectories along with its folding. In fact, the strange attractor is an essential property in the chaotic system. Also, the chaotic responses can be illustrated due to the treatment of attractor as globally bounded and unstable locally on the basis of the Lyapunov stability criterion. Furthermore, according to the Devaney definition, chaos can be proved using the dense demonstration of points in the Poincare’ section [8]. Therefore, chaos in the nonlinear system can be initially demonstrated using the phase space trajectories and Poincare’ section. Then, chaos in the nonlinear system can be proved using the Lyapunov exponent. Finally, the results of Lyapunov exponents can be validated via the power spectrum density method for the chaotic vibrations.

Fig. 5
figure 5

Trajectories of phase portrait and Poincare’ section in the open-loop system, a phase plane trajectory of x − θ, b phase plane trajectory of x − dx/dt, c Poincare’ section of x − θ, d Poincare’ section of x − dx/dt

2.2 Optimal sliding mode control strategy

The optimal sliding mode control is developed for a class of nonlinear systems as follows:

$$\left\{ {\begin{array}{*{20}l} {\dot{x}_{i} = x_{i + 1} ,\quad i = 1,\,2,\, \ldots ,\,n - 1} \hfill \\ {\dot{x}_{n} = f(x) + u + \zeta } \hfill \\ \end{array} } \right.,$$
(11)

where \(x = \left[ {x_{1} ,\, \ldots ,\,x_{n} } \right]^{\text{T}}\) is the state vector, f is a smooth function, and \(\zeta\) is a bounded disturbances. In this control scheme, a performance index as follows is to be minimized.

$$I = \int\limits_{0}^{\infty } {(L(x) + u^{2} ){\text{d}}t} ,$$
(12)

that \(L(x) \ge 0\) is a semi-definite positive function of the state x. For the purpose of the design of the robust control system around the fixed point, an integral SMC can be applied in the system with uncertainties [12,13,14]. In order to obtain optimality as well as robustness in this control strategy, the switching function is defined as:

$$s = c_{1} x_{1} + c_{2} x_{2} + \cdots + c_{n - 1} x_{n - 1} + x_{n} + \phi ,$$
(13)

where \(c_{i} 's\) are constant parameters. Then, the approximated control input in SMC is designed continuously as follows.

$$u = - c_{1} x_{2} - c_{2} x_{3} - \cdots - c_{n - 1} x_{n} - f - \dot{\phi } - M\sigma_{\varepsilon } (s)$$
(14)

where \(M \succ \sup (\zeta )\), \(\varepsilon \succ 0\) is a small constant, \(\sigma_{\varepsilon } (.)\) is saturation function, \(\phi\) is a smooth function that will be defined based on the Lyapunov stability via the positive definite Lyapunov function candidate as \(V = s^{\text{T}} s/2\) where its derivative is semi-negative definite as:

$$\dot{V} = S\dot{S} = s\left( {\zeta - \frac{M}{\varepsilon }s} \right) = \varepsilon (\left| \zeta \right| - M) \prec 0,$$
(15)

that on the boundary of Ω, \(s = \left| \zeta \right|\), and it establishes an invariant set in the feedback system. Since S always stays inside the Ω, the control input becomes,

$$u = - c_{1} x_{2} - c_{2} x_{3} - \cdots - c_{n - 1} x_{n} - f - \dot{\phi } - \frac{M}{\varepsilon }s$$
(16)

Consequently, the dynamics of the closed-loop system is derived as:

$$\left\{ {\begin{array}{*{20}l} {\dot{x}_{i} = x_{i + 1} ,\quad i = 1,\,2,\, \ldots ,\,n - 1} \hfill \\ {\dot{x}_{n} = - \eta c_{1} x_{1} - \sum\limits_{i = 1}^{n - 1} {(c_{i} + \eta c_{i + 1} )x_{i + 1} } - \eta x_{n + 1} - v} \hfill \\ {\dot{x}_{n + 1} = v} \hfill \\ \end{array} } \right.,$$
(17)

where \(x_{n + 1} = \phi\), \(v = \dot{\phi }\), and \(\eta = M /\varepsilon\). Then, the matrix form of the equations of motions in the feedback system is:

$$\dot{\bar{x}} = A\bar{x} + Bv$$
(18)

In this manner, the performance index becomes:

$$I = \int\limits_{0}^{\infty } {(L + \bar{f}^{2} + 2\bar{f}v + v^{2} ){\text{d}}t} ,$$
(19)

where A and B are the stabilizable matrices and,

$$\bar{f} = f + \eta c_{1} x_{1} + \sum\limits_{i = 1}^{n - 1} {(c_{i} + \eta c_{i + 1} )x_{i + 1} } + \eta x_{n + 1}$$
(20)

Using the OSMC, the equivalent problem is changed to an optimal control problem for a linear system with a non-quadratic cost function. To ensure the existence and uniqueness of the optimal control problem, the ci’s must be chosen until \(\,L + \bar{f}^{2} \succ 0\). In order to solve the optimal control problem for finding the optimal v, the control Lyapunov function approach is used [13,14,15,16,17,18,19].

3 Simulation of feedback system

In the closed-loop control system, solution of the optimal SMC problem based on the control Lyapunov function (CLF) method is summarized as follows.

$$\left\{ {\begin{array}{*{20}l} {\mathop {\text{Min}}\limits_{u} \quad \int\limits_{0}^{\infty } {(L(x) + u^{2} ){\text{d}}t} } \hfill \\ {{\text{subjected}}\,{\text{to}}:\quad \dot{x}_{n} = F(x) + G(x)u} \hfill \\ \end{array} } \right.$$
(21)

In the above optimal problem, the constraint is described as differential equations based on the dynamical model of the suspension system according to Eqs. (18). In order to solve the optimal control, firstly, V(x) is selected as a candidate Lyapunov function. If V(x) is a CLF, then it can solve the Hamilton–Jacobi–Bellman equation. Therefore, a suboptimal control input for the system with respect to the cost function in Eq. (12) can be given by Sontag’s formula as following [17].

$$u^{*} = \left\{ {\begin{array}{*{20}l} { - \frac{{V_{x} F + \sqrt {(V_{x} F)^{2} + L(V_{x} G)^{2} } }}{{V_{x} G}}} \hfill & {;\,\,V_{x} G \ne 0} \hfill \\ 0 \hfill & {;\,\,V_{x} G = 0} \hfill \\ \end{array} } \right.,$$
(22)

where \(V_{x} = \partial V /\partial x\). In fact, in order to use the Sontag’ formula, we need to find a CLF for the original system. On the other hand, using the optimal SMC, the nonlinear system can be transformed to a linear system as Eq. (18). Therefore, the appropriate values for ci’s must be selected that all the eigenvalues of matrix A are non-positive and different or have only one zero eigenvalue. In this manner, the switching function is derived in the new coordinate as:

$$s = c_{1} x_{1} + c_{2} x_{2} + \cdots + c_{n} x_{n} + x_{n} + x_{n + 1} = C\bar{x} = \left[ {\begin{array}{*{20}l} {c_{1} } \hfill & \ldots \hfill & {c_{n - 1} } \hfill & 1 \hfill & 1 \hfill \\ \end{array} } \right]\bar{x}$$
(23)

According to the following Lemma and theorem, the appropriate CLF can be calculated to solve the optimal control problem [17].

Lemma 1

Matrix A has all distinct eigenvalues in the left half of the plane with at most one at the origin; there exists a constant vector \(H \in {\mathbb{R}}^{1 \times (n + 1)}\) such that the Lyapunov equation \(PA + A^{\text{T}} P = - H^{\text{T}} H\) has a positive semi-definite and symmetric solution P.

Theorem 1

If \(\left\{ {B^{\text{T}} P,\,H,\,C} \right\}\) are linearly independent vectors in \({\mathbb{R}}^{1 \times (n + 1)}\) and \(P + C^{\text{T}} C/2 \succ 0\), then function \(V = \bar{x}^{T} P\bar{x} + s^{2} /2\) is a CLF for the system where P is the symmetric and positive semi-definite solution to the Lyapunov equation \(PA + A^{T} P = - H^{T} H\) [17].

Remark

If \(P \succ 0\), then \(P + C^{\text{T}} C/2 \succ 0\) is satisfied for any C [18].

According to Lemma 1, the solution of P in the Lyapunov equation is calculated as follows:

$$P = \int\limits_{0}^{\infty } {{\text{e}}^{{tA^{T} }} H^{T} H{\text{e}}^{tA} {\text{d}}t}$$
(24)

The equations of motion based on the relations (18) are expressed again as state-space equation with definition of the following state variables as:

$$\bar{x}^{\text{T}} = \left[ {\begin{array}{*{20}l} {x_{1} } \hfill & \ldots \hfill & {x_{8} } \hfill \\ \end{array} } \right]^{\text{T}} = \left[ {\begin{array}{*{20}c} x & {\dot{x}} & {x_{1} } & {\dot{x}_{1} } & {x_{2} } & {\dot{x}_{2} } & \theta & {\dot{\theta }} \\ \end{array} } \right]^{\text{T}}$$
(25)

After simplification, in the closed-loop dynamical system based on the optimal SMC as Eq. (18), the linear matrices A and B are derived as:

$$A = \left[ {\begin{array}{*{20}c} 0 & 1 & 0 & \ldots & 0 \\ 0 & 0 & {\,\,1\,\,} & \ldots & 0 \\ \vdots & \vdots & \vdots & \ldots & \vdots \\ { - \eta c_{1} } & { - (c_{1} + \eta c_{2} )} & \ldots & \ldots & { - \eta } \\ 0 & 0 & \ldots & \ldots & 0 \\ \end{array} } \right]_{9 \times 9} \,\,,\,\,\,B = \left[ {\begin{array}{*{20}c} 0 \\ \vdots \\ 0 \\ { - 1} \\ 1 \\ \end{array} } \right]_{{_{9 \times 1} }}$$
(26)

Whereas the matrix H is fixed, H is assumed as \(H = \left[ {\begin{array}{*{20}c} 1 & \ldots & 1 \\ \end{array} } \right]_{1 \times 9}\). In order to calculate P based on Eq. (24), we have

$${\text{e}}^{tA} = T\left[ {\begin{array}{*{20}c} {{\text{e}}^{{\lambda_{1} t}} } & 0 & \ldots & 0 \\ 0 & \ddots & {} & \vdots \\ \vdots & {} & \ddots & 0 \\ 0 & \ldots & 0 & {{\text{e}}^{{\lambda_{9} t}} } \\ \end{array} } \right]T^{ - 1} ,$$
(27)

that \(\lambda_{1}\) to \(\lambda_{9}\) are the eigenvalues of the A and T is a matrix that its columns are the eigenvectors of A. After calculating P, the CLF is derived as equation \(\,\,V = \bar{x}^{\text{T}} P\bar{x} + s^{2} /2\). Consequently, with substituting the V(x) as a CLF into the Sontag’ formula, we can obtain a suboptimal SMC structure. In order to apply the Sontag’s formula, the cost function is modified by neglecting the cross term between the state and the control input as:

$$I = \int\limits_{0}^{\infty } {(L + \bar{f}^{2} + v^{2} ){\text{d}}t} = \int\limits_{0}^{\infty } {(\bar{L} + v^{2} ){\text{d}}t} ,$$
(28)

where \(\bar{L} = L + \bar{f}^{2}\). Then, the switching function in this algorithm is become:

$$s = \sum\limits_{i = 1}^{n - 1} {c_{i} x_{i} + x_{n} } + \phi$$
(29)

Finally, the control input is computed as follows.

$$u = - \sum\limits_{i = 1}^{n - 1} {c_{i} x_{i + 1} } - f - \dot{\phi } - \eta s,$$
(30)

which in that,

$$\dot{\phi } = \left\{ {\begin{array}{*{20}l} { - \frac{{V_{x} A\bar{x} + \sqrt {(V_{x} A\bar{x})^{2} + L(V_{x} B)^{2} } }}{{V_{x} B}};} \hfill & {V_{x} B \ne 0} \hfill \\ {0;} \hfill & {V_{x} B = 0} \hfill \\ \end{array} } \right.,$$
(31)

and

$$\phi (0) = - \sum\limits_{i = 1}^{n - 1} {c_{i} x_{i} (0) - x_{n} (0)}$$
(32)

On the basis of the above-mentioned calculations, simulation of the feedback system based on the OSMC is shown in Figs. 6 and 7 under the values of the control gains ci’s as following in Table 1. All of the simulations were carried out on the basis of the numerical solution of above equations using the fourth-order Runge–Kutta method. Also, the values of parameters in the simulation system are stated in Table 2.

Fig. 6
figure 6

Closed-loop responses of the system based on the OSMC against the chaotic open-loop behavior

Fig. 7
figure 7

Applied electrical current and damping force in the MR fluid damper under the OSMC system

Table 1 The values of the control gains in the OSMC algorithm
Table 2 The values of the parameters of the system

Responses of the feedback system based on the optimal sliding mode control are demonstrated in Fig. 6. According to these figures, stabilization of the suspension system is depicted at a few time and overshoot along with chaos suppression. Vertical displacement of chassis, velocity, and acceleration of car body and angular pitch motion of vehicle is reached to the desired value in less than about 1.5 s. Whereas the behavior of the system under SMC includes the chattering phenomenon, the chattering can be eliminated using the combination of optimal control with the SMC structure. Therefore, the major point in the closed-loop responses is the rejection of chattering phenomenon. Also, behavior of the tires deflection can be acceptable against the motion of tires on the sinusoidal profile road.

Also, the results of feedback system under the optimal sliding mode control in this work are compared with the results of paper [2] especially, because the chaotic model of vehicle along with the parameters values in this work and paper [2] is totally similar. Also, chaos control algorithm in paper [2] is on the basis of the optimal OGY method. According to Fig. 6, comparison of simulation results depicts that the feedback system under the optimal sliding mode control reduces impressively the settling time and over shoot relative to chaos controller in [2] due to the rapid stabilization to the fixed point in the sliding mode control algorithm via the sliding surface properties in variable structure control scheme.

Performance of the actuators in feedback system is also illustrated in Fig. 7. In the semi-active suspensions system, applied forces of the MR fluid damper play the role of control input. Actually, the vibrations resulting the unevenness road surface can be damped using the dissipative force in the magnetic dampers. In the MR fluid damper, the damping forces can be adjusted using the applied electrical current to the dampers.

4 Conclusions

In this paper, chaos control in the semi-active suspension system is considered on the basis of the chattering-free optimal sliding mode control. For this purpose, the mathematical model of the system is first derived using the Newton–Euler equations. According to the simulation results of the uncontrolled system, the chaotic oscillations are appeared in the vertical motion of the suspension system. In order to chaos study, the power spectrum density and Lyapunov exponents evaluate chaos numerically. The results of the chaotic analysis based on the PSD and LE depict the occurrence of chaos. Also, the phase portrait trajectories and the Poincare’ section confirm chaos in the system. In order to suppress the chaotic vibrations in the system, a feedback controller based on the optimal SMC is applied for the semi-active suspension system. Beside the appropriate stabilization of the chaotic vibrations, the major point of the OSMC algorithm is the rejection of chattering in comparison with SMC. The simulation results of OSMC system demonstrate the reduction of 31% in the energy consumption relative to [11] and the reduction of 14% in comparison with [2]. Moreover, the responses of the feedback system depicts the reduction of 22% in settling time toward [11] and the reduction of 8% relative to [2].