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