SlideShare ist ein Scribd-Unternehmen logo
1 von 21
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

Weitere ähnliche Inhalte

Was ist angesagt?

Rail gate controller ppt
Rail gate controller pptRail gate controller ppt
Rail gate controller ppt
Sajal Das
 

Was ist angesagt? (20)

Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
 
Cruise control
Cruise controlCruise control
Cruise control
 
Pid controller
Pid controllerPid controller
Pid controller
 
ACTUATORS AND MECHATRONICS SYSTEM DESIGN
ACTUATORS AND MECHATRONICS SYSTEM DESIGNACTUATORS AND MECHATRONICS SYSTEM DESIGN
ACTUATORS AND MECHATRONICS SYSTEM DESIGN
 
Control system basics_open and closed loop control system
Control system basics_open and closed loop control systemControl system basics_open and closed loop control system
Control system basics_open and closed loop control system
 
Automatic car parking barrier system using plc presentation
Automatic car parking barrier system using plc presentationAutomatic car parking barrier system using plc presentation
Automatic car parking barrier system using plc presentation
 
Optimal control system
Optimal control systemOptimal control system
Optimal control system
 
Control systems
Control systems Control systems
Control systems
 
Dcs lec01 - introduction to discrete-time control systems
Dcs   lec01 - introduction to discrete-time control systemsDcs   lec01 - introduction to discrete-time control systems
Dcs lec01 - introduction to discrete-time control systems
 
Adaptive cruise control’
Adaptive cruise control’Adaptive cruise control’
Adaptive cruise control’
 
Embedded system-in-automobile
Embedded system-in-automobileEmbedded system-in-automobile
Embedded system-in-automobile
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
 
Lecture 1 trajectory generation
Lecture 1 trajectory generation Lecture 1 trajectory generation
Lecture 1 trajectory generation
 
Tuning of pid
Tuning of pidTuning of pid
Tuning of pid
 
Rail gate controller ppt
Rail gate controller pptRail gate controller ppt
Rail gate controller ppt
 
Report - Line Following Robot
Report - Line Following RobotReport - Line Following Robot
Report - Line Following Robot
 
Optimal control systems
Optimal control systemsOptimal control systems
Optimal control systems
 
Driver Status Monitoring system
Driver Status Monitoring systemDriver Status Monitoring system
Driver Status Monitoring system
 
Control system digital control
Control system digital controlControl system digital control
Control system digital control
 
Electronic Control Unit(ECU)
Electronic Control Unit(ECU)Electronic Control Unit(ECU)
Electronic Control Unit(ECU)
 

Ähnlich wie Cruise control simulation using matlab

Inverted Pendulum Control System
Inverted Pendulum Control SystemInverted Pendulum Control System
Inverted Pendulum Control System
Aniket Govindaraju
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond Brunkow
 
Attou. Sliding mode Control - MSAP
Attou. Sliding mode Control -  MSAPAttou. Sliding mode Control -  MSAP
Attou. Sliding mode Control - MSAP
Attou
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentals
purnima 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
 

Ähnlich wie 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
 

Mehr von Hira Shaukat

Mobility Management
Mobility ManagementMobility Management
Mobility Management
Hira 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 Networks
Hira Shaukat
 
Speaker recognition using MFCC
Speaker recognition using MFCCSpeaker recognition using MFCC
Speaker recognition using MFCC
Hira Shaukat
 
Spread spectrum communication schemes
Spread spectrum communication schemesSpread spectrum communication schemes
Spread spectrum communication schemes
Hira Shaukat
 
Home automation system
Home automation system Home automation system
Home automation system
Hira Shaukat
 

Mehr von 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
 

Kürzlich hochgeladen

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
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

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...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
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
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
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
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
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
 

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

Hinweis der Redaktion

  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.