Giter Club home page Giter Club logo

longitudinal-and-lateral-control-of-an-automotive-vehicle's Introduction

Longitudinal-and-Lateral-Control-of-an-automotive-vehicle

This Project deals with the longitudinal and lateral control of an automotive vehicle within the framework of fully automated guidance. The automotive vehicle is a complicated system with nonlinear longitudinal and lateral coupled dynamics. As a result, automated guidance must be performed in conjunction with longitudinal and lateral control. In this lab, we examine a model predictive control-based automated steering technique. To deal with the longitudinal speed tracking problem, a longitudinal control technique is also proposed. Finally, a unified longitudinal and lateral control strategy helps to improve the combined control performance. This whole control strategy is tested through simulations showing the effectiveness of the present approach for a path tracking task using the Pure Pursuit algorithm.

Notice :

๐Ÿ”ด The Included PDF contains the full details of the dynamic model used, the design of controllers and their assesment and performance analysis for different situations/conditions.

This project includes:

Longitudinal Control : PI controller

Lateral Control: MPC controller

Complete non-linear dynamics control : PI + MPC

Instructions

  • run Init.m to initialize the simulink model
  • run the simulink simulation
  • run Init.m again to display the simulated trajectory with respect to the reference trajectory and re-initialize the simulink models

Included Simulink models:

  • Full_control_with_fixed_reference_velocity : used to test the controller for a constant reference linear velocity
  • Full_control_with_variable_reference_velocity : using a piecewise reference velocity depending on the shape of the track
  • -MPC : the standalone MPC controller for later control

Snippets

  • The complete control scheme :

  • The performance of the controller evaluated for a path tracking task using the PurevPursuit algorithm for a constant reference velocity of 50km/h, dry, smooth road:

  • The performance of the controller evaluated for a path tracking task using the PurevPursuit algorithm for a constant reference velocity of 90km/h, dry, smooth road:

  • Solving the problem by using adaptive ( variable/piecewise ) reference velocity:

longitudinal-and-lateral-control-of-an-automotive-vehicle's People

Contributors

souhaiel1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

longitudinal-and-lateral-control-of-an-automotive-vehicle's Issues

Adding Custom Reference Path

Hello, I need to say that your repo was a real help to me and I have a simple question. How can I use this controller to track a custom reference path? I want it to follow a simple parking trajectory. What parts of the code should I change?

Regards
Ali

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.