lego_rip_modeling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lego_rip_modeling [2016/04/30 18:10] – joaomatos | lego_rip_modeling [2017/07/21 15:37] (current) – joaomatos | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **SYSTEM MODELING** | + | ===== System Modeling ===== |
- | This section is divided as following: | + | After following |
- | * SELECTING THE CONTROL METHOD | + | The first derivation is for the virtual simulation using Simulink |
- | * STATE-SPACE REPRESENTATION | + | |
- | * FINDING THE STATE-SPACE REPRESENTATION | + | |
- | * CALCULATING THE OPTIMAL GAIN MATRIX USING MATLAB | + | |
- | After reading this steps , you will find the full state feedback gains to be used on the NQC Code to control our Rotary Inverted Pendulum. | + | **References** |
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
- | ---- | ||
+ | **You can find the Matlab Script to run the [K] matrix calculation here ** | ||
+ | {{: | ||
- | **SELECTING THE CONTROL METHOD - FULL STATE FEEDBACK USING LQR** | ||
- | |||
- | {{:: | ||
---- | ---- | ||
- | **STATE-SPACE REPRESENTATION ** | + | ===== Derivation for Simulink Simulation ===== |
- | {{::rip_pap_2.jpg?direct|}} | + | Use this derivation if you want to simulate the system virtually trough Simulink. This derivation will neglect the friction in the motor rotation , friction in the pendulum rotation and will USE TORQUE as input to the state-space representation . The real model , have rotation friction , and use Voltage in the DC motor as input ( you can find this derivation on this same page). |
+ | |||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | {{ ::rip_der_sim9.jpg |}} | ||
- | {{:: | ||
---- | ---- | ||
- | **FINDING THE STATE-SPACE REPRESENTATION ** | + | ===== Derivation for Real Project ===== |
- | {{::rip_pap4.jpg?direct|}} | + | |
- | {{::rip_pap5.jpg?direct|}} | + | This derivation is closer to reality the output from the state-space representation is the DC voltage, that is applied to the Lego Motor. |
- | {{::rip_pap6.jpg?direct|}} | + | |
- | {{::rip_pap7.jpg?direct|}} | + | {{ ::rip_der_real1.jpg |}} |
- | {{::rip_pap8.jpg?direct|}} | + | {{ ::rip_der_real2.jpg |}} |
- | {{::rip_pap9.jpg?direct|}} | + | {{ ::rip_der_real3.jpg |}} |
- | {{::rip_pap10.jpg?direct|}} | + | {{ ::rip_der_real4.jpg |}} |
- | {{::rip_pap11.jpg?direct|}} | + | {{ ::rip_der_real5.jpg |}} |
- | {{::rip_pap12.jpg?direct|}} | + | {{ ::rip_der_real6.jpg |}} |
- | {{::rip_pap13.jpg?direct|}} | + | {{ ::rip_der_real7.jpg |}} |
- | {{::rip_pap14.jpg?direct|}} | + | {{ ::rip_der_real8.jpg |}} |
- | {{::rip_pap15.jpg?direct|}} | + | {{ ::rip_der_real9.jpg |}} |
- | {{::rip_pap16.jpg?direct|}} | + | {{ ::rip_der_real10.jpg |}} |
+ | {{ ::rip_der_real11.jpg |}} | ||
+ | {{ :: | ||
+ | {{ :: | ||
+ | |||
+ | {{ :: | ||
+ | {{ ::rip_der_real15.jpg |}} | ||
+ | {{ ::rip_der_real16.jpg |}} | ||
- | ---- | ||
- | **CALCULATING THE OPTIMAL GAIN MATRIX USING MATLAB** | ||
- | {{:: | ||
- | {{:: | ||
- | {{:: | ||
- | {{:: |
lego_rip_modeling.1462065010.txt.gz · Last modified: by joaomatos