Automatic Throttle Body Control Using Pid Controller.

(1)

SUPERVISOR DECLARATION

“I, hereby declare that I have read this thesis and in my opinion this report is sufficient in terms of scope and quality for the award of the degree of

Bachelor of Mechanical Engineering (Automotive). “

Signature: _____________________ Supervisor: _____________________ Date: _____________________


(2)

AUTOMATIC THROTTLE BODY CONTROL USING PID CONTROLLER

MUHAMMAD SYAMIL BIN ZAINI


(3)

AUTOMATIC THROTTLE BODY CONTROL USING PID CONTROLLER

MUHAMMAD SYAMIL BIN ZAINI

This report was submitted in accordance with the partial requirements for the honor of Bachelor of Mechanical Engineering (Automotive)

Faculty of Mechanical Engineering

UniversitiTeknikal Malaysia Melaka (UTeM)


(4)

DECLARATION

“I, hereby declare that the work in this report is my own except for summaries and quotations which have been duly acknowledge.”

Signature: _____________________ Author: _____________________ Date: _____________________


(5)

iii

Specially dedicated to Beloved father and mother.


(6)

ACKNOWLEDGEMENT

All praises to Allah the Almighty that by His blessings I have been able to successfully finished my Projek Sarjana Muda II (PSM II), which the course requirement that in Universiti Teknikal Malaysia Melaka (UTeM).

My most gratitude goes to those individuals who have contributed immeasurable amount of guidance, advice and assistance along the project period. The person that really helps in my research is my dedicated supervisor, Encik Fauzi bin Ahmad, who has been supportively guiding and teaching a lot of valuable knowledge, also opportunities given to me in exposing myself to research and development environment.

The next person that I would like to show my gratitude is to Dr. Khisbullah Hudha, who has helped me from a scratch, guiding me to understand more about automotive. Next, a group of talented people, Mr. Vimal, Mr. Luqman and Mr. Hanif, who helped me throughout the project, gives valuable advices and guidance in helping me whenever I faced problems.

A million thanks expressed to my family, especially my beloved parents, who have been the backbone of everything I done. Also to my supportive course mates for giving continuous support during my final year project period so that I can achieve the objectives of study.With the all blessings and full cooperation from the educated people, I managed to complete my final year project.


(7)

v

ABSTRACT

Projek Sarjana Muda that will be conducted is about the development of vehicle speed control by using MATLAB Simulink software and the performance evaluation of the controller. This development is conducted to develop the adaptive cruise control system (ACC) which needed the throttle body actuator to control the vehicle speed in order to maintain the safe distance between drive vehicle and target vehicle. The focus of the project is on the development of the throttle body actuator and the performance evaluation of the controller. The control structure of the throttle body actuator will be developed in this project as the subsystem for adaptive cruise control system. After the validation of the control structure of vehicle longitudinal model and throttle body actuator succeeds, the throttle body actuator will be tuned to get good results. This report consist the introduction, literature review to develop this project, research methodology on how to develop vehicle longitudinal model and control structure of throttle body actuator, results and discussion. There are some equations involved in order to complete the control structure and will be displayed in this report. At the end of this project, the objectives will be achieved and the suggestions or improvements will be made if critically needed. Finally, conclusions will be made based on tasks performed during this project.


(8)

ABSTRAK

