User Tools

Site Tools


lego_rip_modeling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lego_rip_modeling [2016/04/30 17:40] – created joaomatoslego_rip_modeling [2017/07/21 15:37] (current) joaomatos
Line 1: Line 1:
-.+===== System Modeling ===== 
 + 
 +After following this tutorial you will be able to find the full state feedback gains to be used on the NQC Code to control your Lego Rotary Inverted Pendulum. 
 + 
 +The first derivation is for the virtual simulation using Simulink - The output is the Torque. The second derivation is for your real project , that will use the DC-motor voltage as output. 
 + 
 +**References** 
 +[[http://www.saadat.us/download/3_Inverted_Pendulum_Project.pdf|[1]]] 
 +[[http://engineering.nyu.edu/mechatronics/Control_Lab/ROTPEN_SE.pdf|[2]]] 
 +[[http://file.scirp.org/pdf/WJET_2015052217370851.pdf|[3]]] 
 +[[http://www.nt.ntnu.no/users/skoge/prost/proceedings/ifac11-proceedings/data/html/papers/2933.pdf|[4]]] 
 +[[http://www.iop.vast.ac.vn/theor/conferences/nctp/proc/37/243-249.pdf|[5]]] 
 + 
 + 
 +**You can find the Matlab Script to run the [K] matrix calculation here ** 
 +{{:rip_kit.rar|}} 
 + 
 + 
 +---- 
 + 
 +===== Derivation for Simulink Simulation ===== 
 + 
 +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_sim1.jpg |}} 
 +{{ ::rip_der_sim2.jpg |}} 
 +{{ ::rip_der_sim3.jpg |}} 
 +{{ ::rip_der_sim4.jpg |}} 
 +{{ ::rip_der_sim5.jpg |}} 
 +{{ ::rip_der_sim6.jpg |}} 
 +{{ ::rip_der_sim7.jpg |}} 
 +{{ ::rip_der_sim8.jpg |}} 
 +{{ ::rip_der_sim9.jpg |}} 
 + 
 + 
 +---- 
 + 
 +===== Derivation for Real Project ===== 
 + 
 + 
 +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_der_real1.jpg |}} 
 +{{ ::rip_der_real2.jpg |}} 
 +{{ ::rip_der_real3.jpg |}} 
 +{{ ::rip_der_real4.jpg |}} 
 +{{ ::rip_der_real5.jpg |}} 
 +{{ ::rip_der_real6.jpg |}} 
 +{{ ::rip_der_real7.jpg |}} 
 +{{ ::rip_der_real8.jpg |}} 
 +{{ ::rip_der_real9.jpg |}} 
 +{{ ::rip_der_real10.jpg |}} 
 +{{ ::rip_der_real11.jpg |}} 
 +{{ ::rip_der_real12.jpg |}} 
 +{{ ::rip_der_real13.jpg |}} 
 + 
 +{{ ::rip_der_real14.jpg |}} 
 +{{ ::rip_der_real15.jpg |}} 
 +{{ ::rip_der_real16.jpg |}} 
 + 
 + 
lego_rip_modeling.1462063236.txt.gz · Last modified: by joaomatos