Abstract
This research proposes a hybrid control algorithm to enhance smoothness in a vehicle’s motion. The control signal is synthesized from two separate controllers, Proportional Integral Derivative (PID) and Sliding Mode Control (SMC), to achieve superior control performance. The novelty of the proposed control algorithm lies in using a double-loop algorithm to determine the controller parameters. The algorithm proposed in this research involves two computational processes to determine the model’s optimal values including the raw value and the acceptable value. The proposed control algorithm has been simulated considering three specific cases corresponding to the three types of road stimuli. The results demonstrate that the values of sprung mass displacement and acceleration dropped considerably with the application of the proposed algorithm. Moreover, the change in vertical force at the wheel is also reduced with the application of the algorithm particularly in the third case where the vertical force at the wheel has reached to zero. The average values of vehicle body displacement are found to be 166.17 mm (for passive case), 54.20 mm (for PID), and 42.52 mm (for SMC). The proposed control algorithm managed to reduce this value to 8.95 mm as evidenced by simulation results. Finally, the response of the control system when subjected to an excitation signal from the road surface further demonstrates efficacy of the proposed hybrid control algorithm.
Introduction
The roughness of a road can cause oscillations in a moving vehicle causing uncomfortability to the onboard passengers. 1 Moreover, in case of shipping and logistics vehicles, the quality of the goods may be affected. There are several parameters used to evaluate oscillations in vehicles including but not limited to 2 ; change in the vehicle’s body displacement, acceleration, and the difference in a wheel vertical force. For single impulse or discontinuous oscillations, the maximum values of the aforementioned parameters need to be taken into account. On the other hand, the continuous or periodic oscillations involve consideration of their average values.
The oscillations in a vehicle can be kept under control with the help of a suspension system. Each kind of a suspension system requires a different set of parts. A passive suspension system utilizes metal springs and standard dampers. The stiffness of these components remains unchanged. Therefore, smoothness in a vehicle’s motion cannot be guaranteed. In order to resolve the vehicle’s oscillation issues, it is necessary to vary the stiffness of spring and damper. Nguyen 3 introduced an air suspension system, which uses variable stiffness air springs. Variations in internal pneumatic pressure affect the spring’s stiffness.4,5 Besides, the suspension system using a magnetorheological damper helps to improve the vehicle’s stability during its motion. The magnetorheological damper uses electromagnetic force to regulate the flow of internally circulated liquid, thus making it possible to flexibly change the oscillation quenching process.6,7 Active suspension systems should be used to mitigate oscillations more flexibly.8–10 An active suspension system contains an extra hydraulic actuator that works based on the opening and closing of the servo valves. These valves operate when a control signal is received from the controller. 11 In general, an active suspension system demonstrates superior performance as compared to other suspension systems. The performance of an active suspension system depends on the underlying control algorithm. The controllers can be divided into several types: linear control, nonlinear control, intelligent control, adaptive control, etc.
For simple control problems, the plant is often assumed to be linear and thus a Proportional Integral derivative (PID) algorithm can be used in case of a Single Input Single Output (SISO) system. The PID controller consists of three operations, each having a corresponding coefficient. 12 The tuning of these coefficients is critical. Mohammadikia and Aliasghary 13 proposed a method to adjust the PID controller’s coefficients based on fuzzy rules. The proposed fuzzy algorithm consisted of one input and two outputs. The defuzzification process was designed based on experience and experiments. In general, the membership functions in fuzzy algorithms are triangular, trapezoidal, or Gaussian. 14 Fuzzy algorithms can be divided into smaller layers corresponding to the three operations of the PID controller. 15 Additionally, particle swarm methods may be employed to tune and configure the PID controller.16–19 If two quantities of a plant (such as displacement and acceleration) need to be controlled, two PID controllers can be combined. 20 However, this may cause unwanted couplings and interactions. Park and Yim 21 used the Linear Quadratic Regulator (LQR) algorithm to dynamically control an active suspension system using a quarter-model by optimizing the cost function. 22 The state space model of the vehicle under oscillations was written in the form of a matrix representing system states to solve the Riccati algebraic equation. 23 When a LQR controller is further integrated with the cancellation term, it becomes intelligent (i-LQR) as introduced by Haddar. 24 However, the effectiveness of the above algorithms is not guaranteed when applying them to control the systems having nonlinear oscillation. Therefore, these algorithms should be replaced or combined with more complex nonlinear control techniques.
Sliding Mode Control (SMC) algorithm is often used for plants that have nonlinear or random stimuli. 25 The control algorithm relies on Lyapunov theory to design the asymptotically stable controllers. 26 The quantity being controlled is driven onto the sliding manifold to achieve a steady state. 27 The sliding manifold in the present work, has been developed using the higher order derivatives based on the derived model reported in Nguyen et al. 28 Therefore, it is necessary to linearize the actuator dynamics into an approximate linear differential equation as highlighted in Nguyen. 29 The order of the derivative signal depends on the system order. The model becomes more complex and sophisticated for systems with several state variables. 30 SMC algorithm inherently suffers from chattering phenomenon leading to noisy control signals.31–33 The fuzzy algorithm can be combined with SMC algorithm to form a “hybrid controller” to solve this problem. 34 Other advanced control algorithms used in control of an active suspension are reported in References 35–39. In general, the effectiveness of these methods is outstanding.
Based on the abovementioned discussion, the SMC algorithm can help reduce suspension system oscillations. However, it inherently suffers from the “chattering” phenomenon, negatively affecting the system’s performance resulting in an oscillatory behavior. A SMC algorithm can be highly effective when applied to control a specific object. If the system has several parameters that need to be controlled, we may need to use multiple SMC algorithms. However, combining the algorithms may be computationally more complex and expensive. On the other hand, we cannot achieve ideal performance level with a single sliding mode controller.
The PID controller is quite simple, computationally inexpensive, and highly systematic. With real-time control capabilities, the PID controller has been the main workhorse in industry for decades and is suitable for dynamic systems with varying conditions. However, they are sensitive to noise and measurement errors.
Given the pros and cons of each of PID and SMC based laws, formulating an integrated controller by combining PID and SMC will provide opportunity to get benefits from both control techniques. This results in obtaining superior control performance compared to individually applying each of the aforementioned control technique. In addition, the “chattering” phenomenon can be largely eliminated and the algorithm design process becomes simpler compared to using two integrated SM controllers. Finally, the proposed hybrid control approach can be widely applied in various applications, thanks to the systematic characteristics of the PID algorithm.
This research proposes a PID-SMC hybrid control method to improve the performance of the active suspension system. The final control signal is synthesized by integrating the two-component signals during the design process. The novelty of the proposed control law relies on harnessing prominent features of both controllers; PID and SMC. Moreover, in contrast to most of the reported studies for example, References 23, 40–42, which used a single loop algorithm to determine the optimal values of the controller parameters, the present study introduces a novel double-loop method to estimate the required parameters more accurately.
The remaining article is organized in four sections; Section “Dynamic model and controller design” presents dynamics of a quarter-model and the proposed control algorithm. Simulation results are discussed in Section “Simulation results.” Finally, Section “Conclusion” comments on conclusion and briefly mention the future work.
Dynamic model and controller design
There are several types of dynamic models commonly used to simulate vehicle oscillations. For vehicle control problems, dynamics of a quarter-model is often used, which includes the hydraulic actuator as illustrated in Figure 1. The separation between sprung and unsprung masses is also shown. Motion of the two masses can be formulated as in (1, 2) based on the D’Alembert principle.
where ms is sprung mass, mu is unsprung mass, Fs is spring force, FD is damper force, FA is actuator force, FT is tire spring force, zs is sprung mass displacement, and zu is unsprung mass displacement.