Projek Sarjana Muda yang akan dijalankan adalah berkenaan dengan pembangunan kawalan kelajuan kenderaan dengan menggunakan perisian MATLAB Simulink dan penilaian prestasi pengawal. Perkembangan ini dijalankan untuk membangunkan sistem ‘adaptive cruise control’ (ACC) yang memerlukan penggerak pendikit untuk mengawal kelajuan kenderaan bagi mengekalkan jarak yang selamat antara kenderaan yang memandu dan kenderaan sasaran. Fokus projek ini menekankan kepada pembangunan penggerak pendikit dan penilaian terhadap prestasi pengawal yang dibina. Struktur kawalan penggerak pendikit akan dibangunkan dalam projek ini sebagai subsistem untuk system ‘adaptive cruise control’. Selepas pengesahan struktur kawalan model longitudinal kenderaan dan penggerak badan pendikit berjaya dilaksanakan, prestasi penggerak pendikit akan dinilai pada akhir PSM 2 dalam 2 semester melalui eksperimen di makmal Autotronic di UTeM. Laporan ini mengandungi pengenalan, sastera, kajian semula untuk membangunkan projek ini dan juga penyelidikan methodology tentang bagaimana untuk membangunkan struktur kawalan dan eksperimen yang berkaitan. Terdapat beberapa persamaan matematik yang digunakan dalam usaha menyiapkan struktur kawalan dan akan dipaparkan dalam laporan ini. Di akhir projek ini, dijangka objektif akan tercapai dan cadangan atau penambahbaikan akan dilaksanakan sekiranya projek ini perlu kepadanya. Akhir sekali, kesimpulan akan dibuat berdasarkan kerja-kerja yang telah dilaksanakan sepanjang projek ini dijalankan.


(9)

vii

TABLE OF CONTENT

CHAPTER TITLE PAGE

SUPERVISOR DECLARATION PROJECT TITLE

DECLARATION ii

DEDICATION iii

ACKNOWLEDGEMENT iv

ABSTRACT v

ABSTRAK vi

TABLE OF CONTENT vii

LIST OF TABLE xii

LIST OF FIGURE xiii

LIST OF APPENDICES xv


(10)

CHAPTER 1 INTRODUCTION 1

1.1 Introduction 1

1.2 Overview of Current Development of

Controlling System in Vehicle 2

1.3 Objective 3

1.4 Scope 4

1.5 Problem Statement 4

CHAPTER 2 LITERATURE REVIEW 5

2.1 Introduction 5

2.2 Overview of Controller System 6 2.3 Overview of Adaptive Cruise Control 10

2.4 Basic Electrical Theory 12

2.5 Overview of Electronic Throttle Body Actuator 13

2.6 Throttle Body Controller 14

2.6.1 Gain-Scheduled Control 14

2.6.2 Sliding Mode Control 15

2.6.3 Linear Quadratic New Extended

Control Synthesis with Integral 16

2.6.4 Robust Control 17

2.6.5 Variable-Structure Control 18


(11)

ix

2.6.7 Second-Order Sliding-Mode Control 20

2.7 Previous Studies and Researches 20

CHAPTER 3 METHODOLOGY 22

3.1 Introduction 22

3.2 Flow Chart for Projek Sarjana Muda 1 24 3.3 Development of Vehicle Longitudinal Model 25

3.3.1 Powertrain Model 27

3.3.1.1 Engine Torque Curve 28

3.3.1.2 Engine Dynamics 29

3.3.1.3 Gearbox Model 30

3.4 Powertrain Control Structure 31 3.5 Control Structure of Vehicle Longitudinal Model 32

3.5.1 Vehicle Body Dynamic 33

3.5.2 Tyre Traction Model 34

3.5.3 Wheel Dynamics 35

3.5.4 Brake Model 36


(12)

CHAPTER 4 THROTTLE BODY CONTROLLER 40

4.1 Introduction 40

4.2 Controller Control Structure 45

4.3 Stepper Motor 47

CHAPTER 5 THE SIMULATION OF PID CONTROLLER AND DISCUSSION 50

5.1 Introduction 50

5.2 Results of Simulation 51

5.2.1 Case 1: Desired Speed at 0-100 km/h 53 5.2.2 Case 2: Desired Speed at 0-100 km/h

(Differenet Pattern) 53 5.2.3 Case 3: Desired Speed at 0-60 km/h,

60-0 km/h 54

5.2.4 Case 4: Desired Speed at 0-50 km/h,

50-10 km/h, 10-70 km/h 55

5.2.5 Case 5: Desired Speed at 0-80 km/h,

80-0 km/h 56

5.2.1 Case 6: Desired Speed at 0-90 km/h 57


(13)

xi

CHAPTER 6 CONCLUSION AND RECOMMENDATION 59

6.1 Conclusion 59

6.2 Recommendation 60

REFERENCES 61


(14)

LIST OF TABLE

NO. TITLE PAGE

4.1 Function of the Number of Phases, m 43

