SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Application of a PID controller in a Speed
            Control of a Car.




                                          By
                               Atchyuth Sonti
Hello,guys now i am going to tell you how a PID controller is used in the
automobiles.This is an important concept in the field of control systems and
lets see why it should be used and how each stage of it contributes to the speed
control.I am going to use matlab(simulink) for illustrating this particular
concept.



Lets me consider that i am having a SUV. Let the parameters of the car be

1.Weight of 1000 kg.

2.Engine force of 5000 N.

3.Drag coefficient of 50.(this in simple terms can be explained as sum of

        friction and other opposing forces).

The specifications which my design should meet be

1.A speed of 10m/s.( =36kmph).

2.Rise time should be <5 sec.(this is popularly called as pick up).

3.Steady state error of <2% ( the steady state speed should be in between 9.8m/s
and 10.2m/s).



So now let us construct a simple car model

To execute this particular thing we need to have both matlab file(.m) and
simulink file(.mdl).

We do this because we will have maximum compatibility for changing values
and analyse the circuit with different parameters.

Generally the M file consists of the list of parameters which affect the system
and mdl file consists the signal flow diagram of the system.
Simple Car Model
The (.m) file




The simulink (.mdl) file for the simple car model is given below.




This is the way you need to design the files and for simulink file to take the
values from the m file u need to run the m file first followed by the mdl file. This
makes the things simpler.

The output which is generated by this model will be of this type.
The output of the simple car model.




Analysis

1.A speed of 10m/s.

2.Rise time should be <5 sec.

3.Steady state error of <2%.

When the above output is analysed it is following all the design specifications
except the rise time. i.e the above car doesn’t have proper pick up or
acceleration.(the design takes 100 sec where it should take less than 5 sec).If
employed this becomes one of the worst design.

Now let us add the parts of the controller and analyse its effect(s).
The “P” controller.
Now we shall make two subsystems

1. Car.(the above car mode is now put in this particular subsystem).

2. Controller.

We shall start with the P controller and go on adding the complexity to the
controller.

For our convenience we converted the force into a reference velocity of 10m/s.
This reduces the tedious calculations.




The m file for the above system is
The output of the P controller is




This is the output with a p controller

Analysis

1.A speed of 10m/s.( =36kmph).

2.Rise time should be <5 sec.(this is popularly called as pick up).

3.Steady state error of <2% ( the steady state speed should be in between
9.8m/s and 10.2m/s).
The PI controller.
In PI controller an integral controller comes into action with the P controller.

Now we completely made another subsystem called a controller and we add
different components into that controller.




For our reference this is the subsystem car.
And this is the subsystem of the controller.




The m file for the above system where we include all the parameters of “PI” is
This is the output of the “PI” controller.




As all of u can see here we are not getting a perfect value. This states that the
above system is unstable. This is the major disadvantage for this particular
system. This instability makes this particular system impractical.

1.A speed of 10m/s

2.Rise time should be <5 sec

3.Steady state error of <2%.
The PID controller
Finally we arrive to the PID controller .As the name implies we need to
implement a differential controller to the above “PI” controller.

This is the signal flow graph implemented in the form of a simulink mdl file.




The parameters for the above diagram are driven by this particular m file which
has all the parameters.
When the above files are executed you will get a output of this sort.




Analysis

1.A speed of 10m/s.

2.Rise time should be <5 sec.

3.Steady state error of <2%.

Thus all the design requirements are met through this particular design.

This makes the applications of the electronics in automobiles.

Moreover this particular model is implemented in many of the luxurious cars.

The thing which makes “luxurious” cars “luxurious” is the embedded
electronics in them.

There are many electronic components implemented in the cars like

ABS,ECU and air bag control etc which employs many of the electronic
components and make the automobiles more comfortable, safe and smart.

Contenu connexe

Tendances

Tendances (20)

Pid controller
Pid controllerPid controller
Pid controller
 
Pid controller bp ganthia
Pid controller bp ganthiaPid controller bp ganthia
Pid controller bp ganthia
 
