Skip to content

mtrivedi09/Inverted_Pendulum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Inverted Pendulum

The purpose of this project is to apply controls theory to balance and stabilize an inverted pendulum. The apparatus used is a rotary inverted pendulum manufactured by Quanser. The following parameters are determined in the system:

Controllability and Observability of the system.

The gain if the system has state-feedback based on a time costraint to stabalize.

Gain margin - point where the LTI system loses its asymptotic stability.

Designing a state-feedback and output-feedback system which follows a constant and variable command.

In this project task, we focus on the command following problem for two types of systems.

1) STATE-FEEDBACK SYSTEM

In particular, assume that the state vector π‘₯(𝑑) is available for feedback. Design a state-feedback control structure of your choice in order to make πœƒ(𝑑) to follow the time-varying command 𝑐 𝑑 = cos (𝛽𝑑). Here, consider that the initial condition is π‘₯: = [0 0 0 0]^T. In your design, you must satisfy the following requirements:

a. πœƒ(𝑑) needs to converge to command 𝑐 around 𝑇 seconds, where 1.5 < 𝑇 < 3. πœƒ(𝑑) can make some acceptable level of oscillations, but not excessive (i.e., try your best to avoid oscillations as much as you can, significant oscillations are not acceptable for πœƒ(𝑑)).

b. 𝛼(𝑑) needs to converge to zero around 𝑇 seconds, where 0.5 < 𝑇 < 4.

c. Control signal 𝑒(𝑑) needs to stay between -20 and 20 volts (i.e., βˆ’20 ≀ 𝑒 𝑑 ≀ 20).

2) OUTPUT-FEEDBACK SYSTEM

Specifically, design an output-feedback control structure of your choice in order to make πœƒ(𝑑) to follow the constant command 𝑐 = 1.5 radians. Here, consider that the initial condition is π‘₯: = [0.02 0.04 βˆ’ 0.02 βˆ’ 0.04]^T. In your design, you must satisfy the following requirements:

a. πœƒ(𝑑) needs to converge to command 𝑐 around 𝑇 seconds, where 1.5 < 𝑇 < 3. πœƒ(𝑑) can make some acceptable level of oscillations, but not excessive (i.e., try your best to avoid oscillations as much as you can, significant oscillations are not acceptable for πœƒ(𝑑)).

b. 𝛼(𝑑) needs to converge to zero around 𝑇 seconds, where 0.5 < 𝑇 < 4.

c. Control signal 𝑒(𝑑) needs to stay between -20 and 20 volts (i.e., βˆ’20 ≀ 𝑒 𝑑 ≀ 20).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages