Time-Optimal Automobile Test Drives with Gear Shifts

Similar documents
On Perspective Functions, Vanishing Constraints, and Complementarity Programming

On Perspective Functions and Vanishing Constraints in Mixed-Integer Nonlinear Optimal Control

Direct Methods. Moritz Diehl. Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U.

Time-optimal control of automobile test drives with gear shifts

The single track model

Combinatorial Integral Approximation for Mixed-Integer Nonlinear Optimal Control

We provide two sections from the book (in preparation) Intelligent and Autonomous Road Vehicles, by Ozguner, Acarman and Redmill.

Numerical Optimal Control Overview. Moritz Diehl

Hot-Starting NLP Solvers

Simple Car Dynamics. Outline. Claude Lacoursière HPC2N/VRlab, Umeå Universitet, Sweden, May 18, 2005

Direct and indirect methods for optimal control problems and applications in engineering

Trajectory Planning and Collision Detection for Robotics Applications

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

Low Complexity MPC Schemes for Integrated Vehicle Dynamics Control Problems

Robust Model Predictive Control for Autonomous Vehicle/Self-Driving Cars

An Active-Set Quadratic Programming Method Based On Sequential Hot-Starts

MPC Infeasibility Handling

A study on wheel force measurement using strain gauge equipped wheels

Optimal Control for Race Car Minimum Time Maneuvering

On Perspective Functions and Vanishing Constraints in Mixed-Integer Nonlinear Optimal Control

Improving EV Lateral Dynamics Control Using Infinity Norm Approach with Closed-form Solution

The Lifted Newton Method and Its Use in Optimization

Extending the Inverse Vehicle Propulsion Simulation Concept -To Improve Simulation Performance

Development of the new MINLP Solver Decogo using SCIP - Status Report

Software for Integer and Nonlinear Optimization

Deterministic Global Optimization Algorithm and Nonlinear Dynamics

Robotics, Geometry and Control - A Preview

Time-optimal Race Car Driving using an Online Exact Hessian based Nonlinear MPC Algorithm

Trajectory Tracking Control of Bimodal Piecewise Affine Systems

A Model Predictive Control Approach for Combined Braking and Steering in Autonomous Vehicles

Team-Exercises for DGC 100 Modelica Course

Prediktivno upravljanje primjenom matematičkog programiranja

Nonlinear Regulation for Motorcycle Maneuvering

Optimum Experimental Design for Nonlinear Dynamical Models Mathematical Basic Research of High Economic Impact

AP Physics 1 Summer Assignment (2014)

Distributed and Real-time Predictive Control

Robotics. Dynamics. Marc Toussaint U Stuttgart

Suboptimal Open-loop Control Using POD. Stefan Volkwein

Hybrid Electric Vehicle energy management control based on stochastic dynamic programming

16.410/413 Principles of Autonomy and Decision Making

String tyre model for evaluating steering agility performance using tyre cornering force and lateral static characteristics

Research Article Minimum Time Approach to Emergency Collision Avoidance by Vehicle Handling Inverse Dynamics

Network Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini

Efficient upper and lower bounds for global mixed-integer optimal control

Robot Control Basics CS 685

Optimization of a Nonlinear Workload Balancing Problem

CONTROL OF THE NONHOLONOMIC INTEGRATOR

An Efficient Nonlinear Model-Predictive Eco-Cruise Control for Electric Vehicles

Integer Programming. Wolfram Wiesemann. December 6, 2007

Chapter 2 Optimal Control Problem

SOP Release. FEV Chassis Reliable Partner in Chassis Development. FEV Chassis Applications and Activities. Concept Layout. Design

Introduction to centralized control

A Benders Algorithm for Two-Stage Stochastic Optimization Problems With Mixed Integer Recourse

An SR1/BFGS SQP algorithm for nonconvex nonlinear programs with block-diagonal Hessian matrix

Trajectory Planning Using High-Order Polynomials under Acceleration Constraint

arxiv: v1 [math.oc] 27 Oct 2016

Real-time energy management of the Volvo V60 PHEV based on a closed-form minimization of the Hamiltonian

Quadrotor Modeling and Control for DLO Transportation

Technische Universität Berlin

MA 108 Math The Language of Engineers. Stan Żak. School of Electrical and Computer Engineering