Pid controller bp ganthia
Pid controller bp ganthiaPid controller bp ganthia
Pid controller bp ganthia
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
PID Temperature Controller
PID Temperature ControllerPID Temperature Controller
PID Temperature Controller
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032
 
Control actions
Control actionsControl actions
Control actions
 
Pi controller ieee format
Pi controller ieee formatPi controller ieee format
Pi controller ieee format
 
Control system basics, block diagram and signal flow graph
Control system basics, block diagram and signal flow graphControl system basics, block diagram and signal flow graph
Control system basics, block diagram and signal flow graph
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 
Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
PID Control Basics
PID Control BasicsPID Control Basics
PID Control Basics
 
Pid control
Pid controlPid control
Pid control
 
Level Control of Tank System Using PID Controller-A Review
Level Control of Tank System Using PID Controller-A ReviewLevel Control of Tank System Using PID Controller-A Review
Level Control of Tank System Using PID Controller-A Review
 
Lec 5 pid
Lec 5 pidLec 5 pid
Lec 5 pid
 
Tuning of pid controller
Tuning of pid controllerTuning of pid controller
Tuning of pid controller
 
Speed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportSpeed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress report
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systems
 
Controller Tuning Method for Non-Linear Conical Tank System
Controller Tuning Method for Non-Linear Conical Tank SystemController Tuning Method for Non-Linear Conical Tank System
Controller Tuning Method for Non-Linear Conical Tank System
 

Similaire à Pid controller

EE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robotEE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robot
Praneel Chand
 
D0255033039
D0255033039D0255033039
D0255033039
theijes
 
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
ijsrd.com
 
Advanced Process Control
Advanced Process ControlAdvanced Process Control
Advanced Process Control
Ratul Das
 
Computer modeling-simulation&examples1
Computer modeling-simulation&examples1Computer modeling-simulation&examples1
Computer modeling-simulation&examples1
Jian Shen
 

Similaire à Pid controller (20)

Adaptive Cruise Control System for Vehicle Using Model Predictive Control Alg...
Adaptive Cruise Control System for Vehicle Using Model Predictive Control Alg...Adaptive Cruise Control System for Vehicle Using Model Predictive Control Alg...
Adaptive Cruise Control System for Vehicle Using Model Predictive Control Alg...
 
Control position for servo motor
Control position for servo motorControl position for servo motor
Control position for servo motor
 
EE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robotEE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robot
 
Gl3311371146
Gl3311371146Gl3311371146
Gl3311371146
 
CE150--Hongyi Huang
CE150--Hongyi HuangCE150--Hongyi Huang
CE150--Hongyi Huang
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
 
D0255033039
D0255033039D0255033039
D0255033039
 
V13I1006.pdf
V13I1006.pdfV13I1006.pdf
V13I1006.pdf
 
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
 
Comperative Performance Analysis of PMSM Drive Using MPSO and ACO Techniques
Comperative Performance Analysis of PMSM Drive Using MPSO and ACO TechniquesComperative Performance Analysis of PMSM Drive Using MPSO and ACO Techniques
Comperative Performance Analysis of PMSM Drive Using MPSO and ACO Techniques
 
PID Controller based DC Motor Speed Control
PID Controller based DC Motor Speed ControlPID Controller based DC Motor Speed Control
PID Controller based DC Motor Speed Control
 
IRJET - Steering Wheel Angle Prediction for Self-Driving Cars
IRJET - Steering Wheel Angle Prediction for Self-Driving CarsIRJET - Steering Wheel Angle Prediction for Self-Driving Cars
IRJET - Steering Wheel Angle Prediction for Self-Driving Cars
 
Speed Control of Dc Motor using Adaptive PID with SMC Scheme
Speed Control of Dc Motor using Adaptive PID with SMC SchemeSpeed Control of Dc Motor using Adaptive PID with SMC Scheme
Speed Control of Dc Motor using Adaptive PID with SMC Scheme
 
Speed control of Separately Excited DC Motor using various Conventional Contr...
Speed control of Separately Excited DC Motor using various Conventional Contr...Speed control of Separately Excited DC Motor using various Conventional Contr...
Speed control of Separately Excited DC Motor using various Conventional Contr...
 
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
 
