# Fuzzy Logic Control for Half Car Suspension System using MATLAB DOI : 10.17577/IJERTV3IS030174

Text Only Version

#### Fuzzy Logic Control for Half Car Suspension System using MATLAB

Mirji Sairaj Gururaj1, Arockia Selvakumar A2

1,2School of Mechanical and Building Sciences, VIT Chennai, Tamilnadu, India

Abstract- To improve ride comfort of vehicle a suspension system is designed to stimulate the actions of an active vehicle suspension. To make the ride comfort and to support vehicle body such a suspension system can be used. The aim of the work is to focus on the application of fuzzy logic technique to control the damping of the suspension system of the vehicle. In this paper, the approach is to design a half car system by using the details of quarter car model and also the results of fuzzy logic and PID controller system is analysed.

Keywords- Fuzzy logic, half-car, suspension, PID, MATLAB.

1. INTRODUCTION

It is the necessity to prevent road disturbances and passenger discomfort; it can be achieved by improving control of suspension system. While the purpose of the suspension system is to give smooth ride and help to maintain control of the vehicle over rough terrain or in case of severe vibrations. Increase in ride comfort may leads to large suspension stroke and small damping. To overcome such problems many control methods have been proposed. The implementations of the control system play important role to prevent these problem. Fuzzy logic control is widely accepted now a day and implemented very fast. Fuzzy control system is used for reducing discomfort of operator and to reduce vibrations. Also to check the best suited control system, comparison between PID and fuzzy control system for quarter car model is proposed in . The results of PID and Fuzzy logic will show which is having higher performance. The ride comfort is improved by means of the reduction of the body acceleration caused by the car body. In  it is described also about the model and controller used in the suspension system and discusses the vehicle response results obtained from a range of road input simulations. In the conclusion, a comparison of active suspension fuzzy control and Proportional Integration Derivative (PID) control is shown. Simulations are shown by using genetic algorithm. In mentioned paper simulations based are on quarter car model which shows body deflection variations with respect to time. And gives a scope for the half car suspension system. Also paper  illustrates the results for quarter, half as well as full car model based on Bond graph model.

In this paper the main objective is to propose a design for half car suspension system. It must be noted that all the results of quarter car model is studied using fuzzy control and PID as well as Un- controlled suspension system The vibration of vehicle can be controlled by proper designing of the controller. The output is shown using MATLAB software. For fuzzy logic rule view and surface view is shown for input and output. For PID and Uncontrolled suspension system, the simulation of body displacement is shown using MATLAB. The also illustrated about the comparison of PID and fuzzy. The approach to design a half car is shown as further scope.

2. HALF CAR MODEL:

The mathematical model in this research is derived based on the approach as presented in  which include mathematical modulations of half-car suspension system. Figure 1 shows half-car suspension system model .

The equivalent forces in both wheels are given by as follows equation:

Ff = -Kf (xbf – xwf) – Bf (bf – wf)

(1)

Fr = -Kr (xbr – xwr) – Bf (br – wr)

(2)

By applying Newtons second law and using the static equilibrium position as the origin for both the displacement of the centre of gravity and angular displacement of the vehicle body, the equations of motion for the system can be formulated. The equation of motion is:

mb bf = -Kf (xbf – xwf) – Bf (bf – wf)

-Kr (xbr – xwr) – Bf (br – wr) + ff + fr – amb

mb br = -Kf (xbf – xwf) – Bf (bf – wf)

-Kr (xbr – xwr) – Bf (br – wr) + ff + fr + bmb

Jy = – Ff a + Fr b