An Inexact Sequential Quadratic Optimization Method for Nonlinear Optimization

Optimal Control Theory SF 2852

Dynamic and Adversarial Reachavoid Symbolic Planning

Introduction to centralized control

Estimation of Tire-Road Friction by Tire Rotational Vibration Model

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING

DRIVE RESPONSIBLY, ARRIVE SAFELY! Advice for driving in wintry conditions. We wish you a safe and comfortable journey!

Analysis and Design of an Electric Vehicle using Matlab and Simulink

Optimization-Based Control

A motion planner for nonholonomic mobile robots

Functional Mockup Interface (FMI)

TAM 212 Worksheet 5: Car steering

Momentum-centric whole-body control and kino-dynamic motion generation for floating-base robots

EE C128 / ME C134 Feedback Control Systems

Underwater vehicles: a surprising non time-optimal path

CHAPTER 1. Introduction

Collision warning system based on probability density functions van den Broek, T.H.A.; Ploeg, J.

Funnel control in mechatronics: An overview

Single-track models of an A-double heavy vehicle combination

Generation and Representation of Piecewise Polyhedral Value Functions

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Motion. Aristotle. Motion: usually something abstract, such as the laws of motion.

A first car following model

DYNAMIC MODELLING AND IDENTIFICATION OF A CAR. Gentiane Venture* Wisama Khalil** Maxime Gautier** Philippe Bodson*

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

Observability matrix and parameter identification: application to vehicle tire cornering stiffness

2nd International Conference on Electronic & Mechanical Engineering and Information Technology (EMEIT-2012)

Learning Model Predictive Control for Iterative Tasks: A Computationally Efficient Approach for Linear System

Minimizing Total Delay in Fixed-Time Controlled Traffic Networks

Real-time Constrained Nonlinear Optimization for Maximum Power Take-off of a Wave Energy Converter

The estimation problem ODE stability The embedding method The simultaneous method In conclusion. Stability problems in ODE estimation

Electrical Machine & Automatic Control (EEE-409) (ME-II Yr) UNIT-3 Content: Signals u(t) = 1 when t 0 = 0 when t <0

Numerical Methods for Embedded Optimization and Optimal Control. Exercises

Posture regulation for unicycle-like robots with. prescribed performance guarantees

Extremal Trajectories for Bounded Velocity Differential Drive Robots

CHAPTER 2: Describing Motion: Kinematics in One Dimension

Nonlinear Programming Models: A Survey

Objective. 1 Specification/modeling of the controlled system. 2 Specification of a performance criterion

Chapter 2. Motion along a straight line

Ascent Phase Trajectory Optimization for a Hypersonic Vehicle Using Nonlinear Programming

Transcription:

Time-Optimal Control of Automobile Test Drives with Gear Shifts Christian Kirches Interdisciplinary Center for Scientific Computing (IWR) Ruprecht-Karls-University of Heidelberg, Germany joint work with Sebastian Sager, Hans Georg Bock, Johannes P. Schlöder International Workshop on Hybrid Systems Koç University, Istanbul, Turkey May 15, 2008

Outline of the Talk Introduction 1 Introduction 2 3 A Mixed-Integer Optimal Control Approach 4 Test-driving Scenarios & Computational Results 5

Introduction Outline of the Talk Introduction Mixed-Integer Optimal Control (MIOC) Optimization of dynamic processes, Nonlinear stiff/non-stiff ODE/DAE models, Discrete and continuous controls, Nonlinear constraints. Tasks Reduce infinite-dimensional MIOCP to NLP. Want to avoid MINLP: How to treat discrete controls? Applications Chemistry, Bioinformatics, Engineering, Economics,...

Outline of the Talk Introduction Introduction Today s Application Driver shall complete a prescribed track: Time optimal, energy optimal, pareto, periodic,... ODE model: Vehicle dynamics. Continuous decisions: Acceleration, brakes, steering wheel? Discrete decisions: When to select which gear? Constraints: Stay on track, control bounds, engine speed,...

Forces Introduction Forces States Controls F sf, F lf, F sr, F lr : Side and lateral forces at front and rear tyre (Pacejka), F Ax, F Ay : Accelerating forces attacking car s c.o.g. Source: M. Gerdts, Solving mixed-integer optimal control problems by branch&bound: A case study from automobile test-driving with gear shift. Opt. Contr. Appl. Meth. 2005; 26:118.

