Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Applied Control Systems 2: autonomous cars (360 tracking)
Rating: 4.7 out of 5(168 ratings)
4,773 students

Applied Control Systems 2: autonomous cars (360 tracking)

system modeling + state space systems + Model Predictive Control + MPC constraints + Python simulation: autonomous cars
Last updated 11/2025
English
English [Auto],Korean [Auto],

What you'll learn

  • revision of Model Predictive Control for Linear Time Invariant (LTI) systems
  • mathematical modeling of an autonomous car on a 2D X-Y plane using the bicycle model
  • going from the vehicle's equations of motion to its state space form
  • mastering & applying linear Model Predictive Control (MPC) to a nonlinear system using Linear Parameter Varying (LPV) formulation
  • mastering & applying Model Predictive Control (MPC) constraints to the autonomous car
  • simulating the control loop for the autonomous car in Python including the Model Predictive Control (MPC) controller and its constraints

Course content

6 sections115 lectures13h 34m total length
  • Introduction & general instructions7:33

    Extend the prior mpc work to 360-degree trajectory tracking on a 2d plane, adding a realistic mpc with two controls—steering delta and longitudinal acceleration—and velocity and change-of-control constraints.

  • BONUS trajectory0:16

    Explore a bonus trajectory in applied control systems for autonomous cars, highlighting 360 tracking techniques to enhance trajectory execution and car performance.

  • Equations of motion formulation in the lateral direction6:53

    Review the previous APC controller for autonomous lane changes using a bicycle model for lateral motion. Reformulate the lateral dynamics into a state-space form with states and the steering input.

  • Going from equations of motion to the state-space equations6:33

    Apply a small angle approximation to the vehicle model, turning sine and cosine terms into linear relations, and yielding a constant A, B, C, D state-space form for lane-change control.

  • Controller limitations from the small yaw angle assumption 15:02

    Explore how the small yaw angle assumption limits the controller by linking the plant and controller loops, state propagation, and horizon-based reference inputs.

  • Controller limitations from the small yaw angle assumption 28:21

    Show how the small yaw angle assumption aligns plant and controller models by replacing sine psi and cosine psi with psi and one; larger psi breaks alignment and tracking.

  • Model Based Control VS PID5:50

    Compare model based control and PID, showing how NPC uses a plant-like model to predict future states and compute trajectory tracking inputs.

  • Revision of the plant box equations4:58

    We compute the new states at k+1 from the input delta at k and preview states at k using state equations. Use the Euler integrator with multiple sub-steps.

  • Revision of the MPC basic principle5:26

    See how model predictive control derives from the linear NPC by augmenting the state with delta changes, expanding matrices with horizon, and using predicted input for trajectory tracking under uncertainty.

  • Revision of making the LTI system discrete11:38

    discretize the continuous lti model using forward Euler to obtain discrete a and b matrices for both the plant and controller boxes, enabling model-based control with mpac.

  • Revising how MPC predicts future states7:12

    Apply model predictive control to predict future states along a reference trajectory using a discrete augmented state vector model and optimize across a horizon to balance tracking and control effort.

  • Revision of augmenting the LTI state space model - exercise5:43

    Revise the MPC cost function for autonomous cars, augment the system to use delta delta as the control input, and track two outputs from four states over a five-step horizon.

  • Revision of augmenting the LTI state space model - solution3:32

    Form a tilde-augmented state space by combining x_k+1 and delta terms, build the discrete system and B matrices, and derive the augmented equations for the mpac controller.

  • Revision of MPC cost function reformulation11:06

    Reformulate the MPC cost function with delta deltas and augmented state vectors, and derive the optimal delta delta sequence for lateral control of a vehicle on a straight road.

Requirements

  • Basic Calculus: Functions, Derivatives, Integrals
  • Vector-Matrix multiplication
  • Udemy course: Applied Control Systems 1: autonomous cars (Math + PID + MPC)

Description

How do you make autonomous cars track a general trajectory on a 2D plane and how do you make sure that the velocities, accelerations and steering wheel angles of the autonomous cars stay within their realistic minimum and maximum values?

My name is Mark. I'm an Aerospace & Robotics Engineer and in this course, I will give you intuition, Mathematics and Python implementation for all that.

This course is a direct continuation to the course "Applied Control Systems 1: autonomous cars: Math + PID + MPC. In the previous course, the Model Predictive Control (MPC) algorithm only allowed the autonomous cars to change lanes on a straight road. We applied a small angle approximation to convert our nonlinear model to linear time invariant (LTI). It made our lives easier but it also restricted our Model Predictive Control algorithm.

In this course however, we will remove that simplification and I will show you how you can apply a linear MPC controller to a nonlinear system by putting it in a Linear Parameter Varying form first. With this highly popular technique, your car will be able to track a general 2D trajectory.

In addition, you will learn how to use quadratic solvers such as qpsolvers & quadprog to apply MPC constraints to autonomous cars. In most control problems, you have to consider constraints in order to keep your system within reasonable values.

The knowledge that you get from this course is universal and can be applied to so many systems in control systems engineering.

Take a look at some of my free preview videos and if you like what you see, then ENROLL NOW, and let's get started.

Hope to see you inside!

Who this course is for:

  • Science and Engineering students
  • Working Scientists and Engineers
  • Control Engineering enthusiasts