1. Introduction
As an important component of vehicle stability control, the active steering system can determine the conditions that will occur according to the driving state of the vehicle. This provides an additional steering angle that is independent of the driver. It actively corrects the steering angle of the wheel to meet the steering requirements of the vehicle at low speeds, high speeds, and critical conditions and improves the operating stability of the vehicle. It has some advantages, such as quick response, not affecting the longitudinal dynamics of the vehicle, and the ability to ensure the stability of the vehicle under extreme conditions, etc. At present, the active steering technology is a key technology for automatic driving vehicles to achieve route tracking and obstacle avoidance and risk avoidance, and its performance will affect the active safety and driving performance. Therefore, many scholars have implemented research on active steering technologies [
1,
2,
3,
4,
5,
6,
7,
8,
9].
Currently, the active steering control based on the classical control theory can achieve, to a large degree, the stability control of vehicles. Yu et al. designed the active steering controller based on fuzzy proportion integration differentiation (PID), which can improve the lateral stability of the vehicle under various lateral interferences [
10]. Wang Ning designed the self-adaptive fuzzy PI controller that takes the deviation between the actual and the ideal yaw rate and the deviation between the actual and the ideal sideslip angle as the input; this enhances the driving stability of the vehicle [
11]. By fully considering the limitations, such as ground attachment, steering, and braking, etc., Li Jing et al. designed the chassis integrated controller by adopting fuzzy PID. This has a good effect on the stable control of the vehicle [
12]. However, PID control is applied mainly to model-free engineering control and its parameters are usually regulated by experience. Therefore, it is difficult to obtain optimal PID parameters and its robustness for all operating conditions is not good. These active steering controls based on the classical control theory are unable to inhibit the uncertainty of the steering system and the interference caused by nonlinear factors.
As for the problem that the control methods based on experiences are not able to effectively inhibit the noise and interference of the system, some scholars have further developed active steering control by adopting the modern control theory. Li et al. proposed a control strategy based on active disturbance rejection, which has a better control effect than PID and has a higher capability in route tracking and disturbance rejection [
13]. Sang Nan et al. designed the active disturbance rejection controller for active steering of the front wheels, which improves the control stability of the vehicle [
14]. Huo et al. implemented an optimization to the control algorithm and designed the optimized back-propagation (BP) network controller based on a genetic algorithm [
15]. These controllers allow the vehicle to achieve good stability control.
To improve the robustness of the system, Wu Jian et al. designed the active steering general internal model robust controller for solving the contradiction between the performance and robustness of the controller [
16]. Chen et al. implemented the design of active steering controller for assisting drivers in lane retention based on the control method, which improves the robust performance of the system [
17]. Zhao et al. studied the active steering system based on the hybrid control of
, which enhances the capacity of resisting disturbance of the system by using
, and improves the turning stability and maneuverability of the vehicle through optimization implemented by
[
18]. Nam et al. designed the active steering robust controller that is applicable for electric vehicles. The controller effectively resists external disturbances to guarantee the robustness of the system [
19]. Ji et al. designed the active steering robust controller on the basis of model uncertainty and external disturbance [
20]. By taking into consideration factors such as model uncertainties, various external disturbances, sensor noise, etc., Xu Zhijiang designed the yaw rate robust controller of systems based on
comprehensive robust control, which can effectively improve the active safety and operating stability of vehicles [
21]. Aiming at a two-degrees of freedom vehicle model of a linear vehicle model with yaw and sideways, Said Mammer et al. designed an active steering controller for the control, which improves the performance and robustness of the controller through making up the parameter uncertainty of the vehicle [
22].
Good progress has been made for the above active steering control methods. However, there is a gap between the steering control model adopted by these researchers and the actual steering system and some have not been tested to verify the effectiveness of the algorithm. We designed an active steering controller based on a receding horizon control to solve the problems of external disturbance and model uncertainty. This method has been applied in many fields [
23]. This method applies the first component of the optimal solution
at the current moment
to the system; at the next moment of
, it applies the new measured value
as the initial condition to re-predict the future output of the system and solve the optimization problem. Through this method, the external disturbance in the measured value or the error information of the model is effectively used to promote the performance stability of the system. This paper designed an active steering experiment platform based on LabVIEW RT on the basis of simulation and verification of the algorithm, implemented experimental verification, and simultaneously implemented a comparison with the control effect of the PID controller. The results show that the receding horizon controller had a faster response and better control effect than the PID controller. Especially in the process of actual use, it could improve the robustness of the system, had a good effect on the suppression of external noise, and could better guarantee the stability of the vehicle.
2. Control Strategy of Receding Horizon
The overall control strategy of the receding horizon control is shown in
Figure 1. It includes the vehicle’s modules such as the two-degrees of freedom vehicle module, tire model, target value calculation module, controller, etc. The target value calculation module provided the target value of the variable of the system in real time, and the receding horizon controller directly provided the superposition steering angle of the steering of the front wheel. The final control steering angle was then obtained after the superimposition with the target steering angle functions together with the vehicle to achieve stability control of the vehicle.
2.1. Vehicle Control Model
In this paper, the stability control of vehicle active steering was studied. A simplified model of a vehicle with two degrees of freedom is presented in
Figure 2 [
24].
The kinetic equation of the vehicle is:
Among them, is the mass of the whole vehicle; is the longitudinal velocity of the vehicle; is the sideslip angle of the vehicle; is the yaw rate of the vehicle; is the front-wheel steering angle of the vehicle; is the distance from the front wheel of the vehicle to the mass center; is the distance from the rear wheel of the vehicle to the mass center; is the moment of inertia of the vehicle rounding the z-axis; is the tire lateral force of the front wheel of the vehicle; is the tire lateral force of the rear wheel of the vehicle.
The magic tire model can describe the non-linear characteristics of a tire. The formula for magic tires is:
where
is the peak factor,
is the shape factor,
is the stiffness factor, and
is the curvature factor. The lateral force of the tire in the formula is:
where
The data measured by experiment in the formula is shown in
Table 1 [
25].
The wheel side deflection angle of the vehicle is obtained by measuring the parameters and estimating:
where
is the front wheel side deflection angle and
is the rear wheel side bias force.
It is difficult to solve the system dynamics equation by using the nonlinear magic tire formula. Therefore, the local linearization method is used to transform the nonlinear problem into a linear problem. The real-time status of the vehicle is
and the tire side deflection angle of the vehicle is
. The lateral force of the tire can be written as follows:
Substituting Equation (5) into Equation (1), we have the following:
where
is the system variables
;
is the state matrix;
is the vehicle’s front wheel stacking corner;
is the control matrix;
is the interference input;
is the corresponding interference input matrix. Road signal input can be written as
where
represents the disturbance intensity coefficient and
is the pavement disturbance noise.
The coefficient matrix
can be written and
is the road roughness factor.
2.2. The Target Quantity
The linear two-degrees-of-freedom vehicle model is used as the ideal reference model. In the case of angular input, the two-DOF model can produce a steady state response [
26]. The desired yaw rate is
The expectation of the centroid side deflection can be written as follows:
The upper-type represents the front and rear wheelbase of the vehicle and are the lateral stiffness of the front and rear wheels of the vehicle, respectively.
The stability factor is as follows:
The above yaw angle velocity and the expectation of centroid side deflection do not consider some uncertain factors, such as tire, road surface attachment, etc. These will lead to control deviation, especially when the vehicle is in the critical state of attachment limit. Revising the expected value is necessary. The desired yaw rate correction can be written as follows:
The motor vehicle may have entered the non-linear zone when the upper limit is not reached. Therefore, the upper-type correction can be described as follows:
The correction of the lateral deflection angle of the desired centroid can be written as follows:
2.3. Receding Horizon Control Scheme
The receding horizon control predicts the system state in the future finite period according to the current sampling time and solves the optimal control quantity where is the current moment and is the time interval. The prediction time domain is expressed by , the control time domain is represented by , and represents the terminal moment of receding horizon prediction.
The discrete equation can be obtained by discretization of the Formula (6):
where
The coefficient matrix
can be written as follows:
and are expressed as the controller cycle and the state transition matrix of a continuous system.
The receding horizon control solution makes the following assumptions:
The amount of system control outside the control time domain remains unchanged, namely:
The detectable interference remains unchanged after the current control moment; namely
The discrete time-invariant system of a referenced predictive form:
Performance metrics can be written as follows:
where
The Hamilton function can be written as follows:
Through the Formula (19) deviation:
where
so that
can get the following:
The optimal control output can be written as:
where
The boundary conditions are
The Formulas (18) and (19) are substituted with (26), and Formula (25) is substituted for
:
The solution for Formula (28) can be obtained as follows:
Formula (29) is used in (25) to obtain the optimal receding horizon solution for the next N-step:
Formula (29) is in the Formula (23):
where
The performance index of the receding horizon based on current time
and predictive interval
is as follows:
The optimal solution of the receding horizon control for the predictive interval
is as follows:
where
Based on the current time
, the optimal control amount of the receding horizon is
and the optimal control quantity is expressed as
. At the same time, make
:
and can be obtained by Formula (32).
The receding horizon controls an expression that simplifies the optimal control by deleting a reference value:
where
Meanwhile,
,
. Replacing
and
with
and
can be:
where
The optimal control output is obtained by solving the above process:
3. Simulation Analysis
Figure 3 and
Figure 4 provide the state parameter curves of the vehicle under the three conditions of receding horizon control, PID control, and no control.
Figure 3a shows the lateral displacement under the three conditions, from which we can see that the vehicle without control had a large delay in the route tracking when it passed through the double-lane-change route, it formed a steeper route with a larger magnitude, and the vehicle was in a state of instability. The vehicles provided with receding horizon control and PID control both completed the work condition of a double-lane-change route. However, the vehicle provided with receding horizon control had a tracking that was closer to the ideal tracking. During the emergency steering process, maximum lateral displacement deviation between the PID control and receding horizon control was nearly 1 m. In the process of vehicle stability control, the vehicle provided with receding horizon control had completed emergency obstacle avoidance when driving to 350 m. However, the PID-controlled vehicle did not complete emergency obstacle avoidance when it drove nearly 450 m.
Figure 3b shows the comparison of the steering wheel angles from which we can see that the vehicle without control had a larger steering wheel angle input and the vehicle provided with receding horizon control had a smaller steering wheel manipulation than the vehicle provided with PID control.
From
Figure 4a, we can see that the vehicle without control had a very large sideslip angle and the vehicle had lost stability; there was a reduction in the sideslip angle of the vehicle provided with receding horizon control compared with the vehicle provided with the PID control. In
Figure 4b, it implements the comparison of yaw rate under the three control states. To verify that the proposed receding horizon control has anti-interference capability, noise was added to the simulation; it can be seen that there was a higher change in the yaw rate without control and after 4 s the vehicle lost stability. Although it can effectively track the yaw rate for the vehicle provided with PID control, the control effect of PID was inferior to that of receding horizon control under extreme conditions. The receding horizon control was able to resist the impact of model uncertainties and it could better track the ideal operating characteristics of the vehicle.
4. HIL Implementation
In this section, the controller was embedded on the hardware-in-loop (HIL) platform to verify the true performance of the controller [
27,
28,
29]. In the HIL, although the vehicle simulation model or commercial vehicle simulation software was used to replace the real vehicle, the actuator and control system were complete Therefore, it has been widely used in vehicle stability control and automatic driving control logic verification by vehicle factories and research institutions. In the HIL system established in this paper, CarSim embedded in the PXI real-time control system was used for vehicle simulation and to provide road information. Through PXI’s CAN card, the vehicle state parameters, such as steering angle, yaw rate, speed, and so on, were transmitted to the active steering controller based on dSPACE. In dSPACE, vehicle state parameter information received from PXI was used to calculate the superimposed target active steering angle in real time according to the active steering controller designed in this paper. The target rotation angle was sent to the bottom steering controller to drive the steering motor to execute the target rotation angle. The Bosch angle sensor was used to collect the real steering angle and transmit the steering angle to CarSim. Through the above steps, a steering HIL was realized.
Under the conditions of simulating the original work condition, it analyzed and compared the stability of active steering under the strategy of receding horizon control and PID control. In this paper, the initial speed of the hardware-in-the-loop experiment was 120 km/h, and it adopted a double-lane-change route. The hardware-in-the-loop experiment platform for active steering is shown in
Figure 5.
Figure 6 shows the data collected by the experiment platform and its relevant curves.
Figure 6a is the lateral displacement collected under the experiment from which we can see that the vehicle without control produced large lateral displacement when it passed through the double-lane-change route, the vehicle deviated badly from the ideal path, and the vehicle was in a state of instability. The vehicles provided with receding horizon control and PID control both completed the work condition of double-lane-change route; however, the vehicle provided with receding horizon control had a tracking that was closer to the ideal tracking.
Figure 6b shows the steering wheel angles collected in the process of the experiment. We can see there was a sharp increase in the steering wheel angle of the vehicle without control and that the vehicle lost stability; the vehicles that were provided with receding horizon control and PID control both completed the condition of work. However, the vehicle with receding horizon control had a better response effect and tracking that was closer to the ideal tracking than the vehicle provided with PID control. The vehicle provided with receding horizon control had smaller steering wheel manipulation, which guaranteed better stability of the vehicle.
Figure 6c shows the comparison of the yaw rate collected in the process of the experiment. From the figure, it can be seen that the yaw rate of the vehicle without control exceeded the limit range; the yaw rate of the vehicle provided with receding horizon control could be controlled within a certain range, which makes it better for tracking the ideal operating performance of the vehicle.
Figure 6d shows the comparison of the sideslip angles collected in the experiment. The sideslip angle of the vehicle without control exceeded the limit range. However, the sideslip angles of the vehicles provided with PID control and receding horizon control could be kept within a stable range. The vehicle provided with receding horizon control had a smaller sideslip angle, which implemented better control for stabilizing the vehicle. When the vehicle was driving for 13 s, the vehicle that was provided with receding horizon control completed emergency obstacle avoidance while the PID-controlled vehicle did not completely avoid an emergency obstacle at 15 s.
Figure 7 shows the current of the running motors collected under different control conditions in this experiment. The motor current of the vehicle without control always stayed at a higher value, the current reached the rated limit, and the vehicle lost stability. The current with a PID control was stabilized within the range of
A; however, there was noise fluctuation in the motor current. Compared with the PID control, the vehicle provided with the receding horizon control had less fluctuation in noise of the motor current, a more stable current, and a faster response speed.
Figure 7d shows the root mean square value of motor currents under different control modes. It can be seen from the figure that the root mean square value of motor current controlled in receding horizon control was the minimum. Therefore, the receding horizon control had a better energy control effect.
Through the above analysis, the advantages and disadvantages of the two controllers are summarized in
Table 2.
5. Conclusions
In this paper, the receding horizon control was applied to the active steering control, and the design and solving processes of the active steering controller were introduced in detail. The main contributions of this paper can be summarized as follows:
- (a)
The control model was established based on the nonlinear tire model and the two-freedom model, and the AFS receding horizon controller was designed on the yaw rate deviation.
- (b)
We built the steering hardware-in-the-loop platform based on LabVIEW RT system to verify the actual control effect of the receding horizon controller.
The co-simulation results and experimental results of hardware-in-the-loop showed that the designed controller could implement stability control of the vehicle more effectively in the actual system, and improve the performance and stability of the system. In this paper, the main factors affecting the AFS system were considered. The change in system stiffness, the perturbation of the motion, and the parameters of the system were not considered. The next step will be to consider more indicators to establish a more eligible control system.