Coordinates Introduction Forces States Controls x, y Global coordinate system, e SP c x, c y ψ Displacement of car s center of gravity, Car body s geometric center, Angle of longitudinal axis against global ordinate.

Angles Introduction Forces States Controls α f α r β δ Front wheel s direction of movement against longitudinal axis, Rear wheel s direction of movement against longitudinal axis, Car s direction of movement against longitudinal axis, Steering wheel angle against longitudinal axis.

Velocities Introduction Forces States Controls v f, v r Front and rear wheel s velocity into directions α f, α r, v Car s velocity into direction β.

Forces States Controls Controls δ in [ 0.5, 0.5] R: Time derivative of steering wheel angle, φ in [0, 1] R: Pedal position, translates to engine torque M eng, F brk in [0, 1.5 10 4 ] R: Braking force. µ in {1, 2, 3, 4, 5} Z: Selected gear, translates to gearbox transm. ratio i µ g. Model part relevant for µ: Rear wheel drive F µ lr := i µ g i r R Mµ eng(φ, w µ eng) F Br F Rr, M eng µ (φ, w eng µ ) := some nonlinear function of φ and engine speed weng in gear µ

Optimal Control Problem Class Problem Class Solution by Multiple Shooting Treatment of Integer Controls Optimal Control Problem min t f,x( ),u( ),p φ(t f, x(t f ), p) s.t. ẋ(t) = f (t, x(t), u(t), p) t [t 0, t f ] 0 c(t, x(t), u(t), p) t [t 0, t f ] 0 = r eq (t 0, x(t 0 ),..., t m, x(t m), p) 0 r in (t 0, x(t 0 ),..., t m, x(t m), p) u(t) U R nu t [t 0, t f ] ODE states trajectory x( ), control functions u( ), Free final time t f and global parameters p.

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Bock s Direct Multiple Shooting Method: Controls Discretization Grid Select a partition of the time horizon [t 0, t f ] into m 1 intervals t 0 < t 1 <... < t m 1 < t m = t f. Control Discretization Select n q base functions b j : R R nu. Using control parameters q R nq, let for all 0 i m 1 n q u i (t) := q ij b ij (t) t [t i, t i+1 ] j=1 Choices: Piecewise constant/linear/cubic splines, continuity by external constraints.

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Bock s Direct Multiple Shooting Method: States State Discretization Introduce initial states s i for 0 i m 1 and solve m IVPs ẋ i (t) = f (t, x i (t), q i, p) t [t i, t i+1 ] x i (t i ) := s i s i+1 = x(t i+1 ; t i, s i, q i, p) Advantages Existence of solution of IVP, Improve condition of BVP, Distribute nonlinearity, Supply additional a-priori information using the s i, Use state-of-the-art adaptive ODE/DAE solver with IND.

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Bock s Direct Multiple Shooting Method: Discrete NLP Optimal Control NLP min t f,s i,q i,p φ(t f, s m, p) s.t. ẋ i (t) = f (t, x i (t), q i, p) t [t i, t i+1 ] i 0 = s i+1 x i (t i+1 ; t i, s i, q i, p) i 0 = r eq (t 0, x 0, q 0,..., t m, x m, q m, p) 0 r in (t 0, x 0, q 0,..., t m, x m, q m, p) x i (t i+1 ; t i, s i, q i, p) denotes end point of solution of IVP i depending on initial values of t i, s i, q i, and p.

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Bock s Direct Multiple Shooting Method: Solution of NLP Exploiting Structure Partial separability of objective, Can evaluate intervals in parallel, Block sparse jacobians and hessians, High-rank updates to hessian (modified L-BFGS). Solution of NLP by structured SQP method Reduce NLP to size of single shooting system, Dense active-set QP solvers: QPSOL, QPOPT, qpoases,...

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Mixed-Integer Optimal Control Problem Class Optimal Control Problem min t f,x( ),u( ),ω( ),p φ(t f, x(t f ), p) s.t. ẋ(t) = f (t, x(t), u(t), ω(t), p) t [t 0, t f ] 0 c(t, x(t), u(t), ω(t), p) t [t 0, t f ] 0 = r eq (t 1, x(t 1 ),..., t m, x(t m), p) 0 r in (t 1, x(t 1 ),..., t m, x(t m), p) u(t) U R nu t [t 0, t f ] ω(t) Ω R nω t [t 0, t f ] Ω := {ω 1, ω 2,..., ω nw } R nω is a finite set of control choices, Ω <.

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Inner Convexification for Integer Controls Inner Convexification Let Ω be the finite set of all control choices. Relax ω(t) Ω to w(t) conv Ω R nω. Effects + Same number of controls n ω. + Dense QPs solvers faster, less active set changes. Model must be evaluatable & valid for potentially nonintegral w(t). How to reconstruct integral choice ω (t) from relaxed w (t)?

