Skip to content

SahandTerami/ModernControl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“˜ Modern Control 2

This repository contains projects from the Modern Control 2 course.

๐Ÿ“ Directory Structure

  • 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!

๐ŸŽฏ Purposes

  • 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.

๐Ÿง  Technical Notes

  • All code is written in MATLAB/Simulink.

๐Ÿ› ๏ธ Project 1

Description:

The system dynamic equations are given as follows:

image

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:

image

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:

image

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.

๐Ÿ› ๏ธ Project 2

Description:

The Figure shows a two-degree-of-freedom model of a quarter-car active suspension system.

image
  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages