Difference between revisions of "Projects:2018s1-181 BMW Autonomous Vehicle"

From Projects
Jump to: navigation, search
Line 46: Line 46:
 
The state vector used in the vehicle model consisted of the vehicle slip angle (β), yaw (ψ), yaw rate and the lateral position (y). This allowed for the calculations of the vehicles longitudinal and lateral positions and yaw at each timestep with respect to a steering angle input (𝛿).The parameters for the state space model can be seen in the calculated parameters table.
 
The state vector used in the vehicle model consisted of the vehicle slip angle (β), yaw (ψ), yaw rate and the lateral position (y). This allowed for the calculations of the vehicles longitudinal and lateral positions and yaw at each timestep with respect to a steering angle input (𝛿).The parameters for the state space model can be seen in the calculated parameters table.
  
[[File:Parameters.PNG|300px|thumb|center|Developed Simulink vehicle model based off the above state space representation]]
+
[[File:VM.PNG|300px|thumb|center|Developed Simulink vehicle model based off the above state space representation]]
  
  

Revision as of 20:20, 21 October 2018

Students

Corey Miller

Kaifeng Ren

Muhammad Sufyaan Bin Mohd Faiz

Ovini Amaya Perera

Yiduo Yin

Supervisors

Associate Professor Nesimi Ertugral

Mr. Robert Dollinger

Project Description

Software Development

This projects main focus is on MPC development for a steering system of the BMW autonomous vehicle. During this project, Model Predictive Controller toolbox in MATLAB Simulink will be used to develop the MPC controller which suits in our project. In addition, the vehicle model which was provided by Robert Dollinger in 2016 could not be used in Model Predictive Controller Toolbox in MATLAB due to errors. Therefore, In the software part, a new vehicle model will be developed and a Model Predictive Controller will be developed and used in the simulation part of this project. New software call Driving Scenario Designer will also be used to develop the reference track for simulating the new vehicle model and controller.


MPC Introduction

Stability and safety are the most important factors of autonomous driving. MPC is a controller which has 2 important advantages to achieve the stability and safety of the autonomous vehicle’s steering system.

■ Advantage1: Constraints Handling There are a lot of constraints (physical limitations) which need to be overcome when the car is driving on the road. MPC can handle constraints systematically and produce feasible solutions for our car. Its ability of constraints handling can provide stability and safety for our autonomous vehicle.

■ Advantage2: Optimization of the result Although the result returned by MPC may not match the reference trajectory precisely, the result can still be optimized as hard as possible to get close to the given trajectory.


Vehicle Model

Bicycle model to describe the lateral dynamics of a vehicle.

The vehicle model used for the system will be summarized using state space representation: modelling the physical vehicle as a set of input, output and state variables (variables that change over time depending on the input variables at a specific instance). The benefits that state space representation has over other modelling techniques is that it allows input data from multiple sources to be used simultaneously in the same model to estimate a single dynamic vehicle parameter and provides a convenient way to analyses multiple inputs and outputs. Comparing this to the frequency domain, state-space representation is not limited to systems with linear components and zero initial conditions and is more efficient than having to write input × output number of Laplace transforms to describe the system.

State space model used to represent the vehicle models lateral dynamics

To model the vehicle in state space representation, a linear single-track model (also known as the bicycle model) was used to describe the lateral dynamics of the vehicle. The bicycle model simplifies the dynamics of a vehicle by taking the front and rear axles and treating them as singular wheels. This simplifies the lateral dynamics of the vehicle by reducing the degrees of freedom from having 4 wheels to 2 wheels, hence fewer equations are required to describe the vehicle model.

Parameters.PNG

The state vector used in the vehicle model consisted of the vehicle slip angle (β), yaw (ψ), yaw rate and the lateral position (y). This allowed for the calculations of the vehicles longitudinal and lateral positions and yaw at each timestep with respect to a steering angle input (𝛿).The parameters for the state space model can be seen in the calculated parameters table.

Developed Simulink vehicle model based off the above state space representation


First Level System Design'

MPC System Design

Simulation Results

Software Part Future Work

The MPC controller that we developed can only acquire good performance results when the speed is 18km/h. In some cases, there will be 1.5 meters oversteer on the Y position when the vehicle tries to track and approach the reference path at the beginning. Therefore, we thought this oversteer was caused by the set parameters which were not properly measured. These parameters include cornering stiffness and moment of inertia of the vehicle. Hence, as a further development, a parameter estimator may be required and developed.

Secondly, as I mentioned above that the vehicle can only perform well at 18km/h, so an adaptive MPC controller may be needed to allow the vehicle to follow the reference path at different speeds.

By using the vehicle model, we observed that when the vehicle's velocity get close to 0, the state space model becomes unstable which is another problem that needs to be solved in the future work.

Hardware Part

...due Sunday night.


Conclusion

References