SlideShare a Scribd company logo
1 of 11
Download to read offline
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.

More Related Content

What's hot

Pid controllers
Pid controllersPid controllers
Pid controllersHussain K
 
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 3032Charlton Inao
 
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 graphSHARMA NAVEEN
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERkaran sati
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singhAdarsh Singh
 
PID Control Basics
PID Control BasicsPID Control Basics
PID Control BasicsYokogawa1
 
Pid control
Pid controlPid control
Pid controlAB Rizvi
 
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 ReviewIJSRD
 
Tuning of pid controller
Tuning of pid controllerTuning of pid controller
Tuning of pid controllerSubhankar Sau
 
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 reportBinod kafle
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systemskhalaf Gaeid
 

What's hot (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
 

Similar to Pid controller

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...IRJET Journal
 
EE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robotEE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robotPraneel Chand
 
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 ControllerIRJET Journal
 
D0255033039
D0255033039D0255033039
D0255033039theijes
 
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...csandit
 
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 Controlrahulmonikasharma
 
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 CarsIRJET Journal
 
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 SchemeIRJET Journal
 
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...IJERA Editor
 
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 ControlRatul Das
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning nalan karunanayake
 
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...cscpconf
 
Computer modeling-simulation&examples1
Computer modeling-simulation&examples1Computer modeling-simulation&examples1
Computer modeling-simulation&examples1Jian Shen
 

Similar to 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
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 

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.