Research on the Intelligent Control and Simulation of Automobile Cruise System Based on Fuzzy System

In order to improve the active safety driving vehicle and alleviate the intension of driving fatigue, an intelligent control strategy of automobile cruise is put forward based on the throttle or braking pedal combined control adopting the fuzzy control theory. A fuzzy logic controller is presented, which consists of the two input variables, the deviation of the theoretical safe distance and relative distance and the relative velocity between the preceding vehicle and the cruise vehicle, and the single output variable, that is, the throttle opening or the braking pedal travel. Taking the test data of 1.6 L vehicle with auto-transmission as an example, the function on the intelligent cruise control system is simulated adopting MATLAB/Simulink aiming at different working conditions on the city road. The simulation results show that the control strategy possesses integrated capability of automated Stop & Go control, actively following the preceding vehicle on the conditions of keeping the safety distance and the constant velocity cruise. The research results can offer the theory and technology reference for setting dSPACE type and developing the integrated control product of automobile cruise system.


Introduction
Recently, traffic jam is getting more and more serious and traffic accident rate continues to rise in every major city of the world that townspeople's travel environment and life safety are influenced seriously.As safety assistant driving system, the adaptive cruise control (ACC) and Stop & Go have been regarded as a hot issue in both academia and automatic industry, especially in vehicle's intelligent safety controlling field.It is generally known that ACC system is mainly used in highway driving condition only at speeds above 40 km/h for luxury vehicles, and it is not suitable for city traffic flow with the high density and the slow speed.It is worth mentioning that Stop & Go systems are applied to deal with the city traffic condition at 40 km/h or below.Compared with conventional ACC system, the Stop & Go system can effectively identify the front vehicle cutting in the cruise lane or changing to the other lane and realize vehicle's stationary control at low speeds to avoid speeding up and down all the time.In addition, the system can release the driver from frequently handling the vehicle, only taking driver's steering control even when it is stuck in traffic due to its automatic Stop & Go control function.Through above analysis we can see that any system has its own scope of application.Therefore, an intelligent cruise system to achieve the integration of two kinds of control functions for cruise system can greatly improve or perfect the function of a single system control.
In the previous researches, there has been a large collection of papers on ACC systems aimed at highways [1][2][3][4][5], but only a few researches have paid attention to the Stop & Go system used for the city traffic condition [6][7][8][9].The research on combining the ACC system with the Stop & Go systems has not been extensively discussed until recently [10].Fuzzy control theory is considered as one of the powerful tools for achieving the goal because it does not rely on an accurate mathematical model [9,[11][12][13][14], and it represents the human reasoning methods in a very effective way and it is suitable for dealing with nonlinear and uncertainty control system [15][16][17][18].Naranjo  the relative speed and distance between the preceding vehicle and cruise vehicle by adopting throttle control only.Then, Naranjo et al. further considered the synthetic control of accelerator and brake using 13 fuzzy rules and a test showed that the unmanned vehicles based on the fuzzy rules like human-driven vehicles adapt to any kind of condition in a great scope of speeds [19].Zhu has put forward a control strategy on ACC based on the preview acceleration model and verified its control function.Pei et al. has proposed a layered algorithm for adaptive cruise control [20].In upper layer, a safe headway maintenance algorithm is devised based on driver's vehicle-following characteristics, enabling the smooth switching of control modes according to different working conditions; while in bottom layer, a throttle controller and a brake controller are designed, respectively, with feedforward and feedback control.Tests on the sudden cut-in and emergent deceleration of front vehicle are performed to verify the layered algorithm.
Although ACC system has been researched extensively, in some ways it remains to be strengthened, for example, further study on intelligent cruise control algorithm, especially combining the ACC system with the Stop & Go systems and the further developing of integrated system product [20][21][22].
It is our goal to propose an intelligent cruise control strategy based on the throttle or braking pedal combined control adopting the fuzzy control theory.Although the proposed fuzzy control strategy is not new in theory, it has combined the ACC system functions with the Stop & Go systems functions in a unified control framework in this paper.The fuzzy logic controller consists of the two input variables, that is, the deviation of the theoretical safe distance and the actual relative distance and the relative speed between the preceding target vehicle and the cruise vehicle, and the single output variable, that is, the throttle opening or the braking pedal travel (nonbraking force).It is easily accomplished for the high-speed ACC driving and low-speed Stop & Go control based on proposed fuzzy logic controller.Taking the test data of 1.6 L vehicle with auto-transmission as an example, the simulation module on the cruise system is designed adopting MATLAB/Simulink and the varying of the typical traffic running cases is validated.The experimental results show that the proposed control strategy is effective for integrating the highspeed ACC strategy and low-speed Stop & Go performance.

Intelligent Control on Automobile
Cruise System 2.1.Intelligent Cruise Control Scheme.Figure 1 describes a logical diagram on the intelligent cruise system.In Figure 1 the input variables of the fuzzy controller are the deviation of the theoretical safe distance   and relative distance   and the relative velocity between the preceding target vehicle velocity V  and the cruise vehicle velocity V ℎ , where the theoretical safety distance   can be obtained by following expression considering the response time of the drivers   , the response time of brake system   , the braking force increasing time   , the deceleration of the cruise vehicle  ℎ and the stopping distance  0 ,   = V ℎ ⋅ (  +   /2 +   ) + V ℎ 2 /2 ℎ +  0 .Here, the theoretical safe distance   is relatively secure because the preceding vehicle is stationary for assumptions.The relative distance   can be measured by Lidar.The deviation of the distance RD is calculated from the difference of the theoretical safety distance and the actual measured distance, that is, RD =   −   .
The deviation of the speed, that is, the relative speed RV, is obtained from the speed difference of the preceding target vehicle and the cruise vehicle, that is, RV = V  − V ℎ .The output variable of the longitudinal controller is the actual signal ; it represents the throttle opening or the braking pedal travel.One important thing to note about range of the value  is the interval value from −100 to 100.If the value  is greater than zero, then the control signal will be converted to a corresponding PWM command and the throttle actuator will generate an action to accelerate based on the PWM command.On the contrary, if the value  is less than zero, an action to decelerate is actuated by regulating the brake pedal travel based on the braking PWM signal.According to the PWM command, the vehicle longitude dynamics system will produce a pull force to control two actuators to regulate the throttle opening and the brake pedal travel.Therefore, the cruise vehicle will be accelerated or decelerated to obtain eventually the actual speed by ABS vehicle speed sensor, which is used to calculate the relative velocity.
Figure 2 shows the control procedure of the intelligent cruise system.Note that the proposed fuzzy controller will be motivated from 0 to 120 km/h.The relative distance   can be measured by Lidar when a target vehicle appears in front of the cruise vehicle.The velocity information from the cruise vehicle V ℎ is provided by its ABS vehicle speed sensor.According to the actual measured distance   and the velocity from the cruise vehicle V ℎ , the velocity of the preceding target vehicle V  can be obtained.On the basis of the above collected information, the distance deviation and the relative velocity between two vehicles are calculated.In Figure 2, there are two patterns to calculate the distance deviation, RD.For the first pattern, namely, the CCS mode, the relative distance   is supposed to be 120 meters if there was no target vehicle in front of the cruise vehicle.For the second pattern, namely, the intelligent following mode, the theoretical safe distance   is regarded as the maximum derived from the product of the total time which was mentioned previously and the velocity V  from the preceding target vehicles or the desired cruise speed V ℎ was set beforehand by the driver.course, the alterable domain range is adjustable according to the actual condition.For some of these input and output variables of the longitudinal controller, the value range, the distribution, and shape of these membership functions are shown in Figures 3 and 4.

Construct Rule Base.
The fuzzy rule base accumulates a great amount of special knowledge and experience, thereby including 25 simple control rules.Fuzzy control rules are characterized by if-then statements involving fuzzy linguistic variables.For example, the generic form of the fuzzy rules in the case of MISO is If  is   , . . ., and  is   , Then  is   ,  = 1, 2, . . ., . ( For Table 1, if the deviation of the distance RD is NB and the relative speed RV is NB, then the control  is ZO.This rule  denotes that the cruise vehicle is fast approaching the target vehicle but the actual distance between two vehicles is very far; then the throttle opening will remain the same.At this point, the relative distance between the cruise vehicle and the target vehicle is shortened gradually.Also, if the deviation of the distance RD is PB and the relative speed RV is NB, then the output  is NB.This rule denotes that the cruise vehicle is rapidly approaching the target vehicle ahead and the actual distance between two vehicles is quite close, then the braking system actuator will regulate quickly and actively the brake pedal travel to significantly reduce the cruise vehicle's velocity in order to avoid rear-end collision.Similarly, other fuzzy control rules are easily comprehended as well.

Defuzzification.
The defuzzifier is utilized to yield a nonfuzzy decision or control action from an inferred fuzzy control action by the fuzzy reasoner [23][24][25].The method on the center of gravity is used to calculate the defuzzified output as follows: where  is the number of fuzzy rules,   is the output of fuzzy rule base, and   is the weight of   .

Intelligent Cruise System Dynamics Modeling.
In order to verify the function on the intelligent cruise control system adopting Simulink, it is necessary to establish the vehicle dynamics modeling of the intelligent cruise system.As can be seen from Figure 5, the model mainly includes five parts that are electronic controlled engine module, hydraulic torque converter module, automatic mechanical transmission module, vehicle running system module, and vehicle braking system module.Each module or subsystem is connected by the relations between the torque and speed.From the whole module of vehicle longitude dynamics system the actual velocity of the cruise vehicle is derived.The actual speed is fed back to the deviation calculation of the fuzzy controller presented above by ABS vehicle velocity sensor.Equation (3) describes the mechanical characteristics of the cruise system dynamics supposing the cruise vehicle drives on smooth surfaces and not taking into account wheel slip action to the vehicle body as follows: where  is the wheel rolling radius,   represents the summation of the front wheel's moment of inertia, and   is the summation of the rear wheel's moment of inertia,   and   represent the brake torque of the front and rear wheel,   is a drag coefficient and  is vehicle's windward area, V  is the wind velocity,  is the cruise vehicle's total mass,  is the gravitational acceleration, and  is the rolling resistance coefficient.
The driving wheels torque   is generated through the engineer and whole transmission systems and it is expressed as 0 and   denote the value of the gearbox output shaft and the turbine torque, respectively,   represents the gear ratio,  0 is the final driver ratio, and   is the transmission system transfer coefficient.Supposing the components between the impeller and turbine are rigid without the plastic deformation, then the turbine torque   is derived as follows: where   and   represent the rotation speed of the turbine and impeller in rpm, respectively,  is the torque coefficient, and   denotes the value of the impeller torque and has been deduced by the following formula: where  tc denotes the torque coefficient; the relation between the impeller torque and the engine torque can be calculated as follows: where  ed represents the engine torque, which can be measured based on engineer dynamometer.The value relies on two parameters as the engine revolution   and the throttle opening  in 0-1 range.The relationship among engine torque, engine revolution, and throttle opening is normally expressed as engine torque characteristic map like     Figure 6(a).  denotes the moment of inertia on the engine flywheel and   represents the engine's magnitude of angular velocity.
In (3),   and   represent the brake torque of the front and rear wheel, and it has been deduced by the following formula: is the proportionality coefficient for brake system and   denotes the pressure of brake master cylinder when brake pedal is pushed.In this paper, the braking pedal travel  is one of the output variables of the longitudinal controller.So, it will need to convert the pedal force   into pedal travel .
Using MATLAB/Simulink, a relational expression is obtained by fitting test data on the brake pedal travel  and pedal force   (see Table 2) as follows: Figure 6 depicts the engine torque characteristic map and the gear switch logic of automatic transmission used in the module of vehicle longitude dynamics system.Using look-up table and state flow in Simulink, the test data from the engine torque characteristic and the gear switch logic of automatic transmission in Figure 6 has been loaded to the simulation module (see Figure 7).

Simulation Results
In order to examine the feasibility and effectiveness of the proposed intelligent control strategy, the function on the intelligent cruise control system is simulated adopting Simulink aiming at different working conditions on the city road.First, it is necessary to validate the availability of the vehicle dynamics model established above on the intelligent cruise system.We can do that by testing the control effect on applying the above established model to CCS system to illustrate the rationality of the dynamics model.On the basis of the feasible dynamics model, the control function on the intelligent cruise system is further tested under different working conditions on the city road taking the test data of 1.6 L vehicle with four speed auto-transmissions (the transmission ratios are 2.71, 1.44, 1, and 0.74 separately) as an example.In case of intelligent following mode, some typical cases are listed as follows.
Case 1.The cruise vehicle followed the preceding low-speed target vehicle and the distance between the two vehicles is not secure enough.Taking this one step further, at the initial stage the cruise vehicle velocity V ℎ is greater than the preceding vehicle velocity V  , and the actual relative distance   between the two vehicles is less than the theoretical safety distance   .
As seen from Figure 12 of the simulation result in Case 1, the cruise vehicle is immediately slowed down owing to the existing security risk.However, it is worth mentioning that the result in Figure 12(c) denotes that an action regulated the braking pedal to be executed for reducing the cruise vehicle's velocity aiming at eliminated insecurity.Then, the cruise vehicle repeatedly adjusts the throttle to match the target vehicle's velocity for ensuring that the distance between two vehicles is safe.
Case 2. The cruise vehicle followed the preceding higherspeed vehicle or a vehicle with the higher-speed suddenly cuts into the front of the cruise vehicle.Taking this one step further, at the initial stage the velocity V ℎ of the cruise vehicle is much less than the velocity V  of the preceding target vehicle, and the relative distance   between the two vehicles is less than the theoretical safety distance   .So, there is a potential security liability between the two vehicles.
Figure 13 shows the simulation result of Case 2. As can be seen from Figure 13, the cruise vehicle theoretically should slow down because the relative distance   between the two vehicles is less than the theoretical safety distance   , but the braking pedal was not activated at the initiative time.On the contrary, owing to the larger velocity difference between two vehicles the cruise vehicle's throttle was activated for rapidly approaching the velocity of the preceding target vehicle.Then, the cruise vehicle executes repeatedly the adjusted action from the throttle to braking pedal or otherwise and finally matches the velocity of the preceding vehicle.The cruise vehicle follows the preceding vehicle at lowerspeed and stopped eventually.
You can see from Figure 14(b) that the relative distance   between the two vehicles is less than the theoretical safety distance   .But the cruise vehicle velocity V ℎ is greater than the preceding vehicle velocity V  (see Figure 14(a)), so the braking pedal is to be executed for reducing the cruise vehicle's velocity aiming at eliminated insecurity.Then, the cruise vehicle repeatedly adjusts the braking pedal to stabilize for reducing oneself velocity until it stops in the range of stopping distance 2 meters (see Figures 14(b) and 14(c)).During the whole process, the cruise vehicle's throttle opening is always zero because of the braking pedal to be activated.The simulation results show that the control strategy possesses the automated Stop & Go function.Then, the cruise vehicle continues to increase the throttle opening for following the preceding target vehicle's velocity.When the velocity of the cruise vehicle matches the velocity of the preceding vehicle, the throttle opening will basically remain unchanged while ensuring that the relative distance between the two vehicles is in the range of safe distance.It is worth mentioning that the result in Figure 15(c) denotes that the braking pedal travel remains in motionless state during the whole control process that is closer to the actual.
Case 5. A comprehensive status is proposed for simulating the cruise vehicle which actively follows the preceding vehicle to accelerate, slow down to stop, and restart up to a preset velocity.At the initial stage the velocity V ℎ of cruise vehicle is greater than the velocity V  of preceding vehicle and the relative distance   between the two vehicles approaches the theoretical safety distance   .
As seen from Figures 16(c   China, and the general project for the Education Department of Liaoning Province of China under Grant L2014240.

Figure 1 :
Figure 1: Principle diagram of the fuzzy longitudinal control on automobile intelligent cruise system.

Figure 2 :
Figure 2: Sketch map of the control procedure on the intelligent cruise control.

Figure 3 :
Figure 3: Membership function of the relative distance RD (or RV).

Figure 4 :
Figure 4: Membership function of output variable .

Figure 5 :Torque
Figure 5: A module of vehicle longitude dynamics system.

Figure 6 :
Figure 6: Engine torque characteristic and gear switch logic of automatic transmission.

Figure 7 :
Figure 7: Simulation module of automobile intelligent cruise control based on MATLAB/Simulink.

Figure 8 :Figure 9 :
Figure 8: Simulation result of the high-speed condition.

Figure 10 :
Figure 10: Simulation result of the low-speed condition.

Figure 11 :Figure 12 :
Figure 11: The throttle opening change of low-speed condition.

Figures 8 -
Figures 8-11, respectively, show the comparison result of speed matching and the change of the throttle opening adopting the tested CCS system based on the dynamics model.You can see from Figures 8 and 11 that the speed of the cruise vehicle is perfect to adapt the presetting speed and that illustrates availability of the cruise system dynamics model established in this paper.

Case 3 .
The cruise vehicle travels at 25 thousand miles an hour.A car in front of the cruise vehicle about 15 meters goes at 5 thousand miles an hour and stops after 5 seconds.

Case 4 .
The cruise vehicle followed the preceding high-speed target vehicle and the distance between the two vehicles is secure enough.The preceding target vehicle increases its own speed from 80 to 100 kilometers per hour after 40 s.The cruise vehicle accelerates from static condition to 80 kilometers per hour, following the preceding vehicle under the condition of ensuring the safe distance.

Figure 15
Figure15depicts the simulation result of Case 4. It is clearly observed that the cruise vehicle quickly increases velocity up to 80 kilometers per hour by increasing the throttle opening at first and keeps the unchanged throttle opening 40 s ago.Then, the cruise vehicle continues to increase the throttle opening for following the preceding target vehicle's velocity.When the velocity of the cruise vehicle matches the velocity of the preceding vehicle, the throttle opening will basically remain unchanged while ensuring that the relative distance between the two vehicles is in the range of safe distance.It is worth mentioning that the result in Figure15(c)denotes that the braking pedal travel remains in motionless state during the whole control process that is closer to the actual.
) and16(d)  of the simulation result in Case 5, within two seconds of the initial stage the

Table 2 :
Relationship of brake pedal travel  and pedal force   .