Dynamics of the quarter-model.
The spring force, damping force, and tire force can be respectively given by (3)–(5).
where S is spring coefficient, D is damper coefficient, and T is tire spring coefficient.
The force generated by the actuator is determined by the linearized equation given in (6)
where γ1, γ2, and γ3 are coefficients.
Given the nonlinear nature of the vehicular system, a robust and nonlinear control algorithm, SMC is proposed and is applied to this model.
Let e1(t) be the error between the setpoint signal ys1(t) and the output signal y(t). That is,
For the system to be stable, the error signal e1(t) must approach to zero. This value will oscillate around the sliding surface and move toward a stable position as illustrated in Figure 2.

Sliding surface.
To simplify the problem, a linear sliding surface (8) is often used. 43
The coefficients ϑi in (8) must be the coefficients of the polynomial P(p) given in (9) such that P(p) is a Hurwitz polynomial.
The sliding condition of the control problem to bring the error to zero systematically is given in (10).
Consider a nonlinear plant of order
Assuming that the output of the model is a state variable,
From (8), the sliding surface s(e) can be rewritten as in (13),
Let
The sliding function (13) becomes,
Substituting (15) in (10), we obtain,
If the setpoint signal ys1 is constant, that is,
The control signal u1(t) gets the form given in (18),
SMC technique is applied to the suspension system model with five state variables x1 to x5 given in (19) as,
Taking the derivative of the variables given in (19), we obtain (20) as,
Taking the first to the fifth derivative of the output signal.
(25) can be rewritten as follows,
where,
The sliding surface (15) becomes (27),
The control law u1(t) is chosen according to (28).
where P is a positive coefficient.
Stability proof
The Lyapunov control function given in (29) is a positive definite function ∀x≠ 0.
Taking the derivative of (29), we obtain (30),
Taking the fifth derivative of (7), we get (31). Then, taking the derivative of (27), we get (32),
Combining equations (31) and (32), we get (33),
Substituting (26) into (33) results in (34),
Combining (28) and (34), we obtain (35),
Substituting (35) into (30) finally results in (36),
According to (29) and (36), the system reaches a steady state.
The proposed hybrid PID-SMC controller is shown in Figure 3, which optimizes the system’s overall performance. The double-loop method must undergo two steps to determine the raw and acceptable values. The raw value is determined from the first loop with wider steps. However, the accuracy is not high. Therefore, it is necessary to introduce the second loop with finer steps to compute accurate values (Figure 3). The system’s stability is evidenced by choosing optimal values of the PID controller. These values are selected so as to minimize the system error. This process is performed in two loops.