Advanced Process Control
Advanced Process ControlAdvanced Process Control
Advanced Process Control
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
 
Suspension system
Suspension systemSuspension system
Suspension system
 
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
 
Computer modeling-simulation&examples1
Computer modeling-simulation&examples1Computer modeling-simulation&examples1
Computer modeling-simulation&examples1
 

Dernier

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Dernier (20)

Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Pid controller

  • 1. Application of a PID controller in a Speed Control of a Car. By Atchyuth Sonti
  • 2. Hello,guys now i am going to tell you how a PID controller is used in the automobiles.This is an important concept in the field of control systems and lets see why it should be used and how each stage of it contributes to the speed control.I am going to use matlab(simulink) for illustrating this particular concept. Lets me consider that i am having a SUV. Let the parameters of the car be 1.Weight of 1000 kg. 2.Engine force of 5000 N. 3.Drag coefficient of 50.(this in simple terms can be explained as sum of friction and other opposing forces). The specifications which my design should meet be 1.A speed of 10m/s.( =36kmph). 2.Rise time should be <5 sec.(this is popularly called as pick up). 3.Steady state error of <2% ( the steady state speed should be in between 9.8m/s and 10.2m/s). So now let us construct a simple car model To execute this particular thing we need to have both matlab file(.m) and simulink file(.mdl). We do this because we will have maximum compatibility for changing values and analyse the circuit with different parameters. Generally the M file consists of the list of parameters which affect the system and mdl file consists the signal flow diagram of the system.
  • 3. Simple Car Model The (.m) file The simulink (.mdl) file for the simple car model is given below. This is the way you need to design the files and for simulink file to take the values from the m file u need to run the m file first followed by the mdl file. This makes the things simpler. The output which is generated by this model will be of this type.
  • 4. The output of the simple car model. Analysis 1.A speed of 10m/s. 2.Rise time should be <5 sec. 3.Steady state error of <2%. When the above output is analysed it is following all the design specifications except the rise time. i.e the above car doesn’t have proper pick up or acceleration.(the design takes 100 sec where it should take less than 5 sec).If employed this becomes one of the worst design. Now let us add the parts of the controller and analyse its effect(s).
  • 5. The “P” controller. Now we shall make two subsystems 1. Car.(the above car mode is now put in this particular subsystem). 2. Controller. We shall start with the P controller and go on adding the complexity to the controller. For our convenience we converted the force into a reference velocity of 10m/s. This reduces the tedious calculations. The m file for the above system is
  • 6. The output of the P controller is This is the output with a p controller Analysis 1.A speed of 10m/s.( =36kmph). 2.Rise time should be <5 sec.(this is popularly called as pick up). 3.Steady state error of <2% ( the steady state speed should be in between 9.8m/s and 10.2m/s).
  • 7. The PI controller. In PI controller an integral controller comes into action with the P controller. Now we completely made another subsystem called a controller and we add different components into that controller. For our reference this is the subsystem car.
  • 8. And this is the subsystem of the controller. The m file for the above system where we include all the parameters of “PI” is
  • 9. This is the output of the “PI” controller. As all of u can see here we are not getting a perfect value. This states that the above system is unstable. This is the major disadvantage for this particular system. This instability makes this particular system impractical. 1.A speed of 10m/s 2.Rise time should be <5 sec 3.Steady state error of <2%.
  • 10. The PID controller Finally we arrive to the PID controller .As the name implies we need to implement a differential controller to the above “PI” controller. This is the signal flow graph implemented in the form of a simulink mdl file. The parameters for the above diagram are driven by this particular m file which has all the parameters.
  • 11. When the above files are executed you will get a output of this sort. Analysis 1.A speed of 10m/s. 2.Rise time should be <5 sec. 3.Steady state error of <2%. Thus all the design requirements are met through this particular design. This makes the applications of the electronics in automobiles. Moreover this particular model is implemented in many of the luxurious cars. The thing which makes “luxurious” cars “luxurious” is the embedded electronics in them. There are many electronic components implemented in the cars like ABS,ECU and air bag control etc which employs many of the electronic components and make the automobiles more comfortable, safe and smart.