4.2 Pulses for Phase 1 and Phase 2 44

4.3 Parameters Used In Stepper Motor 45

5.1 Values of PID for Case 1 52

5.2 Values of PID for Case 2 53

5.3 Values of PID for Case 3 54

5.4 Values of PID for Case 4 55

5.5 Values of PID for Case 5 56


(15)

xiii

LIST OF FIGURE

NO. TITLE PAGE

2.1 Closed loop control system 8

2.2 Sample figure of Adaptive Cruise Control System 11

2.3 Sample figure of electronic throttle body 12

3.1 Sample figure of CARSIM v8 Software 23

3.2 Sample figure of block diagram of vehicle longitudinal

model 26

3.3 Powertrain block diagram 27

3.4 Typical Engine Torque Data 28

3.5 Automotive Gearbox Shift Map 30

3.6 Powertrain control structure 31

3.8 Graph of Vehicle Speed (km/h) vs Time (s) 37

3.9 Graph of Front Wheel Speed (m/s) vs Time (s) 38 3.1.1 Graph of Rear Wheel Speed (m/s) vs Time (s) 39


(16)

NO. TITLE PAGE 4.1 Control Structure of Throttle Body Controller 46

4.2 2-Phase Stepper Motor 47

4.3 Stepper Motor Model 49

5.1 Graph of Vehicle Speed (km/h) vs Time (s) Case 1 52 5.2 Graph of Vehicle Speed (km/h) vs Time (s) Case 2 53 5.3 Graph of Vehicle Speed (km/h) vs Time (s) Case 3 54 5.4 Graph of Vehicle Speed (km/h) vs Time (s) Case 4 55 5.5 Graph of Vehicle Speed (km/h) vs Time (s) Case 5 56 5.6 Graph of Vehicle Speed (km/h) vs Time (s) Case 6 57


(17)

xv

LIST OF APPENDICES

NO. TITLE PAGE

A Projek Sarjana Muda 1 Gantt Chart 63


(18)

LIST OF SYMBOLS

° - Degree of angle

TMax - Maximum available engine torque at

given rpm for a typical V8 engine

R - Engine speed in unit RPM

ɳg - Gear ratio

ɳf - Final gear ratio

ω� - Final wheel velocity

µe - Rate of change of energy transfer

coefficient

τes - Equivalent lag

zr

F - Rear wheels normal force

zf

F - Front wheels normal force

d

F - Drag forces

a

F - Aerodynamic resistance forces

r

F - Rolling resistance forces

ρ - Air density equal to 1.23 kgm/3

r

C - Rolling resistance coefficient d

C - Aerodynamic drag coefficient

A - Frontal area of the vehicle

λi - Wheel slip ratio

i


(19)

xvii

i e

τ - Torque delivered by the engine to each wheel

i b

τ - Torque applied to each wheel due to

the brakes i

r

τ - Reaction torque on each wheel due to

tyre tractive force i

b

p - Pressure applied to the brake disc i

ω - Wheel angular speed

i b

τ - Braking torque

S - Number of steps per revolution

φ

∆ - Number of rotor pole

Mj

T - Motor torque

m

k - Motor constant

( )

t

φ - Actual motor position

j

0

φ - Location of the coil j in the stator )