Schematic of the proposed hybrid PID-SMC algorithm.
Let e2(t) be the error signal corresponding to the PID controller.
The control signal u2(t) is determined using (38) as,
The overall control signal of the hybrid controller is given by (39) as,
Several methods can be used to determine the parameters of the PID controller, such as using the Ziegler Nichols method, Genetic Algorithm (GA) solution, fuzzy set or Particle Swarm Optimization (PSO) algorithm, etc. In this study, we propose a double-loop algorithm for determining the PID controller parameters. As illustrated in Figure 3, the algorithm consists of two processes: (i) Define raw values of the controller parameters, (ii) Determine their acceptable values. In terms of the first process, the limits of the parameters need to be predefined. The values within the range are used to run simulations for the vibration problem. The corresponding output values are obtained for each parameter, including vehicle body displacement and acceleration and error signal e(t). The algorithm selects the controller’s parameters that result in minimal error signal. Based on this criterion, the optimal value can be determined. Assuming that in the limited range of parameters, there are m parameters of KP, n parameters of KI, and p parameters of KD, the number of cases to run the simulation is equal to the product m × n × p. Therefore, the number of simulation runs will be huge if the division of the range of values is small. We can use a reasonable division to find the required parameters to overcome this problem. However, the raw value needs to be accurate.
The second process involves determining the acceptable values. The fine value is determined from the original raw value obtained from the first process. The division of this range is smaller (i × j × k) to ensure accuracy.
The double-loop optimization algorithm is mathematically formulated in (40) and (41), which respectively correspond to the first process and the second process.
For the first loop, the range of parameters should be predefined. Besides, a reasonable value of the smallest division also needs to be determined. These values are used in the calculation and simulation processes. The optimal value (raw value) can be obtained once the condition related to minimizing the error signal is satisfied. The second loop is similar to the first loop. However, the range of values for this loop is reduced based on the initialized raw values.
Simulation results
The performance of the proposed hybrid PID-SMC strategy is characterized in simulations conducted in MATLAB/Simulink® 2021 environment running on a PC with core i9-12900K and 32GB RAM. The simulation parameters are given in Table 1. These parameters are determined based on mechanical simulation carried out in CARSIM® software.
Simulation parameters.
Simulations are conducted for three cases corresponding to the four types of roughness on the road. In each case, four situations are considered. In the first situation, the vehicle uses a passive suspension system. The second situation involves an active suspension system with application of PID controller while in the third situation, SMC is applied to the active suspension system. The PID-SMC hybrid integrated controller is shown in the last situation.
In the first case, cyclic pavement excitation with a sinusoidal function is used as illustrated in Figure 4. The displacement of the vehicle body is also shown in this figure. The amplitude of oscillations in the vehicle is the largest and reaches up to 131.85 mm in the case when the vehicle only uses a mechanical suspension system. This value can be reduced to 51.02 and 40.56 mm if the vehicle uses the active suspension system controlled by PID or SMC algorithms respectively. When SMC algorithm is combined with PID algorithm, this value can be further reduced to only 8.98 mm. In addition to considering the maximum value of oscillations, the average values should also be considered when assessing vehicle oscillations. The average value is calculated for the case when the vehicle oscillates continuously. Based on Root Mean Square (RMS) criteria, the average value of the displacement can reach 87.32, 36.15, 28.67, and 6.32 mm respectively for the four situations under investigation.

