SlideShare a Scribd company logo
ADVANCING SMOOTHLY
CRUISE CONTROL
CRUISE CONTROL
 Cruise control (speed control, auto-cruise
or tempomat) is a system that automatically
controls the speed of a motor vehicle. The system
takes over the throttle of the car to maintain a
steady speed as set by the driver.
CRUISE CONTROL
SYSTEM MODELLING
 feedback control system
 purpose is to maintain a constant vehicle
speed despite external disturbances, such
as changes in wind or road grade.
 accomplished by
i. measuring the vehicle speed
ii. comparing it to the desired or reference speed
iii. automatically adjusting the throttle according
to a control law
PHYSICAL SETUP: FBD
bv u
 Mass m
 Control force u
 Resistive forces bv
 Vehicle velocity v
 u = force generated at the road/tire
interface
 we will assume that :
i. u can be controlled directly
ii. the dynamics of the
powertrain, tires, etc are 0
iii. bv, due to rolling resistance and wind
drag varies linearly with the vehicle
velocity, v, and act in the direction
opposite the vehicle's motion
FIRST ORDER EQUATION
We are considering a first order mass-damper
system.
Summing forces in the x-direction and applying
Newton's 2nd law, we arrive at the following
system equation:
m(dv/dt)+bv=u
Since v is the required output:
y = v
TRANSFER FUNCTION
Taking the Laplace transform and assuming
zero initial conditions, we find the transfer
function of the cruise control system to be:
P(s) = V(s)/U(s)
= 1/(ms+b)
PID CONTROL
PARAMETERS
 m vehicle mass 1000 kg
 b damping coefficient 50 N.s/m
 r reference speed 10 m/s
 Rise time < 5 s
 Overshoot < 10%
 Steady-state error < 2%
BLOCK DIAGRAM
C(s) P(s)
Unity gain feedback controller
C(s) = Kp + Ki/s + Kd.s
PROPORTIONAL
CONTROL
 The root-locus plot shows the locations of
all possible closed-loop poles when a single
gain is varied from zero to infinity.
 Only a proportional controller Kp will be
considered to solve this problem. The
closed-loop transfer function becomes:
Y(s)/R(s) = Kp/(ms + ( b + Kp ) )
PROPORTIONAL
CONTROL
 MATLAB command sgrid
 Used to display an acceptable region of the
root-locus plot
 Damping ratio (zeta) and the natural
frequency (Wn) need to be determined
PROPORTIONAL
CONTROL
PROPORTIONAL
CONTROL
 We can then find a gain to place the closed-
loop poles in the desired region by
employing the rlocfind command
 specific loop gain
[Kp,poles]=rlocfind(P_cruise)
 In between the dotted lines (zeta > 0.6) and
outside the semi-ellipse (wn > 0.36)
LAG CONTROLLER
 With the gain Kp being the only functional
gain and Ki and Kd being zero, the rise time
and the overshoot criteria have been met
 A steady-state error of more than 10%
remains
 To reduce the steady-state error, a lag
controller is added to the system
LAG CONTROLLER
 To reduce the steady-state error, a lag
controller will be added to the system.
 A pole and a zero, not too distant spacing-
wise are introduced i.e:
LAG CONTROLLER
 With the gain Kp being the only functional
gain and Ki and Kd being zero, the rise time
and the overshoot criteria have been met
 A steady-state error of more than 10%
remains
 To reduce the steady-state error, a lag
controller is added to the system
 the steady-state error will be reduced by a
factor of zo/po
LAG CONTROLLER
 With the gain Kp excluded for the moment, the
transfer function of PID becomes:
 Adding Kp to the equation, the transfer function of
PID becomes:
LEAD CONTROLLER
 The lead controller is basically added to
improve the transient response of the
system i.e. Ts and Tp mainly
 Not used here as it is not needed and the
desired parameters are already being
achieved
Cruise control simulation using matlab

More Related Content

What's hot

Adaptive cruise control edit1
Adaptive cruise control edit1Adaptive cruise control edit1
Adaptive cruise control edit1
Siddharth Dc
 
engine control unit (ECU)
engine control unit (ECU)engine control unit (ECU)
engine control unit (ECU)
NARENDRA REDDY
 
Automatic car wash (1)
Automatic car wash (1)Automatic car wash (1)
Automatic car wash (1)
salman abdullah
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATION
Bindutesh Saner
 
PLC Based Automatic car wash system By Irfan Anjum
PLC Based Automatic car wash system By Irfan AnjumPLC Based Automatic car wash system By Irfan Anjum
PLC Based Automatic car wash system By Irfan Anjum
Isra University Islamabad
 
Collision Avoidance System
Collision Avoidance SystemCollision Avoidance System
Collision Avoidance System
Siddharth Mehta
 