(t

Ij - Current in the coil as function of time j

emf - Electromotive force induced in the

phase j

L - Inductance of the coils

J - Inertia of the rotor and load

D - Viscous damping constant

A

T - Load acceleration

1

+ i

φ - Commanded rotor position

j


(20)

CHAPTER 1

INTRODUCTION

1.1 INTRODUCTION

The purpose of this chapter is to provide with an introduction to the research conducted for this project. In this section, the overview of controller, the overview of current development of controlling vehicle will be included. The main objective, scope of the project, and the problem statement also will be included in this section.


(21)

2 1.2 OVERVIEW OF CURRENT DEVELOPMENT OF CONTROLLING

SYSTEM IN VEHICLE

Nowadays, the developments of automotive technologies are quite competitive as the cars produced by many vehicle manufacturers all over the world are increasing. There many types or categories of technologies in automotive developments such as hybrid vehicle, antilock brake system (ABS), electronic brake force distribution (EBD), active force steering system (AFS), adaptive cruise control (ACC) and many more.

Talking about the technologies of adaptive cruise control (ACC), this technology development is still at the early stage as there are still many problems occur, doubtful and not at the best expectation. However, this technology is very challenging and good to be studied by the engineers and still can be improve by apply some modifications on the system.

The controlling system like adaptive cruise control (ACC) is very useful to the drivers or road users because it help user to drive safely. The controlling mechanism in ACC help users to cruise their vehicle automatically by set at desired speed and at the same time, the controllers ensure the safety distance so that the car will not collide the vehicle in front which at same lane.

Overall this technology is very intelligent, smart in reduce the drivers burden, reducing drives fatigue, improving comfort by allowing positioning changes more safely, make long journey more comfortable and of course increase the fuel efficiency. However, there are still disadvantage in this technology like not recommended to drive the vehicle with ACC system (ON mode) in the bad weather like heavy snow because the vehicle still might slip and the accident may occur.


(22)

1.3 OBJECTIVES

The main objective of the project is to develop vehicle speed control to control the throttle plate angle at the desired speed which is set in adaptive cruise controller. Before developing the vehicle speed control or more details develop the throttle body actuator in control structure form, it is important to study first the about the vehicle longitudinal model. Before go through to the main objective, it is needed to understand the behaviour of the vehicle in longitudinal motion.

Thus, the first objective is to develop the vehicle longitudinal model using Matlab Simulink software. The next objective would be the development of the vehicle speed control system also using Matlab Simulink software. The development of the basic control structure of the throttle body actuator will be guide by the previous studies and researches in order to control the throttle plate angle at the desired speed.

The validation for control structure, vehicle longitudinal model and vehicle speed control will be validating by using CARSIM v8 software. The options that contain in this software will help to validate the control structure built either the development are successful or not.


(23)

4 1.4 SCOPES

In order to complete the entire task in this project, the scopes of the project will be focused on control structure development by using Matlab Simulink and CARSIM v9 software. Thissoftware basically will help to identify the throttle opening angle at the desired speed set by the adaptive cruise control system. Next the project will focused more on the evaluation and comparison of performance between the developed controller and the actual controller of throttle body.

1.5 PROBLEM STATEMENT

Although the Conventional Cruise can automatically control the vehicle velocity by set the desired speed at the controller, the conventional cruise control do not have the automatic braking system to reduce the vehicle speed. This mean that the system must rely on brake pedal which is must apply manually or push the CANCEL manually button from controller in order to switch off the cruise control system.

In conventional cruise control, generally the vehicle needs to rely on manual controller, air friction and drag force to reduce the vehicle speed. In this project, the vehicle speed controller need to be developed in adaptive cruise control system to replace the conventional cruise control system. The ideal vehicle speed control that can be develop in the adaptive cruise control is electronic throttle control (ETC) based on drive-by-wire or throttle-by-wire system.


(24)

CHAPTER 2

LITERATURE REVIEW

2.1 INTRODUCTION

The purpose of this chapter is to provide the previous studies and researches that strongly related to the project. The previous studies and researches found will be the references to this project. The literature review is very important in preparing the needed parameters to develop control structure of vehicle longitudinal and control structure of vehicle speed control.

Besides, the previous experiments about experimental validation of throttle body actuator is very useful as a guidance when conduct the experiment in the lab. The expected result for this project should be at least more or less the same to the previous results that heavily relate to the project.


(1)

i

e

τ - Torque delivered by the engine to each wheel

i

b

τ - Torque applied to each wheel due to the brakes

i

r

τ - Reaction torque on each wheel due to tyre tractive force

i

b

p - Pressure applied to the brake disc i

ω - Wheel angular speed

i

b

τ - Braking torque

S - Number of steps per revolution

φ

∆ - Number of rotor pole Mj

T - Motor torque

m

k - Motor constant

( )

t

φ - Actual motor position j

0

φ - Location of the coil j in the stator )