Sprung mass displacement – Case 1.
The change in acceleration of the sprung mass over time represents the smoothness of vehicle’s motion as shown in Figure 5. If acceleration is unreasonably high, vehicle comfort may be affected. In the first phase of the oscillation, the acceleration reaches its maximum value of 0.74 m/s2 (PID-SMC), 3.02 m/s2 (SMC), 2.96 m/s2 (PID), and 3.61 m/s2 (passive). The average value of acceleration is 0.11, 0.51, 0.62, and 1.48 m/s2 respectively for the four situations under consideration.

Sprung mass acceleration – Case 1.
The vehicle is unstable when the wheel separates from the road surface. At that time, the vertical force at the wheel has reached zero. The greater the variation in the dynamic load, the higher the risk of the vehicle falling into instability. This problem can be resolved in a better way if the vehicle uses an active suspension system with the proposed hybrid PID-SMC algorithm. The change in dynamic load is not large as shown in Figure 6.

Vertical force – Case 1.
In the second case, a single trapezoidal form of pavement stimulus is used (see Figure 7) to determine the stability of the system after application of the excitation signal. The results indicate that displacement of the vehicle body exhibits a huge peak when the vehicle does not have an active suspension system (Figure 7). These values gradually decrease corresponding to the other three situations. The maximum values of the four situations are found to be 9.63 mm (PID-SMC), 41.62 mm (SMC), 51.17 mm (PID), and 108.30 mm (passive), respectively. After the excitation signal from the road surface is ceased to zero, the vehicle body continues to oscillate with a small amplitude for a certain time if the vehicle only uses the passive suspension system. In contrast, the active suspension system offers more stable decay of oscillations. Since this is not a continuous excitation, therefore, the average value of the oscillations is not considered.

Sprung mass displacement – Case 2.
The changes in acceleration and vertical force are shown in Figures 8 and 9 respectively. The acceleration and the force tend to be opposite to each other. In this case, the sprung mass acceleration is not high for all the situations because the acceleration and frequency of the excitation signal are quite small. This causes the value of the dynamic force at the wheel to change only within a small range. So, the vehicle is still in a steady state, and the interaction between the wheel and the road surface is always guaranteed.

Sprung mass acceleration – Case 2.

Vertical force – Case 2.
In the above two cases, the amplitude and frequency of the stimulus are still not large. Therefore, the vehicle oscillation is not much affected. To investigate the oscillations more critically and comprehensively, the third case considers excitations with relatively larger frequencies and amplitudes as shown in Figure 10. The results indicate more variations in the vehicle oscillations.