= a (-Kf (xbf – xwf) – Bf (bf – wf)

(3)

(4)

masses are generated by means of the hydraulic actuator placed between the two masses.

Table 1. Parameter values for half car suspension

+ b (-K (x – x ) – B (

– ))

r br wr

f br wr

(5)

Using Jy = m r 2

b y

= (1/ m r 2) {a (-K (x

– x ) – B (

 Car body 575 Kg Centroidal moment of inertia for the car body 769 Kg/m2 Front wheel mass, mwf 60 Kg Rear Wheel mass, mwr 60 Kg Front spring coefficient, Kf 16812 N/m Rear spring coefficient, Kr 16812 N/m Front tyre spring coefficient, Ktf 190000 N/m Rear tyre spring coefficient, Ktr 190000 N/m Front damping coefficient, Bf 1000 N- s/m Rear damping coefficient, Br 100 N-s/m

– ) + b (-K (x

b y f bf wf

f bf wf

r br

– xwr) – Bf (br – wr))}

(6)

Space state model:

Here quarter car model is considered to make space state

With applying Newtons second law again on the front and rear wheel masses.

The equations of motion can also be formulated as follows :

mb bf = -Kf (xbf – xwf) Bf

(bf – wf) -Krf (xbf – zf) – ff

model which is represented in following Figure.

mb br = -Kr (xbr – xwr) Br

(br – wr) Ktr (xbr zr) fr

(7)

(8)

Figure 2. Quarter car section in half car model 

The motion equation of quarter car body and wheel are as follows:

mb bf = fa Kb (xb – xw) Bb (b – w) mw wf = – fa + Kw (xb- xw)- Kw (xb – xr)

(9)

Figure 1. Half vehicle car model 

Following research paper of Suaib et al , the forces ff and fr that are applied between the sprung and unsprung

Table 2. Parameter values for quarter car suspension Table 3: Rule base

 Body mass, mb 250 Kg Wheel mass, mw 50 Kg Stiffness of the body, Kb 16 KN/m Stiffness of the wheel, Kw 160 KN/m Stiffness of the damper, Cs 1.5 KNs/m
 Body deflection velocity Body velocity Body acceleration Actuator force PM PM ZE ZE NM PS ZE NM PS NS ZE PM PS NM ZE PM

The following state variables are considered:

X=[x1, x2, x3, x4] T

X1= X4-X2, X2= X2-d, X3= 4, X4= 2

(10)

Above Linguistic rule can be used as Follows:

If (Body deflection velocity = PM) AND (Body velocity = PM) AND If (Body acceleration = ZE) THEN (Actuator force = ZE)

The abbreviations used correspond to:

Where, X1 = is the body displacement. X2 = is the wheel displacement, X3 = is the absolute velocity of the body, and X4= is the absolute velocity of thewheel. Then the motion equations of the quarter car model for the active suspension can be written in state space form as follows:

= AX (t) +B u (t) + f (x, t)

(11)

With,

(12)

The fuzzy logic controller used in the active suspension has three inputs: body acceleration, body velocity, body deflection velocity and one output: desired actuator force. The control system itself consists of three stages: fuzzification, fuzzy interference machine and Defuzification. The fuzzification stage converts real-number (crisp) input values into fuzzy values while the fuzzy inference machine processes the input data and computes the controller outputs in cope with the rule base and data base. These outputs, which are fuzzy values, are converted into real-numbers by the defuzzification stage. A possible choice of the membership functions for the four mentioned variables of the active suspension system represented by a fuzzy set is as follows:

NV is Negative Very Big, NB is Negative Big, NM is Negative Medium, NS is Negative Small, ZE is Zero, PS is Positive Small, PM is Positive Medium, PB is Positive Big and PV is Positive Very Big.

The rule base used in the active suspension system showed in Table 2. With fuzzy terms derived by the designers knowledge and experience. Here zero body acceleration is considered so that control action was chosen to minimize the relative and the absolute body velocities only.

The output of the fuzzy controller is a fuzzy set of control. As a process usually requires a non-fuzzy value of control, a method of defuzzification called Centre of gravity method (COG), is used here .

(13)

Where, D (f) is corresponding membership function .

The Fuzzy Logic operations in MATLAB are done as follows:

Figure 3. Representation of input and output using MATLAB

Figure 4. Membership function for body deflection

velocity

Figure 5. Membership function for body velocity

Figure 6. Membership function for body acceleration

IV.SIMULATION RESULTS

The Rule Viewer displays a roadmap of the whole fuzzy inference process. The four plots across the top of the Figure represent the antecedent and consequent of the first rule. Each rule is a row of plots, and each column is a variable. The rule numbers are displayed on the left of each row.

The first two columns of plots (the six yellow plots) show the membership functions referenced by the antecedent, or the if-part of each rule. The third column of plots (the three

blue plots) shows the membership functions referenced by the consequent, or the then-part of each rule. The fifth plot in the third column of plots represents the aggregate weighted decision for the given inference system.

Figure 7. Rule Viewer

Figure 8. Surface viewer

Figure 9. Surface viewer results

Figure 10. Graph of Actuator Force Vs. Body deflection velocity

Figure 11. Simulink Model belonging to car suspension

system .

Figure 12. Graph of Body displacement Vs. Time(s) using MATLAB

Figure 13 PID Controller Simulink Model belonging to car suspension system .

Figure 14. Graph of Body displacement Vs. Time(s) using MATLAB (PID controller system)

The Result obtained by using fuzzy logic control as shown in Figure 7 to Figure 10, explains variation of actuator force according to change in body deflection velocity and body velocity, where body acceleration is kept at zero so that control action was chosen to minimise the

relative and absolute body velocities only. The rule viewer Figure 7. Illustrates that the vertical line if moved to right or left then simultaneously we can see the change in actuator force. Figure 8 shows the surface viewer in MATLAB, the actuator force can be easily analysed using grid representation according to change in body deflection velocity and body velocity. And body acceleration is kept zero represented by horizontal surface. In Figures 9 and 10, the graph of body deflection velocity versus actuator force is shown which illustrates that from range 0.1 to 0.7 the actuator force is high around 2.5 KN. The Simulink block diagram using MATLAB is shown in Figure 11 which considers only quarter car part of half car suspension system gives the simulation graph as shown in Figure 12. Giving variation of body displacement with respect to time. Further, PID controller system is applied and shown in Figure 13. The signal amplitude can be reduced for better performance, as shown in Figure 14. But further if we apply fuzzy logic control system in the design then we can have more efficient performance. Because fuzzy logic gives range of values, the actuator force can be adjusted according to rule base given .Many rule bases we can provide and according to which the actuator force can be controlled. All the above result basically got from quarter car model which is clearly illustrated in Figure 2. Considering all the above result we can have better scope to design half car as well as full car model in more precise way of design. According to above result the fuzzy logic controller design is more precise and can be comfortably used for the design.

IV. CONCLUSION

Fuzzy logic control for half car suspension system is done by using MATLAB. The result shows by using Fuzzy control is very effective and can be used in vehicles that will be manufactured in future. In this paper, the new active suspension control system for half car system design is proposed according to basis of quarter car model for achieving ride comfort and good handling. The results of the active suspension system based on the fuzzy logic controller shows the improved stability. Here in this paper the fuzzy logic suspension system and PID control system is studied as well as Simulink model without any control system also analysed.

REFERENCES

1. Aldair and W. J. Wang, Design of an intelligent controller for full vehicle suspension system, International journal on smart sensing and intelligent systems vol.4 no.2 June 2011.

2. Suaib, N.M., Sam, and Y.M., Modelling and control of active suspension system using PISMC and SMC.

3. M. M. M. Salem, and Ayman A. Aly, Fuzzy Control of a Quarter-Car Suspension System, World Academy of Science, Engineering and Technology 29 2009.

4. Nurkan Yagiz, L Emir Sakman and Rahmi Guclu, Different control applications on a vehicle using fuzzy logic Control, Sadhana Vol. 33, Part 1, February 2008, pp. 1525.

5. Rahmi Guclu, Fuzzy Logic Control of Seat Vibrations of a Non-Linear Full Vehicle Model, Springer (2005) Nonlinear Dynamics.

6. R.K. Pekgokgoz et al, Active suspension of cars using fuzzy logic controller optimized by genetic algorithm, IJEAS Vol.2 Issue 4 (2amics (2005) 40: 2134

7. Tameshwer Nath and Sanjeev Kumar, Quarter/Half/Full Car Models for Active Suspension (with PID controller) by, International Conference on Recent Trends in Engineering & Technology (ICRTET2012).

8. Nemat Changizi1, Modjtaba Rouhani, Comparing PID and Fuzzy Logic control a Quarter Car Suspension System, The Journal of Mathematics and Computer Science Vol .2 No.3 (2011) 559-564. 010).