Sensor based motion control of mobile car robot
Sensor based motion control of mobile car robotSensor based motion control of mobile car robot
Sensor based motion control of mobile car robot
Naidu P
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
vinayvickky
 
Automotive Electronics In Automobile | Electronic control unit
Automotive  Electronics In Automobile | Electronic control unitAutomotive  Electronics In Automobile | Electronic control unit
Automotive Electronics In Automobile | Electronic control unit
jignesh parmar
 
Adaptive cruise control acc
Adaptive cruise control accAdaptive cruise control acc
Adaptive cruise control acc
Revathi Subramaniam
 
adapative cruse control sushant
adapative cruse control sushantadapative cruse control sushant
adapative cruse control sushantsushant vharakat
 
Lag lead compensator design in frequency domain 7th lecture
Lag lead compensator design in frequency domain  7th lectureLag lead compensator design in frequency domain  7th lecture
Lag lead compensator design in frequency domain 7th lecture
Khalaf Gaeid Alshammery
 
Mobile Robot Vechiles
Mobile Robot VechilesMobile Robot Vechiles
Mobile Robot Vechiles
cairo university
 
Advance Safety Systems in automobile
Advance Safety Systems in automobileAdvance Safety Systems in automobile
Advance Safety Systems in automobile
gunjan panchal
 
Sliding mode control
Sliding mode controlSliding mode control
Sliding mode control
Khushal Agrawal
 
Nyquist and polar plot 118 &amp; 117
Nyquist and polar plot 118 &amp; 117Nyquist and polar plot 118 &amp; 117
Nyquist and polar plot 118 &amp; 117
RishabhKashyap2
 
Automotive Systems course (Module 10) - Active and Passive Safety Systems for...
Automotive Systems course (Module 10) - Active and Passive Safety Systems for...Automotive Systems course (Module 10) - Active and Passive Safety Systems for...
Automotive Systems course (Module 10) - Active and Passive Safety Systems for...
Mário Alves
 
Robotic car project presentation
Robotic car project presentationRobotic car project presentation
Robotic car project presentation
Akshay Parmar
 

What's hot (20)

Adaptive cruise control edit1
Adaptive cruise control edit1Adaptive cruise control edit1
Adaptive cruise control edit1
 
engine control unit (ECU)
engine control unit (ECU)engine control unit (ECU)
engine control unit (ECU)
 
Automatic car wash (1)
Automatic car wash (1)Automatic car wash (1)
Automatic car wash (1)
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATION
 
PLC Based Automatic car wash system By Irfan Anjum
PLC Based Automatic car wash system By Irfan AnjumPLC Based Automatic car wash system By Irfan Anjum
PLC Based Automatic car wash system By Irfan Anjum
 
Collision Avoidance System
Collision Avoidance SystemCollision Avoidance System
Collision Avoidance System
 
Sensor based motion control of mobile car robot
Sensor based motion control of mobile car robotSensor based motion control of mobile car robot
Sensor based motion control of mobile car robot
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
 
Adaptive cruise control’
Adaptive cruise control’Adaptive cruise control’
Adaptive cruise control’
 
Automotive Electronics In Automobile | Electronic control unit
Automotive  Electronics In Automobile | Electronic control unitAutomotive  Electronics In Automobile | Electronic control unit
Automotive Electronics In Automobile | Electronic control unit
 
Adaptive cruise control acc
Adaptive cruise control accAdaptive cruise control acc
Adaptive cruise control acc
 
adapative cruse control sushant
adapative cruse control sushantadapative cruse control sushant
adapative cruse control sushant
 
Cruise control devices
Cruise control devicesCruise control devices
Cruise control devices
 
Lag lead compensator design in frequency domain 7th lecture
Lag lead compensator design in frequency domain  7th lectureLag lead compensator design in frequency domain  7th lecture
Lag lead compensator design in frequency domain 7th lecture
 
Mobile Robot Vechiles
Mobile Robot VechilesMobile Robot Vechiles
Mobile Robot Vechiles
 
Advance Safety Systems in automobile
Advance Safety Systems in automobileAdvance Safety Systems in automobile
Advance Safety Systems in automobile
 
Sliding mode control
Sliding mode controlSliding mode control
Sliding mode control
 
Nyquist and polar plot 118 &amp; 117
Nyquist and polar plot 118 &amp; 117Nyquist and polar plot 118 &amp; 117
Nyquist and polar plot 118 &amp; 117
 
Automotive Systems course (Module 10) - Active and Passive Safety Systems for...
Automotive Systems course (Module 10) - Active and Passive Safety Systems for...Automotive Systems course (Module 10) - Active and Passive Safety Systems for...
Automotive Systems course (Module 10) - Active and Passive Safety Systems for...
 
