SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

REVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILES
REVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILESREVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILES
REVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILESvishnusankar369
 
Adaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL RAdaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL RNikhil Kashyap
 
V2V communications
V2V communicationsV2V communications
V2V communicationsSai Avinash
 
Automated traffic control system
Automated traffic control systemAutomated traffic control system
Automated traffic control systemLikithe
 
Autonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and OpportunitiesAutonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and OpportunitiesJeffrey Funk
 
Cruise control & Adaptive Cruise Control
Cruise control & Adaptive Cruise ControlCruise control & Adaptive Cruise Control
Cruise control & Adaptive Cruise ControlANAND THAKKAR
 
Autonomous braking system
Autonomous braking systemAutonomous braking system
Autonomous braking systemPhilsonPhilip2
 
Embedded systems in automobiles
Embedded systems in automobilesEmbedded systems in automobiles
Embedded systems in automobilesTilak Marupilla
 
Collision warning and avoidance
Collision warning and avoidance Collision warning and avoidance
Collision warning and avoidance jiodadi
 
Embedded system-in-automobiles
Embedded system-in-automobilesEmbedded system-in-automobiles
Embedded system-in-automobilesPriyanka GV
 
Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Louise Antonio
 
Collision Avoidance System
Collision Avoidance SystemCollision Avoidance System
Collision Avoidance SystemSiddharth Mehta
 
Vinod_Autonomous_car_ppts
Vinod_Autonomous_car_pptsVinod_Autonomous_car_ppts
Vinod_Autonomous_car_pptsvinumukkati
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise controlArun Raja
 

Tendances (20)

REVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILES
REVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILESREVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILES
REVIEW ON ADAPTIVE CRUISE CONTROL IN AUTOMOBILES
 
Adaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL RAdaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL R
 
Cruise control devices
Cruise control devicesCruise control devices
Cruise control devices
 
V2V communications
V2V communicationsV2V communications
V2V communications
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
 
Automated traffic control system
Automated traffic control systemAutomated traffic control system
Automated traffic control system
 
Autonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and OpportunitiesAutonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and Opportunities
 
Cruise control & Adaptive Cruise Control
Cruise control & Adaptive Cruise ControlCruise control & Adaptive Cruise Control
Cruise control & Adaptive Cruise Control
 
Autonomous braking system
Autonomous braking systemAutonomous braking system
Autonomous braking system
 
Embedded systems in automobiles
Embedded systems in automobilesEmbedded systems in automobiles
Embedded systems in automobiles
 
Lane assist
Lane assistLane assist
Lane assist
 
Collision warning and avoidance
Collision warning and avoidance Collision warning and avoidance
Collision warning and avoidance
 
ADAPTIVE LIGHTING SYSTEM
ADAPTIVE LIGHTING SYSTEM ADAPTIVE LIGHTING SYSTEM
ADAPTIVE LIGHTING SYSTEM
 
Embedded system-in-automobiles
Embedded system-in-automobilesEmbedded system-in-automobiles
Embedded system-in-automobiles
 
Autonomous car
Autonomous carAutonomous car
Autonomous car
 
Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...
 
Collision Avoidance System
Collision Avoidance SystemCollision Avoidance System
Collision Avoidance System
 
Vinod_Autonomous_car_ppts
Vinod_Autonomous_car_pptsVinod_Autonomous_car_ppts
Vinod_Autonomous_car_ppts
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
 
Traction control system
Traction control systemTraction control system
Traction control system
 

Similaire à Cruise control simulation using matlab

Automobile cruise control
Automobile cruise controlAutomobile cruise control
Automobile cruise controlTanzeel 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 armcesarportilla8
 
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 JosephHanzEspiritu
 
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 ControlIJMTST 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 ControlSuzana 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 AssignmentIsham Rashik
 

Similaire à 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
 

Plus de 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
 

Plus de 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
 

Dernier

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
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.pdfAdmir Softic
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
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...christianmathematics
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
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 17Celine George
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
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 ClassesCeline George
 
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.pptxAreebaZafar22
 

Dernier (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
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
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
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...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
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
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
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
 

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

Notes de l'éditeur

  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.