(t

Ij - Current in the coil as function of time j

emf - Electromotive force induced in the phase j

L - Inductance of the coils J - Inertia of the rotor and load D - Viscous damping constant

A

T - Load acceleration 1

+

i

φ - Commanded rotor position

j


(2)

CHAPTER 1

INTRODUCTION

1.1 INTRODUCTION

The purpose of this chapter is to provide with an introduction to the research conducted for this project. In this section, the overview of controller, the overview of current development of controlling vehicle will be included. The main objective, scope of the project, and the problem statement also will be included in this section.


(3)

SYSTEM IN VEHICLE

Nowadays, the developments of automotive technologies are quite competitive as the cars produced by many vehicle manufacturers all over the world are increasing. There many types or categories of technologies in automotive developments such as hybrid vehicle, antilock brake system (ABS), electronic brake force distribution (EBD), active force steering system (AFS), adaptive cruise control (ACC) and many more.

Talking about the technologies of adaptive cruise control (ACC), this technology development is still at the early stage as there are still many problems occur, doubtful and not at the best expectation. However, this technology is very challenging and good to be studied by the engineers and still can be improve by apply some modifications on the system.

The controlling system like adaptive cruise control (ACC) is very useful to the drivers or road users because it help user to drive safely. The controlling mechanism in ACC help users to cruise their vehicle automatically by set at desired speed and at the same time, the controllers ensure the safety distance so that the car will not collide the vehicle in front which at same lane.

Overall this technology is very intelligent, smart in reduce the drivers burden, reducing drives fatigue, improving comfort by allowing positioning changes more safely, make long journey more comfortable and of course increase the fuel efficiency. However, there are still disadvantage in this technology like not recommended to drive the vehicle with ACC system (ON mode) in the bad weather like heavy snow because the vehicle still might slip and the accident may occur.


(4)

1.3 OBJECTIVES

The main objective of the project is to develop vehicle speed control to control the throttle plate angle at the desired speed which is set in adaptive cruise controller. Before developing the vehicle speed control or more details develop the throttle body actuator in control structure form, it is important to study first the about the vehicle longitudinal model. Before go through to the main objective, it is needed to understand the behaviour of the vehicle in longitudinal motion.

Thus, the first objective is to develop the vehicle longitudinal model using Matlab Simulink software. The next objective would be the development of the vehicle speed control system also using Matlab Simulink software. The development of the basic control structure of the throttle body actuator will be guide by the previous studies and researches in order to control the throttle plate angle at the desired speed.

The validation for control structure, vehicle longitudinal model and vehicle speed control will be validating by using CARSIM v8 software. The options that contain in this software will help to validate the control structure built either the development are successful or not.


(5)

In order to complete the entire task in this project, the scopes of the project will be focused on control structure development by using Matlab Simulink and CARSIM v9 software. Thissoftware basically will help to identify the throttle opening angle at the desired speed set by the adaptive cruise control system. Next the project will focused more on the evaluation and comparison of performance between the developed controller and the actual controller of throttle body.

1.5 PROBLEM STATEMENT

Although the Conventional Cruise can automatically control the vehicle velocity by set the desired speed at the controller, the conventional cruise control do not have the automatic braking system to reduce the vehicle speed. This mean that the system must rely on brake pedal which is must apply manually or push the CANCEL manually button from controller in order to switch off the cruise control system.

In conventional cruise control, generally the vehicle needs to rely on manual controller, air friction and drag force to reduce the vehicle speed. In this project, the vehicle speed controller need to be developed in adaptive cruise control system to replace the conventional cruise control system. The ideal vehicle speed control that can be develop in the adaptive cruise control is electronic throttle control (ETC) based on drive-by-wire or throttle-by-wire system.


(6)

CHAPTER 2

LITERATURE REVIEW

2.1 INTRODUCTION

The purpose of this chapter is to provide the previous studies and researches that strongly related to the project. The previous studies and researches found will be the references to this project. The literature review is very important in preparing the needed parameters to develop control structure of vehicle longitudinal and control structure of vehicle speed control.

Besides, the previous experiments about experimental validation of throttle body actuator is very useful as a guidance when conduct the experiment in the lab. The expected result for this project should be at least more or less the same to the previous results that heavily relate to the project.