Robotic car project presentation
Robotic car project presentationRobotic car project presentation
Robotic car project presentation
 

Similar to Cruise control simulation using matlab

Automobile cruise control
Automobile cruise controlAutomobile cruise control
Automobile cruise control
Tanzeel Ahmad
 
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
 
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Zac Darcy
 
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
 
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Zac Darcy
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
cesarportilla8
 
Control System Engineering by Engr Mark Joseph
Control System Engineering by Engr Mark JosephControl System Engineering by Engr Mark Joseph
Control System Engineering by Engr Mark Joseph
HanzEspiritu
 
Inverted Pendulum Control System
Inverted Pendulum Control SystemInverted Pendulum Control System
Inverted Pendulum Control SystemAniket Govindaraju
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond Brunkow
 
Attou. Sliding mode Control - MSAP
Attou. Sliding mode Control -  MSAPAttou. Sliding mode Control -  MSAP
Attou. Sliding mode Control - MSAPAttou
 
Big Bang- Big Crunch Optimization in Second Order Sliding Mode Control
Big Bang- Big Crunch Optimization in Second Order Sliding Mode ControlBig Bang- Big Crunch Optimization in Second Order Sliding Mode Control
Big Bang- Big Crunch Optimization in Second Order Sliding Mode Control
IJMTST Journal
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentalspurnima saha
 
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd Iaetsd
 
Automatic generation control&amp;voltage control(module 5:ktu syllabus)
Automatic generation control&amp;voltage control(module 5:ktu syllabus)Automatic generation control&amp;voltage control(module 5:ktu syllabus)
Automatic generation control&amp;voltage control(module 5:ktu syllabus)
Asha Anu Kurian
 
Simulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID ControlSimulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID Control
Suzana Avila
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
Isham Rashik
 
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Tuning of PID, SVFB and LQ Controllers Using Genetic AlgorithmsTuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
International Journal of Engineering Inventions www.ijeijournal.com
 

Similar to Cruise control simulation using matlab (20)

Automobile cruise control
Automobile cruise controlAutomobile cruise control
Automobile cruise control
 
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...
 
AutomaticClutchEAC
AutomaticClutchEACAutomaticClutchEAC
AutomaticClutchEAC
 
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...
 
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...
 
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
 
Control System Engineering by Engr Mark Joseph
Control System Engineering by Engr Mark JosephControl System Engineering by Engr Mark Joseph
Control System Engineering by Engr Mark Joseph
 
Inverted Pendulum Control System
Inverted Pendulum Control SystemInverted Pendulum Control System
Inverted Pendulum Control System
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
 
Attou. Sliding mode Control - MSAP
Attou. Sliding mode Control -  MSAPAttou. Sliding mode Control -  MSAP
Attou. Sliding mode Control - MSAP
 
sirishfinalpropsal
sirishfinalpropsalsirishfinalpropsal
sirishfinalpropsal
 
Documentation
DocumentationDocumentation
Documentation
 
Big Bang- Big Crunch Optimization in Second Order Sliding Mode Control
Big Bang- Big Crunch Optimization in Second Order Sliding Mode ControlBig Bang- Big Crunch Optimization in Second Order Sliding Mode Control
Big Bang- Big Crunch Optimization in Second Order Sliding Mode Control
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentals
 
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
 
Automatic generation control&amp;voltage control(module 5:ktu syllabus)
Automatic generation control&amp;voltage control(module 5:ktu syllabus)Automatic generation control&amp;voltage control(module 5:ktu syllabus)
Automatic generation control&amp;voltage control(module 5:ktu syllabus)
 
Simulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID ControlSimulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID Control
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Tuning of PID, SVFB and LQ Controllers Using Genetic AlgorithmsTuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
 

More from Hira Shaukat

Mobility Management
Mobility ManagementMobility Management
Mobility ManagementHira Shaukat
 
Development of Islamabad through SME
Development of Islamabad through SME Development of Islamabad through SME
Development of Islamabad through SME Hira Shaukat
 
Future Cooperative Networks
Future Cooperative NetworksFuture Cooperative Networks
Future Cooperative NetworksHira Shaukat
 
Speaker recognition using MFCC
Speaker recognition using MFCCSpeaker recognition using MFCC
Speaker recognition using MFCCHira Shaukat
 
Spread spectrum communication schemes
Spread spectrum communication schemesSpread spectrum communication schemes
Spread spectrum communication schemesHira Shaukat
 
Home automation system
Home automation system Home automation system
Home automation system Hira Shaukat
 

More from Hira Shaukat (8)

4 bit counter
4 bit counter4 bit counter
4 bit counter
 