Displacement of the sprung mass – Case 3.
The acceleration of the sprung mass can reach very large values of up to 9.90 m/s2 corresponding to the fourth situation as shown in Figure 11. For the other situations, the maximum values of acceleration are found to be only 1.67, 6.73, and 6.60 m/s2 respectively. In this situation, the vertical force at the wheel can almost reach its limited value (approximately zero) if the vehicle uses only a conventional passive suspension system thus making the vehicle unstable. This is shown as an instability state in Figure 12. However, this state only lasts for a very small amount of time. If the amplitude and frequency of the stimulus continue to increase, the wheel may become completely detached from the road surface. In contrast to passive suspension, the stability of the vehicle is always ensured when the vehicle uses an active suspension system particularly when controlled by the proposed hybrid PID-SMC algorithm.

Acceleration of the sprung mass – Case 3.

Vertical force – Case 3.
In the last case, a random pavement excitation is used. Referring to Figure 13, the signal has a frequency and an amplitude that change continuously over time. Therefore, it causes the vehicle body to oscillate continuously. The results in Figure 13 show that the maximum displacement of the car body can go up to 51.07 mm if the car only has a conventional suspension system. This value is reduced by about half, to 25.47 mm, when we use the active suspension system controlled by the traditional PID controller. This figure drops slightly to 20.34 mm if SMC controller takes the place of the PID controller. Finally, vehicle vibrations can be suppressed almost entirely once the suspension system is controlled by the hybrid algorithm proposed in this article (4.52 mm). Compared to the passive situation, the average displacement value of the PID-SMC situation is only about 8.94%.

Displacement of the sprung mass – Case 4.
In this case, the value of the vehicle body acceleration changes drastically. SMC algorithm causes the acceleration of the vehicle body to increase compared to the passive situation, while the value obtained from PID situation is approximately same as the passive situation. In contrast to this, the peak and average values of acceleration can be significantly reduced with the application of the proposed PID-SMC hybrid algorithm as evident from Figure 14. To achieve this, the hydraulic actuator of the active suspension system needs to work harder, leading to a drastic change in the vertical force. This is a slight limitation of the algorithm proposed in this work. However, the system’s stability is still guaranteed (Figure 15).

Acceleration of the sprung mass – Case 4.

Vertical force – Case 4.
Overall, the results for the SMC or PID situations are similar with negligible errors. The efficiency of the suspension system can be significantly improved when we use the proposed hybrid controller as demonstrated in the present work.
The simulation results can be tabulated in a compact form. Tables 2 to 5 respectively present the results corresponding to Case 1–4. In fact, computing and processing systems onboard the vehicle often have more limited processing capabilities than high-performance personal computers with customized configuration. The limited onboard processing power can lead to delays in control. To solve this problem, we can combine some adaptive delay compensation techniques with the existing algorithm.
Case 1: Sine wave excitation with a small amplitude and frequency.
Case 2: Trapezoidal pulse excitation.
Case 3: Sine wave excitation with a high amplitude and frequency.
Case 4: Random excitation.
Conclusion
This research improves rider’s comfort by reducing vehicle oscillations using an active suspension system. In particular, control of the suspension system is realized by proposing a proposed hybrid PID-SMC algorithm, which is developed based on quarter-model dynamics. Simulations results using three stimuli from road, each characterizing four situations, demonstrate that the active suspension system is capable of significantly reducing oscillations to provide better ride comfort. The maximum and average displacements of vehicle body as well as acceleration values have decreased significantly by the application of the hybrid control algorithm. Moreover, the change in vertical force is also reduced using the proposed algorithm. Thus, the proposed hybrid algorithm overperforms than the passive system as well as an active suspension system controlled only with a PID or SMC algorithm. In near future, we plan to combine the fuzzy algorithm with the hybrid PID-SMC algorithm to further reduce chattering which occurs during some oscillation time.
Footnotes
Handling Editor: Chenhui Liang
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
Data availability statement
The data generated or analyzed during this research are included in this published article.
