This repository contains projects from the Modern Control 2 course.
Project 1/โ Codes and description for the project of 'Continuous and Discrete Kalman Filter Design 'Project 2/โ Codes and description for the project of 'Model and Control of a Vehicle's Active Suspension System'README.mdโ Youโre here!
-
Project 1:โ The purpose of the project is to deepen understanding of the operation and simulation of the optimal Kalman filter estimator in continuous-time and discrete-time linear dynamic systems -
Project 2:โ The purpose is to design a control system for an active suspension system of a vehicle.
- All code is written in MATLAB/Simulink.
Description:
The system dynamic equations are given as follows:
In these equations, ๐ค(๐ก) is the disturbance input vector, and ๐ฃ(๐ก) is the measurement noise. Assume that the initial conditions of this system are random variables with a Gaussian distribution such that:
The input ๐ข(๐ก) is a known deterministic input function. Assume that the disturbance input vector ๐ค(๐ก) and the output noise ๐ฃ(๐ก) are white Gaussian stochastic processes with the following characteristics:
It is assumed that the initial condition vector, the disturbance input vector, and the output noise vector are all mutually uncorrelated.
Continuous-time system:
a:Write the complete Kalman filter equations (including the one-step ahead prediction equation, the estimation equation, the one-step ahead estimation error covariance matrix equation, the estimation covariance matrix, and the Kalman gain) for this continuous-time system.b:By simulating the results in MATLAB software, plot the time variation curves of the estimated state variables ๐ฅhat_๐(๐กโฃ๐ก) and the estimation error covariance matrix as functions of time.c:By varying the values of the initial condition covariance, output noise covariance, and input disturbance covariances, examine their effects on the system response.
Discrete-time system:
a:Using MATLAB simulation, plot the time response of the estimated state variables ๐ฅhat_๐(๐กโฃ๐ก) and the estimation error covariance matrix.b:By varying the values of the initial condition covariance, output noise covariance, and disturbance input covariances, examine their effects on the response of the discrete-time system.
Description:
The Figure shows a two-degree-of-freedom model of a quarter-car active suspension system.
a:Design a linear quadratic optimal controller for this system that minimizes the following cost function.b:Simulate the behavior of the optimal control system in MATLAB and plot all state variables, inputs, and outputs as functions of time.c:Simulate the passive suspension system and plot the systemโs state variables over time. Determine the peak response values and the settling time.d:Simulate the active suspension system and plot the systemโs state variables over time. Determine the peak response values and settling time.e:Design a Kalman filter estimator for the passive suspension system, then simulate the system and plot the state variables over time.