Problem Class Solution by Multiple Shooting Treatment of Integer Controls Outer Convexification for Integer Controls Outer Convexification For all t and for each member ω i Ω R nω introduce w i (t) {0, 1}. Let then ω(t) := n w ω i w i (t), 1 = n w i=1 i=1 w i (t) (SOS1) Relax all w i (t) {0, 1} to w i (t) [0, 1] R to obtain choice ω(t). Effects Increased number of controls n w = Ω instead of n ω. + Model can rely on integrality of the fixed evaluation points ω i. + Relaxed solution often bang-bang in w i (t), thus integer. + If not, SUR-0.5 as ε-approximative scheme.

Avoiding an Obstacle Introduction Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Start to the left, driving straight ahead at 10 km/h. Complete track in a time-optimal fashion. Predefined evasive manoeuvre to avoid obstacle.

Avoiding an Obstacle: Initialization Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Example: 40 multiple shooting nodes.

Avoiding an Obstacle: Solution Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Example: 40 multiple shooting nodes. Differential state trajectories: Control trajectories:

Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Avoiding an Obstacle: Constraint Discretization Example: 10, 40, and 80 multiple shooting nodes.

Why is it integer? Introduction Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Maximum indicated engine torque depending on velocity.

Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Computation Times Branch & Bound N t f hh:mm:ss 10 not given 20 6.779751 00:23:52 40 6.786781 232:25:31 80 - - [M. Gerdts, 2005] on a P-III 750 MHz Outer Convexification N t f hh:mm:ss 10 6.798389 00:00:07 20 6.779035 00:00:24 40 6.786730 00:00:46 80 6.789513 00:04:19 [K. et al., 2008] on an Athlon 2166 MHz

Racing on an ellipsoidal track Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Ellipsoidal track of 340m x 160m, Width of 5 car widths, Find time-optimal periodic solution.

Racing on an ellipsoidal track: Solution Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track Differential state trajectories: Control trajectories:

Racing on an ellipsoidal track: Solution Scenario 1: Avoiding an Obstacle Computational Effort Scenario 2: Racing on an ellipsoidal track

Extensions and Future Work Thank you Future Work More complicated tasks More complicated circuits (think Istanbul Park, Hockenheimring,...); requires slight modification of model & coordinate system. More detailed modelling of integer decision effects. More sophisticated techniques For longer tracks: use a moving horizon optimization technique. Closed-loop offline optimization. Closed-loop online optimization with an industry partner. Real-time Feasibility Computation for reasonable discretization quite fast. Active set QP can solve a sequence of related problems at cheap additional cost.

Extensions and Future Work Thank you References References C. Kirches, S. Sager, H.G. Bock, J.P. Schlöder. Time-optimal control of automobile test drives with gear shifts. Opt. Contr. Appl. Meth. 2008; (submitted). M. Gerdts. Solving mixed-integer optimal control problems by branch&bound: A case study from automobile test-driving with gear shift. Opt. Contr. Appl. Meth. 2005; 26:1-18. M. Gerdts. A variable time transformation method for mixed-integer optimal control problems. Opt. Contr. Appl. and Meth. 2006; 27(3):169-182. S. Sager. Numerical methods for mixedinteger optimal control problems. Der andere Verlag: Tönning, Lübeck, Marburg, 2005. isbn 3-89959-416-9. http://sager1.de/sebastian/downloads/sager2005.pdf.

Extensions and Future Work Thank you Thank you for your attention. Questions?