Mobility Management
Mobility ManagementMobility Management
Mobility Management
 
Development of Islamabad through SME
Development of Islamabad through SME Development of Islamabad through SME
Development of Islamabad through SME
 
Future Cooperative Networks
Future Cooperative NetworksFuture Cooperative Networks
Future Cooperative Networks
 
Speaker recognition using MFCC
Speaker recognition using MFCCSpeaker recognition using MFCC
Speaker recognition using MFCC
 
Spread spectrum communication schemes
Spread spectrum communication schemesSpread spectrum communication schemes
Spread spectrum communication schemes
 
3 d printer
3 d printer3 d printer
3 d printer
 
Home automation system
Home automation system Home automation system
Home automation system
 

Recently uploaded

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

Cruise control simulation using matlab

  • 3. CRUISE CONTROL  Cruise control (speed control, auto-cruise or tempomat) is a system that automatically controls the speed of a motor vehicle. The system takes over the throttle of the car to maintain a steady speed as set by the driver.
  • 5. SYSTEM MODELLING  feedback control system  purpose is to maintain a constant vehicle speed despite external disturbances, such as changes in wind or road grade.  accomplished by i. measuring the vehicle speed ii. comparing it to the desired or reference speed iii. automatically adjusting the throttle according to a control law
  • 6. PHYSICAL SETUP: FBD bv u  Mass m  Control force u  Resistive forces bv  Vehicle velocity v  u = force generated at the road/tire interface  we will assume that : i. u can be controlled directly ii. the dynamics of the powertrain, tires, etc are 0 iii. bv, due to rolling resistance and wind drag varies linearly with the vehicle velocity, v, and act in the direction opposite the vehicle's motion
  • 7. FIRST ORDER EQUATION We are considering a first order mass-damper system. Summing forces in the x-direction and applying Newton's 2nd law, we arrive at the following system equation: m(dv/dt)+bv=u Since v is the required output: y = v
  • 8. TRANSFER FUNCTION Taking the Laplace transform and assuming zero initial conditions, we find the transfer function of the cruise control system to be: P(s) = V(s)/U(s) = 1/(ms+b)
  • 10. PARAMETERS  m vehicle mass 1000 kg  b damping coefficient 50 N.s/m  r reference speed 10 m/s  Rise time < 5 s  Overshoot < 10%  Steady-state error < 2%
  • 11. BLOCK DIAGRAM C(s) P(s) Unity gain feedback controller C(s) = Kp + Ki/s + Kd.s
  • 12. PROPORTIONAL CONTROL  The root-locus plot shows the locations of all possible closed-loop poles when a single gain is varied from zero to infinity.  Only a proportional controller Kp will be considered to solve this problem. The closed-loop transfer function becomes: Y(s)/R(s) = Kp/(ms + ( b + Kp ) )
  • 13. PROPORTIONAL CONTROL  MATLAB command sgrid  Used to display an acceptable region of the root-locus plot  Damping ratio (zeta) and the natural frequency (Wn) need to be determined
  • 15. PROPORTIONAL CONTROL  We can then find a gain to place the closed- loop poles in the desired region by employing the rlocfind command  specific loop gain [Kp,poles]=rlocfind(P_cruise)  In between the dotted lines (zeta > 0.6) and outside the semi-ellipse (wn > 0.36)
  • 16. LAG CONTROLLER  With the gain Kp being the only functional gain and Ki and Kd being zero, the rise time and the overshoot criteria have been met  A steady-state error of more than 10% remains  To reduce the steady-state error, a lag controller is added to the system
  • 17. LAG CONTROLLER  To reduce the steady-state error, a lag controller will be added to the system.  A pole and a zero, not too distant spacing- wise are introduced i.e:
  • 18. LAG CONTROLLER  With the gain Kp being the only functional gain and Ki and Kd being zero, the rise time and the overshoot criteria have been met  A steady-state error of more than 10% remains  To reduce the steady-state error, a lag controller is added to the system  the steady-state error will be reduced by a factor of zo/po
  • 19. LAG CONTROLLER  With the gain Kp excluded for the moment, the transfer function of PID becomes:  Adding Kp to the equation, the transfer function of PID becomes:
  • 20. LEAD CONTROLLER  The lead controller is basically added to improve the transient response of the system i.e. Ts and Tp mainly  Not used here as it is not needed and the desired parameters are already being achieved

Editor's Notes

  1. The two dotted lines in an angle indicate the locations of constant damping ratio (zeta=0.6); the damping ratio is greater than 0.6 in between these lines and less than 0.6 outside the lines. The semi-ellipse indicates the locations of constant natural frequency (Wn=0.36); the natural frequency is greater than 0.36 outside the semi-ellipse, and smaller than 0.36 inside.